Documentation ¶
Index ¶
- type Client
- func (c *Client) Create(ctx context.Context, projectName generated.ProjectNameParameter, ...) error
- func (c *Client) Delete(ctx context.Context, projectName generated.ProjectNameParameter, ...) error
- func (c *Client) GetKubeconfig(ctx context.Context, projectName generated.ProjectNameParameter, ...) ([]byte, error)
- func (c *Client) List(ctx context.Context) ([]*generated.KubernetesCluster, error)
- func (c *Client) Update(ctx context.Context, projectName generated.ProjectNameParameter, ...) error
- type Options
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
}
Client wraps up cluster related management handling.
func (*Client) Create ¶
func (c *Client) Create(ctx context.Context, projectName generated.ProjectNameParameter, controlPlaneName generated.ControlPlaneNameParameter, options *generated.KubernetesCluster) error
Create creates the implicit cluster indentified by the JTW claims.
func (*Client) Delete ¶
func (c *Client) Delete(ctx context.Context, projectName generated.ProjectNameParameter, controlPlaneName generated.ControlPlaneNameParameter, name generated.ClusterNameParameter) error
Delete deletes the implicit cluster indentified by the JTW claims.
func (*Client) GetKubeconfig ¶
func (c *Client) GetKubeconfig(ctx context.Context, projectName generated.ProjectNameParameter, controlPlaneName generated.ControlPlaneNameParameter, name generated.ClusterNameParameter) ([]byte, error)
GetKubeconfig returns the kubernetes configuation associated with a cluster.
func (*Client) Update ¶
func (c *Client) Update(ctx context.Context, projectName generated.ProjectNameParameter, controlPlaneName generated.ControlPlaneNameParameter, name generated.ClusterNameParameter, request *generated.KubernetesCluster) error
Update implements read/modify/write for the cluster.
Click to show internal directories.
Click to hide internal directories.