Help us shape the future of Go! Take the 2026 Go Developer Survey

cluster

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: MPL-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAddCmd

func NewAddCmd(globalFlags *proflags.GlobalFlags) *cobra.Command

NewAddCmd creates a new command.

func NewClusterCmd

func NewClusterCmd(globalFlags *proflags.GlobalFlags) *cobra.Command

NewClusterCmd builds the 'devsy pro cluster' parent command for managing Pro clusters.

func NewListCmd

func NewListCmd(globalFlags *flags.GlobalFlags) *cobra.Command

NewListCmd creates a new command.

Types

type ClusterCmd

type ClusterCmd struct {
	*proflags.GlobalFlags

	Namespace        string
	ServiceAccount   string
	DisplayName      string
	KubeContext      string
	Insecure         bool
	Wait             bool
	HelmChartPath    string
	HelmChartVersion string
	HelmSet          []string
	HelmValues       []string
	Host             string
}

func (*ClusterCmd) Run

func (cmd *ClusterCmd) Run(ctx context.Context, args []string) error

type ListClustersCmd

type ListClustersCmd struct {
	*flags.GlobalFlags

	Host    string
	Project string
}

ListClustersCmd holds the cmd flags.

func (*ListClustersCmd) Run

func (cmd *ListClustersCmd) Run(
	ctx context.Context,
	devsyConfig *config.Config,
	provider *provider.ProviderConfig,
) error

Jump to

Keyboard shortcuts

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