Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessTokenGetter ¶ added in v0.1.45
type AccessTokenGetter interface {
Get() string
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps up the raw OpenAPI client with things to make it useable e.g. authorization and TLS.
func New ¶
func New(client client.Client, options *Options, clientOptions *coreclient.HTTPClientOptions) *Client
New creates a new client.
func (*Client) Client ¶
func (c *Client) Client(ctx context.Context, accessToken AccessTokenGetter) (*openapi.ClientWithResponses, error)
Client returns a new OpenAPI client that can be used to access the API.
type Options ¶ added in v0.1.7
type Options = coreclient.HTTPOptions
func NewOptions ¶ added in v0.1.33
func NewOptions() *Options
NewOptions must be used to create options for consistency.
Click to show internal directories.
Click to hide internal directories.