Documentation
¶
Index ¶
- type Client
- func (c *Client) CreateUser(ctx context.Context, id string, input CreateUserInput) (CreateUserResponse, error)
- func (c *Client) GetManagedCluster(ctx context.Context, orgSlug string, id string) (GetManagedClusterResponse, error)
- func (c *Client) GetManagedClusterById(ctx context.Context, id string) (GetManagedClusterResponse, error)
- func (c *Client) ListManagedClusters(ctx context.Context, orgSlug string) (ListManagedClustersResponse, error)
- type CreateUserInput
- type CreateUserResponse
- type DetailedErrors
- type GetManagedClusterPasswordResponse
- type GetManagedClusterResponse
- type ListManagedClustersResponse
- type ManagedCluster
- type ManagedClusterIpAssignments
- type NewClientOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewWithOptions ¶
func NewWithOptions(ctx context.Context, opts NewClientOpts) (*Client, error)
func (*Client) CreateUser ¶ added in v0.3.99
func (c *Client) CreateUser(ctx context.Context, id string, input CreateUserInput) (CreateUserResponse, error)
func (*Client) GetManagedCluster ¶
func (*Client) GetManagedClusterById ¶ added in v0.3.99
func (*Client) ListManagedClusters ¶
type CreateUserInput ¶ added in v0.3.99
type CreateUserResponse ¶ added in v0.3.99
type CreateUserResponse struct { ConnectionUri string `json:"connection_uri"` Ok bool `json:"ok"` Errors DetailedErrors `json:"errors"` }
type DetailedErrors ¶ added in v0.3.99
type DetailedErrors struct {
Detail string `json:"detail"`
}
type GetManagedClusterResponse ¶
type GetManagedClusterResponse struct { Data ManagedCluster `json:"data"` Password GetManagedClusterPasswordResponse `json:"password"` }
type ListManagedClustersResponse ¶
type ListManagedClustersResponse struct {
Data []ManagedCluster `json:"data"`
}
type ManagedCluster ¶
type ManagedClusterIpAssignments ¶
type ManagedClusterIpAssignments struct {
Direct string `json:"direct"`
}
type NewClientOpts ¶
Click to show internal directories.
Click to hide internal directories.