create

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: Apache-2.0 Imports: 32 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 AccessKeyCmd added in v0.26.0

type AccessKeyCmd struct {
	*flags.GlobalFlags

	ExpireAfter  string
	VClusterRole bool

	InCluster bool

	DisplayName string
	User        string

	Log log.Logger
}

func (*AccessKeyCmd) Run added in v0.26.0

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

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