Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) Create(ctx context.Context, organizationID, projectID string, ...) (*openapi.ComputeClusterRead, error)
- func (c *Client) Delete(ctx context.Context, organizationID, projectID, clusterID string) error
- func (c *Client) List(ctx context.Context, organizationID string) (openapi.ComputeClusters, error)
- func (c *Client) Update(ctx context.Context, organizationID, projectID, clusterID string, ...) error
- type Options
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrResourceLookup = goerrors.New("could not find the requested resource")
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps up cluster related management handling.
func NewClient ¶
func NewClient(client client.Client, namespace string, options *Options, region regionapi.ClientWithResponsesInterface) *Client
NewClient returns a new client with required parameters.
func (*Client) Create ¶
func (c *Client) Create(ctx context.Context, organizationID, projectID string, request *openapi.ComputeClusterWrite) (*openapi.ComputeClusterRead, error)
Create creates the implicit cluster indentified by the JTW claims.
Click to show internal directories.
Click to hide internal directories.