Documentation ¶
Index ¶
- type Client
- func (c *Client) Create(ctx context.Context, ctp types.NamespacedName, opts controlplane.Options) (*controlplane.Response, error)
- func (c *Client) Delete(ctx context.Context, ctp types.NamespacedName) error
- func (c *Client) Get(ctx context.Context, ctp types.NamespacedName) (*controlplane.Response, error)
- func (c *Client) GetKubeConfig(ctx context.Context, ctp types.NamespacedName) (*api.Config, error)
- func (c *Client) List(ctx context.Context, namespace string) ([]*controlplane.Response, error)
- type Option
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 Upbound Cloud.
func (*Client) Create ¶
func (c *Client) Create(ctx context.Context, ctp types.NamespacedName, opts controlplane.Options) (*controlplane.Response, error)
Create a new ControlPlane with the given name and the supplied Options.
func (*Client) Get ¶
func (c *Client) Get(ctx context.Context, ctp types.NamespacedName) (*controlplane.Response, error)
Get the ControlPlane corresponding to the given ControlPlane name.
func (*Client) GetKubeConfig ¶
GetKubeConfig for the given Control Plane.
Click to show internal directories.
Click to hide internal directories.