youtrack

package
v0.0.0-...-c479c6e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2023 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HttpClient *http.Client
View Source
var UrlBase *string

Functions

func Provider

func Provider() terraform.ResourceProvider

Types

type Api

type Api struct {
	ApiVersion string
	// BaseURL is the URL to the REST API endpoint for a YouTrack Project. It should
	// end is a slash. For example: https://goyt.myjetbrains.com/youtrack/api/
	BaseURL *url.URL

	// Token is the permanent token used to make authenticated requests.
	// For more information, see:
	// https://www.jetbrains.com/help/youtrack/incloud/authentication-with-permanent-token.html
	Token string

	// EnableTracing turns on extra logging, including HTTP request/response logging.
	// NOTE that the authorization token will be logged when this is enabled.
	EnableTracing bool
}

type Client

type Client struct {
	BaseUrl *url.URL
	// contains filtered or unexported fields
}

func NewClient

func NewClient(h http.Header, hostname, version string) *Client

type ProviderClient

type ProviderClient struct {
	ApiVersion string
	Hostname   string
	Client     *Client
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL