Documentation ¶
Index ¶
Constants ¶
View Source
const (
ClusterRegistryName = "ClusterRegistry"
)
View Source
const (
ClusterRoleBindingsName = "ClusterRoleBindings"
)
View Source
const (
ClusterRolesName = "ClusterRoles"
)
View Source
const (
ClusterRouterName = "ClusterRouter"
)
View Source
const MasterNodeName = "MasterNode"
View Source
const NodeDefinitionsName = "NodeDefinitions"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterRegistry ¶
type ClusterRegistry struct { KubeClient *kclient.Client OsClient *osclient.Client PreventModification bool }
ClusterRegistry is a Diagnostic to check that there is a working Docker registry.
func (*ClusterRegistry) CanRun ¶
func (d *ClusterRegistry) CanRun() (bool, error)
func (*ClusterRegistry) Check ¶
func (d *ClusterRegistry) Check() types.DiagnosticResult
func (*ClusterRegistry) Description ¶
func (d *ClusterRegistry) Description() string
func (*ClusterRegistry) Name ¶
func (d *ClusterRegistry) Name() string
type ClusterRoleBindings ¶ added in v1.0.7
type ClusterRoleBindings struct { ClusterRoleBindingsClient osclient.ClusterRoleBindingsInterface SARClient osclient.SubjectAccessReviews }
ClusterRoleBindings is a Diagnostic to check that the default cluster role bindings match expectations
func (*ClusterRoleBindings) CanRun ¶ added in v1.0.7
func (d *ClusterRoleBindings) CanRun() (bool, error)
func (*ClusterRoleBindings) Check ¶ added in v1.0.7
func (d *ClusterRoleBindings) Check() types.DiagnosticResult
func (*ClusterRoleBindings) Description ¶ added in v1.0.7
func (d *ClusterRoleBindings) Description() string
func (*ClusterRoleBindings) Name ¶ added in v1.0.7
func (d *ClusterRoleBindings) Name() string
type ClusterRoles ¶ added in v1.0.7
type ClusterRoles struct { ClusterRolesClient osclient.ClusterRolesInterface SARClient osclient.SubjectAccessReviews }
ClusterRoles is a Diagnostic to check that the default cluster roles match expectations
func (*ClusterRoles) CanRun ¶ added in v1.0.7
func (d *ClusterRoles) CanRun() (bool, error)
func (*ClusterRoles) Check ¶ added in v1.0.7
func (d *ClusterRoles) Check() types.DiagnosticResult
func (*ClusterRoles) Description ¶ added in v1.0.7
func (d *ClusterRoles) Description() string
func (*ClusterRoles) Name ¶ added in v1.0.7
func (d *ClusterRoles) Name() string
type ClusterRouter ¶
ClusterRouter is a Diagnostic to check that there is a working router.
func (*ClusterRouter) CanRun ¶
func (d *ClusterRouter) CanRun() (bool, error)
func (*ClusterRouter) Check ¶
func (d *ClusterRouter) Check() types.DiagnosticResult
func (*ClusterRouter) Description ¶
func (d *ClusterRouter) Description() string
func (*ClusterRouter) Name ¶
func (d *ClusterRouter) Name() string
type MasterNode ¶ added in v1.0.7
type MasterNode struct { KubeClient *kclient.Client OsClient *osclient.Client ServerUrl string MasterConfigFile string // may often be empty if not being run on the host }
MasterNode is a Diagnostic for checking that the OpenShift master is also running as node. This is currently required to have the master on the Open vSwitch SDN and able to communicate with other nodes.
func (*MasterNode) CanRun ¶ added in v1.0.7
func (d *MasterNode) CanRun() (bool, error)
func (*MasterNode) Check ¶ added in v1.0.7
func (d *MasterNode) Check() types.DiagnosticResult
func (*MasterNode) Description ¶ added in v1.0.7
func (d *MasterNode) Description() string
func (*MasterNode) Name ¶ added in v1.0.7
func (d *MasterNode) Name() string
type NodeDefinitions ¶
NodeDefinitions is a Diagnostic for analyzing the nodes in a cluster.
func (*NodeDefinitions) CanRun ¶
func (d *NodeDefinitions) CanRun() (bool, error)
func (*NodeDefinitions) Check ¶
func (d *NodeDefinitions) Check() types.DiagnosticResult
func (*NodeDefinitions) Description ¶
func (d *NodeDefinitions) Description() string
func (*NodeDefinitions) Name ¶
func (d *NodeDefinitions) Name() string
Click to show internal directories.
Click to hide internal directories.