Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdPodNodeMatrix ¶
func NewCmdPodNodeMatrix(streams genericclioptions.IOStreams) *cobra.Command
NewCmdPodNodeMatrix provides a cobra command wrapping PodNodeMatrixOptions
Types ¶
type PodNodeMatrixOptions ¶
type PodNodeMatrixOptions struct { genericclioptions.IOStreams // contains filtered or unexported fields }
PodNodeMatrixOptions provides information required to show the pod node matrix.
func NewPodNodeMatrixOptions ¶
func NewPodNodeMatrixOptions(streams genericclioptions.IOStreams) *PodNodeMatrixOptions
NewPodNodeMatrixOptions provides an instance of PodNodeMatrixOptions with default values.
func (*PodNodeMatrixOptions) Complete ¶
func (o *PodNodeMatrixOptions) Complete() error
Complete sets all information required to show pod node matrix
func (*PodNodeMatrixOptions) Print ¶
func (o *PodNodeMatrixOptions) Print(pods []v1.Pod, nm map[string]nodeWrap, nodeNames []string) error
Print prints table view with colors to emphasize results
func (*PodNodeMatrixOptions) Run ¶
func (o *PodNodeMatrixOptions) Run() error
Run shows pod-node matrix according to the given parameters
func (*PodNodeMatrixOptions) Validate ¶
func (o *PodNodeMatrixOptions) Validate(args []string) error
Validate ensures that all required arguments and flag values are provided
Click to show internal directories.
Click to hide internal directories.