Documentation ¶
Overview ¶
Package validate is used to validate the basic environment for onexctl to run.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( StatusPass = color.GreenString("Pass") StatusFail = color.RedString("Fail") )
Functions ¶
func NewCmdValidate ¶
NewCmdValidate returns new initialized instance of 'validate' sub command.
Types ¶
type ValidateInfo ¶
ValidateInfo defines the validate information.
func NewPassValidateInfo ¶
func NewPassValidateInfo(check string) ValidateInfo
func (ValidateInfo) Data ¶
func (vi ValidateInfo) Data() []string
type ValidateOptions ¶
type ValidateOptions struct { genericclioptions.IOStreams // contains filtered or unexported fields }
ValidateOptions is an options struct to support 'validate' sub command.
func NewValidateOptions ¶
func NewValidateOptions(ioStreams genericclioptions.IOStreams) *ValidateOptions
NewValidateOptions returns an initialized ValidateOptions instance.
Click to show internal directories.
Click to hide internal directories.