clusterinfo

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClusterInfoCmd

func NewClusterInfoCmd() *cobra.Command

NewClusterInfoCmd generates a new cluster-info command

Types

type ClusterInfoOptions

type ClusterInfoOptions struct {
	CloudNodes   []string
	EdgeNodes    []string
	ClusterNodes []string
	OtherNodes   []string
	// contains filtered or unexported fields
}

ClusterInfoOptions has the information that required by cluster-info operation

func NewClusterInfoOptions

func NewClusterInfoOptions() *ClusterInfoOptions

NewClusterInfoOptions creates a new ClusterInfoOptions

func (*ClusterInfoOptions) Complete

func (o *ClusterInfoOptions) Complete(flags *pflag.FlagSet) error

Complete completes all the required options

func (*ClusterInfoOptions) Run

func (o *ClusterInfoOptions) Run() (err error)

func (*ClusterInfoOptions) Validate

func (o *ClusterInfoOptions) Validate() error

Validate makes sure provided values for ClusterInfoOptions are valid

Jump to

Keyboard shortcuts

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