Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) Create(ctx context.Context, organizationID, projectID string, ...) (*unikornv1.ClusterManager, error)
- func (c *Client) CreateImplicit(ctx context.Context, organizationID, projectID string) (*unikornv1.ClusterManager, error)
- func (c *Client) Delete(ctx context.Context, organizationID, projectID, clusterManagerID string) error
- func (c *Client) List(ctx context.Context, organizationID string) (openapi.ClusterManagers, error)
- func (c *Client) Update(ctx context.Context, organizationID, projectID, clusterManagerID string, ...) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrResourceDeleting is raised when the resource is being deleted. ErrResourceDeleting = goerrors.New("resource is being deleted") // ErrNamespaceUnset is raised when the namespace hasn't been created // yet. ErrNamespaceUnset = goerrors.New("resource namespace is unset") // ErrApplicationBundle is raised when no suitable application // bundle is found. ErrApplicationBundle = goerrors.New("no application bundle found") )
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps up control plane related management handling.
func (*Client) Create ¶
func (c *Client) Create(ctx context.Context, organizationID, projectID string, request *openapi.ClusterManagerWrite) (*unikornv1.ClusterManager, error)
Create creates a control plane.
func (*Client) CreateImplicit ¶
func (c *Client) CreateImplicit(ctx context.Context, organizationID, projectID string) (*unikornv1.ClusterManager, error)
CreateImplicit is called when a cluster creation call is made and a control plane is not specified.
func (*Client) Delete ¶
func (c *Client) Delete(ctx context.Context, organizationID, projectID, clusterManagerID string) error
Delete deletes the control plane.
Click to show internal directories.
Click to hide internal directories.