create

package
v0.21.0-alpha.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCreateCmd

func NewCreateCmd(globalFlags *flags.GlobalFlags, defaults *pdefaults.Defaults) *cobra.Command

NewCreateCmd creates a new cobra command

Types

type NamespaceCmd

type NamespaceCmd struct {
	*flags.GlobalFlags

	SleepAfter                   int64
	DeleteAfter                  int64
	Cluster                      string
	Project                      string
	CreateContext                bool
	SwitchContext                bool
	DisableDirectClusterEndpoint bool
	Template                     string
	TemplateVersion              string
	Set                          []string
	ParametersFile               string
	SkipWait                     bool

	UseExisting bool
	Recreate    bool
	Update      bool

	DisplayName string
	Description string
	Links       []string
	Annotations []string
	Labels      []string

	User string
	Team string

	Log log.Logger
}

NamespaceCmd holds the cmd flags

func (*NamespaceCmd) Run

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

Run executes the command

type VClusterCmd

type VClusterCmd struct {
	*flags.GlobalFlags
	cli.CreateOptions
	// contains filtered or unexported fields
}

VClusterCmd holds the cmd flags

func (*VClusterCmd) Run

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

Run executes the functionality

Jump to

Keyboard shortcuts

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