controlplane

package
v0.32.1 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EmptyControlPlaneConfiguration added in v0.25.0

func EmptyControlPlaneConfiguration() cp.ControlPlaneConfiguration

EmptyControlPlaneConfiguration returns an empty ControlPlaneConfiguration with default values.

func PredictControlPlanes added in v0.25.0

func PredictControlPlanes() complete.Predictor

Types

type Cmd added in v0.25.0

type Cmd struct {
	Create createCmd `cmd:"" help:"Create a managed control plane."`
	Delete deleteCmd `cmd:"" help:"Delete a control plane."`
	List   listCmd   `cmd:"" help:"List control planes for the account."`
	Get    getCmd    `cmd:"" help:"Get a single control plane."`

	Connector connector.Cmd `cmd:"" help:"Connect an App Cluster to a managed control plane."`

	Configuration pkg.Cmd `cmd:"" set:"package_type=Configuration" help:"Manage Configurations."`
	Provider      pkg.Cmd `cmd:"" set:"package_type=Provider" help:"Manage Providers."`

	PullSecret pullsecret.Cmd `cmd:"" help:"Manage package pull secrets."`

	// Deprecated commands
	Connect    connectCmd    `cmd:"" help:"Deprecated: Connect kubectl to control plane."`
	Disconnect disconnectCmd `cmd:"" help:"Deprecated: Disconnect kubectl from control plane."`

	// Common Upbound API configuration
	Flags upbound.Flags `embed:""`
}

Cmd contains commands for interacting with control planes.

func (*Cmd) AfterApply added in v0.25.0

func (c *Cmd) AfterApply(kongCtx *kong.Context) error

AfterApply constructs and binds a control plane client to any subcommands that have Run() methods that receive it.

func (*Cmd) BeforeReset added in v0.25.0

func (c *Cmd) BeforeReset(p *kong.Path, maturity feature.Maturity) error

BeforeReset is the first hook to run.

func (*Cmd) Help added in v0.25.0

func (c *Cmd) Help() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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