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) GetMetadata(ctx context.Context, organizationName, projectName, name string) (*Meta, error)
- func (c *Client) GetOrCreateMetadata(ctx context.Context, organizationName, projectName, name string) (*Meta, error)
- func (c *Client) List(ctx context.Context, organizationName string) (generated.ClusterManagers, error)
- func (c *Client) Update(ctx context.Context, organizationName, projectName, name string, ...) error
- type Meta
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, organizationName, projectName string, request *generated.ClusterManagerSpec) error
Create creates a control plane.
func (*Client) GetMetadata ¶
func (c *Client) GetMetadata(ctx context.Context, organizationName, projectName, name string) (*Meta, error)
GetMetadata retrieves the control plane metadata.
func (*Client) GetOrCreateMetadata ¶
type Meta ¶
type Meta struct { // Project is the owning project's metadata. Project *project.Meta // Name is the project's Kubernetes name, so a higher level resource // can reference it. Name string // Deleting tells us if we should allow new child objects to be created // in this resource's namespace. Deleting bool }
Meta describes the control plane.
Click to show internal directories.
Click to hide internal directories.