Documentation ¶
Index ¶
Constants ¶
View Source
const MasterConfigCheckName = "MasterConfigCheck"
View Source
const NodeConfigCheckName = "NodeConfigCheck"
Variables ¶
This section is empty.
Functions ¶
func GetMasterConfig ¶
func GetMasterConfig(r types.DiagnosticResult, masterConfigFile string) (*configapi.MasterConfig, error)
Types ¶
type MasterConfigCheck ¶
type MasterConfigCheck struct {
MasterConfigFile string
}
MasterConfigCheck is a Diagnostic to check that the master config file is valid
func (MasterConfigCheck) CanRun ¶
func (d MasterConfigCheck) CanRun() (bool, error)
func (MasterConfigCheck) Check ¶
func (d MasterConfigCheck) Check() types.DiagnosticResult
func (MasterConfigCheck) Description ¶
func (d MasterConfigCheck) Description() string
func (MasterConfigCheck) Name ¶
func (d MasterConfigCheck) Name() string
type NodeConfigCheck ¶
type NodeConfigCheck struct {
NodeConfigFile string
}
NodeConfigCheck is a Diagnostic to check that the node config file is valid
func (NodeConfigCheck) CanRun ¶
func (d NodeConfigCheck) CanRun() (bool, error)
func (NodeConfigCheck) Check ¶
func (d NodeConfigCheck) Check() types.DiagnosticResult
func (NodeConfigCheck) Description ¶
func (d NodeConfigCheck) Description() string
func (NodeConfigCheck) Name ¶
func (d NodeConfigCheck) Name() string
Click to show internal directories.
Click to hide internal directories.