flags

package
v4.0.0-...-0b0cad2 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 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
	GCP       common.GCPConfig
	OpenStack common.OpenStackConfig
	VSphere   common.VSphereConfig
	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