Documentation

Index

Constants

View Source
const StatusRecommendedName = "status"

StatusRecommendedName is the recommended command name.

Variables

This section is empty.

Functions

func NewCmdStatus

func NewCmdStatus(name, baseCLIName, fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command

NewCmdStatus implements the OpenShift cli status command. baseCLIName is the path from root cmd to the parent of this cmd.

Types

type StatusOptions

type StatusOptions struct {
	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

StatusOptions contains all the necessary options for the Openshift cli status command.

func NewStatusOptions

func NewStatusOptions(streams genericclioptions.IOStreams) *StatusOptions

func (*StatusOptions) Complete

func (o *StatusOptions) Complete(f kcmdutil.Factory, cmd *cobra.Command, baseCLIName string, args []string) error

Complete completes the options for the Openshift cli status command.

func (StatusOptions) RunStatus

func (o StatusOptions) RunStatus() error

RunStatus contains all the necessary functionality for the OpenShift cli status command.

func (StatusOptions) Validate

func (o StatusOptions) Validate() error

Validate validates the options for the Openshift cli status command.

Source Files