flags

package
v5.0.0-...-cd9edcd Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagAWSPrivateSubnetMask = "private-subnet-size"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Flag

type Flag struct {
	Provider          string
	ManagementCluster string
	PreventDeletion   bool

	// Common.
	ControlPlaneAZ           []string
	Description              string
	GenerateName             bool
	KubernetesVersion        string
	Name                     string
	Output                   string
	Organization             string
	PodsCIDR                 string
	Release                  string
	Label                    []string
	Region                   string
	BastionInstanceType      string
	BastionReplicas          int
	ControlPlaneInstanceType string
	ServicePriority          string

	// Provider-specific
	AWS           common.AWSConfig
	Azure         common.AzureConfig
	VSphere       common.VSphereConfig
	CloudDirector common.CloudDirectorConfig
	App           common.AppConfig
	OIDC          common.OIDC

	Print *genericclioptions.PrintFlags
}

func (*Flag) Init

func (f *Flag) Init(cmd *cobra.Command)

func (*Flag) Validate

func (f *Flag) Validate(cmd *cobra.Command) error

Jump to

Keyboard shortcuts

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