Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd struct {
Dataplane DataplaneCmd `cmd:"" help:"Install a new dataplane."`
}
Cmd represents the install command group
type DataplaneCmd ¶
type DataplaneCmd struct {
Namespace string `short:"n" help:"Target namespace (default: 'default' for Kind clusters, current kubeconfig context for existing clusters)."`
// Hide flag for now.
WithKindCluster bool `default:"true" help:"Create a Kind cluster for the dataplane and set it as current context." hidden:""`
}
DataplaneCmd handles dataplane installation
func (*DataplaneCmd) Run ¶
func (c *DataplaneCmd) Run( ctx context.Context, cfg airbox.ConfigStore, httpClient http.HTTPDoer, apiFactory airbox.APIServiceFactory, helmFactory helm.Factory, clusterFactory k8s.ClusterFactory, ui ui.Provider, ) error
Run executes the install dataplane command
Click to show internal directories.
Click to hide internal directories.