space

package
v0.34.1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

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 is the client used for interacting with the ControlPlanes API in an Upbound Space.

func New

func New(c dynamic.Interface) *Client

New instantiates a new Client.

func (*Client) Create

Create a new ControlPlane with the given name and the supplied Options.

func (*Client) Delete

func (c *Client) Delete(ctx context.Context, ctp types.NamespacedName) error

Delete the ControlPlane corresponding to the given ControlPlane name.

func (*Client) Get

Get the ControlPlane corresponding to the given ControlPlane name.

func (*Client) GetKubeConfig

func (c *Client) GetKubeConfig(ctx context.Context, ctp types.NamespacedName) (*api.Config, error)

GetKubeConfig for the given Control Plane.

func (*Client) List

func (c *Client) List(ctx context.Context, namespace string) ([]*controlplane.Response, error)

List all ControlPlanes within the Space.

Jump to

Keyboard shortcuts

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