clustermanager

package
v0.2.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

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 NewClient

func NewClient(client client.Client) *Client

NewClient returns a new client with required parameters.

func (*Client) Create

func (c *Client) Create(ctx context.Context, organizationName, projectName string, request *generated.ClusterManagerSpec) error

Create creates a control plane.

func (*Client) CreateImplicit added in v0.2.0

func (c *Client) CreateImplicit(ctx context.Context, organizationName, projectName, name string) error

func (*Client) Delete

func (c *Client) Delete(ctx context.Context, organizationName, projectName, name string) error

Delete deletes the control plane.

func (*Client) List

func (c *Client) List(ctx context.Context, organizationName string) (generated.ClusterManagers, error)

List returns all control planes.

func (*Client) Update

func (c *Client) Update(ctx context.Context, organizationName, projectName, name string, request *generated.ClusterManagerSpec) error

Update implements read/modify/write for the control plane.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL