apiresourcescmd

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdAPIResources added in v0.0.15

func NewCmdAPIResources(f util.Factory, streams *genericclioptions.IOStreams) *cobra.Command

NewCmdApply returns a cobra command.

Types

type APIResourcesFlags added in v0.0.15

type APIResourcesFlags struct{}

func NewAPIResourcesFlags added in v0.0.15

func NewAPIResourcesFlags() *APIResourcesFlags

func (*APIResourcesFlags) AddFlags added in v0.0.15

func (r *APIResourcesFlags) AddFlags(cmd *cobra.Command)

AddFlags add flags to the command

func (*APIResourcesFlags) ToOptions added in v0.0.15

ToOptions renders the options based on the flags that were set and will be the base context used to run the command

type APIResourcesOptions added in v0.0.15

type APIResourcesOptions struct {
	Factory util.Factory
	Streams *genericclioptions.IOStreams
	Output  string
}

func (*APIResourcesOptions) Complete added in v0.0.15

func (r *APIResourcesOptions) Complete() error

Complete adapts from the command line args and validates them

func (*APIResourcesOptions) Run added in v0.0.15

func (*APIResourcesOptions) Validate added in v0.0.15

func (r *APIResourcesOptions) Validate() error

Jump to

Keyboard shortcuts

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