Documentation
¶
Index ¶
- func Initialize(httpConnect HTTPConnectable, baseURL, authToken string, ...) error
- type Client
- func (c *Client) ApplyAuthTokenToHeader(header *http.Header)
- func (c *Client) AuthToken() string
- func (c *Client) BaseURL() *url.URL
- func (c *Client) HTTPClient() *http.Client
- func (c *Client) SetAuthToken(authToken string)
- func (c *Client) SetBaseURL(url *url.URL)
- func (c *Client) SetHTTPClient(httpClient *http.Client)
- type HTTPConnectable
- type ListParams
- type ReturnValues
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
func Initialize(httpConnect HTTPConnectable, baseURL, authToken string, insecureSkipVerify bool) error
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ApplyAuthTokenToHeader ¶
func (*Client) HTTPClient ¶
func (*Client) SetAuthToken ¶
func (*Client) SetBaseURL ¶
func (*Client) SetHTTPClient ¶
type HTTPConnectable ¶
type ListParams ¶
type ListParams struct {
ID int
Name string
Q string
Limit int
OffSet int
ExcludeConfigContext bool
}
func (*ListParams) SetListParams ¶
func (p *ListParams) SetListParams(values *url.Values)
type ReturnValues ¶
Click to show internal directories.
Click to hide internal directories.