sleep

package
v0.21.0-alpha.9 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNamespaceCmd

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

NewNamespaceCmd creates a new command

func NewSleepCmd

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

NewSleepCmd creates a new cobra command

func NewVClusterCmd

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

NewVClusterCmd creates a new command

Types

type NamespaceCmd

type NamespaceCmd struct {
	*flags.GlobalFlags

	Project       string
	Cluster       string
	ForceDuration int64

	Log log.Logger
}

NamespaceCmd holds the cmd flags

func (*NamespaceCmd) Run

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

Run executes the functionality

type VClusterCmd

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

VClusterCmd holds the login cmd flags

func (*VClusterCmd) Run

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

Jump to

Keyboard shortcuts

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