Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) Create(ctx context.Context, organizationName, projectName string, ...) error
- func (c *Client) Delete(ctx context.Context, organizationName, projectName, name string) error
- func (c *Client) GetKubeconfig(ctx context.Context, organizationName, projectName, name string) ([]byte, error)
- func (c *Client) List(ctx context.Context, organizationName string) (generated.KubernetesClusters, error)
- func (c *Client) Update(ctx context.Context, organizationName, projectName, name 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 (*Client) Create ¶
func (c *Client) Create(ctx context.Context, organizationName, projectName string, options *generated.KubernetesClusterSpec) error
Create creates the implicit cluster indentified by the JTW claims.
func (*Client) GetKubeconfig ¶
func (c *Client) GetKubeconfig(ctx context.Context, organizationName, projectName, name string) ([]byte, error)
GetKubeconfig returns the kubernetes configuation associated with a cluster.
Click to show internal directories.
Click to hide internal directories.