cmd

package
v0.8.28 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version string

Functions

func NewDockerDesktopCommand added in v0.2.0

func NewDockerDesktopCommand() *cobra.Command

func NewRootCommand

func NewRootCommand() *cobra.Command

func NewSocatCommand added in v0.5.0

func NewSocatCommand() *cobra.Command

Types

type ApplyOptions

func NewApplyOptions

func NewApplyOptions() *ApplyOptions

func (*ApplyOptions) Command

func (o *ApplyOptions) Command() *cobra.Command

func (*ApplyOptions) Run

func (o *ApplyOptions) Run(cmd *cobra.Command, args []string)

type CreateClusterOptions added in v0.3.0

type CreateClusterOptions struct {
	*genericclioptions.PrintFlags
	genericclioptions.IOStreams

	Cluster *api.Cluster
}

func NewCreateClusterOptions added in v0.3.0

func NewCreateClusterOptions() *CreateClusterOptions

func (*CreateClusterOptions) Command added in v0.3.0

func (o *CreateClusterOptions) Command() *cobra.Command

func (*CreateClusterOptions) Run added in v0.3.0

func (o *CreateClusterOptions) Run(cmd *cobra.Command, args []string)

type CreateOptions added in v0.3.0

type CreateOptions struct {
	genericclioptions.IOStreams
}

func NewCreateOptions added in v0.3.0

func NewCreateOptions() *CreateOptions

func (*CreateOptions) Command added in v0.3.0

func (o *CreateOptions) Command() *cobra.Command

func (*CreateOptions) Run added in v0.3.0

func (o *CreateOptions) Run(cmd *cobra.Command, args []string)

type CreateRegistryOptions added in v0.3.0

type CreateRegistryOptions struct {
	*genericclioptions.PrintFlags
	genericclioptions.IOStreams

	Registry *api.Registry
}

func NewCreateRegistryOptions added in v0.3.0

func NewCreateRegistryOptions() *CreateRegistryOptions

func (*CreateRegistryOptions) Command added in v0.3.0

func (o *CreateRegistryOptions) Command() *cobra.Command

func (*CreateRegistryOptions) Run added in v0.3.0

func (o *CreateRegistryOptions) Run(cmd *cobra.Command, args []string)

type DeleteOptions

type DeleteOptions struct {
	*genericclioptions.PrintFlags
	*genericclioptions.FileNameFlags
	genericclioptions.IOStreams

	IgnoreNotFound bool
	Filenames      []string

	// We currently only support two modes - "true" and "false".
	// But we expect that there may be more modes in the future
	// (like what happened with kubectl delete --cascade).
	Cascade string
	// contains filtered or unexported fields
}

func NewDeleteOptions

func NewDeleteOptions() *DeleteOptions

func (*DeleteOptions) Command

func (o *DeleteOptions) Command() *cobra.Command

func (*DeleteOptions) Run

func (o *DeleteOptions) Run(cmd *cobra.Command, args []string)

type GetOptions

type GetOptions struct {
	*genericclioptions.PrintFlags
	genericclioptions.IOStreams
	StartTime      time.Time
	IgnoreNotFound bool
	FieldSelector  string
}

func NewGetOptions

func NewGetOptions() *GetOptions

func (*GetOptions) Command

func (o *GetOptions) Command() *cobra.Command

func (*GetOptions) OutputFlagSpecified

func (o *GetOptions) OutputFlagSpecified() bool

func (*GetOptions) Print

func (o *GetOptions) Print(obj runtime.Object) error

func (*GetOptions) Run

func (o *GetOptions) Run(cmd *cobra.Command, args []string)

func (*GetOptions) ToPrinter

func (o *GetOptions) ToPrinter() (printers.ResourcePrinter, error)

Jump to

Keyboard shortcuts

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