Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClusterInfoCmd ¶
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
Click to show internal directories.
Click to hide internal directories.