Documentation ¶
Index ¶
- Constants
- type ClusterRegistry
- type ClusterRoleBindings
- type ClusterRoles
- type ClusterRouter
- type MasterNode
- type MetricsApiProxy
- type NodeDefinitions
- type RouteCertificateValidation
- func (d *RouteCertificateValidation) CanRun() (bool, error)
- func (d *RouteCertificateValidation) Check() types.DiagnosticResult
- func (d *RouteCertificateValidation) Description() string
- func (d *RouteCertificateValidation) Name() string
- func (d *RouteCertificateValidation) Requirements() (client bool, host bool)
- type ServiceExternalIPs
- func (d *ServiceExternalIPs) CanRun() (bool, error)
- func (d *ServiceExternalIPs) Check() types.DiagnosticResult
- func (d *ServiceExternalIPs) Complete(logger *log.Logger) error
- func (d *ServiceExternalIPs) Description() string
- func (d *ServiceExternalIPs) Name() string
- func (d *ServiceExternalIPs) Requirements() (client bool, host bool)
Constants ¶
const ( MetricsApiProxyName = "MetricsApiProxy" MetricsApiProxyProject = "openshift-infra" MetricsApiProxyService = "heapster" )
const (
ClusterRegistryName = "ClusterRegistry"
)
const (
ClusterRoleBindingsName = "ClusterRoleBindings"
)
const (
ClusterRolesName = "ClusterRoles"
)
const (
ClusterRouterName = "ClusterRouter"
)
const MasterNodeName = "MasterNode"
const NodeDefinitionsName = "NodeDefinitions"
const (
RouteCertificateValidationName = "RouteCertificateValidation"
)
const ServiceExternalIPsName = "ServiceExternalIPs"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterRegistry ¶
type ClusterRegistry struct { KubeClient kclientset.Interface ImageStreamClient imagetypedclient.ImageStreamsGetter 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
func (*ClusterRegistry) Requirements ¶
func (d *ClusterRegistry) Requirements() (client bool, host bool)
type ClusterRoleBindings ¶
type ClusterRoleBindings struct { ClusterRoleBindingsClient oauthorizationtypedclient.ClusterRoleBindingInterface SARClient authorizationtypedclient.SelfSubjectAccessReviewsGetter }
ClusterRoleBindings is a Diagnostic to check that the default cluster role bindings match expectations
func (*ClusterRoleBindings) CanRun ¶
func (d *ClusterRoleBindings) CanRun() (bool, error)
func (*ClusterRoleBindings) Check ¶
func (d *ClusterRoleBindings) Check() types.DiagnosticResult
func (*ClusterRoleBindings) Description ¶
func (d *ClusterRoleBindings) Description() string
func (*ClusterRoleBindings) Name ¶
func (d *ClusterRoleBindings) Name() string
func (*ClusterRoleBindings) Requirements ¶
func (d *ClusterRoleBindings) Requirements() (client bool, host bool)
type ClusterRoles ¶
type ClusterRoles struct { ClusterRolesClient oauthorizationtypedclient.ClusterRoleInterface SARClient authorizationtypedclient.SelfSubjectAccessReviewsGetter }
ClusterRoles is a Diagnostic to check that the default cluster roles match expectations
func (*ClusterRoles) CanRun ¶
func (d *ClusterRoles) CanRun() (bool, error)
func (*ClusterRoles) Check ¶
func (d *ClusterRoles) Check() types.DiagnosticResult
func (*ClusterRoles) Description ¶
func (d *ClusterRoles) Description() string
func (*ClusterRoles) Name ¶
func (d *ClusterRoles) Name() string
func (*ClusterRoles) Requirements ¶
func (d *ClusterRoles) Requirements() (client bool, host bool)
type ClusterRouter ¶
type ClusterRouter struct { KubeClient kclientset.Interface DCClient appstypedclient.DeploymentConfigsGetter }
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
func (*ClusterRouter) Requirements ¶
func (d *ClusterRouter) Requirements() (client bool, host bool)
type MasterNode ¶
type MasterNode struct { KubeClient kclientset.Interface 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 ¶
func (d *MasterNode) CanRun() (bool, error)
func (*MasterNode) Check ¶
func (d *MasterNode) Check() types.DiagnosticResult
func (*MasterNode) Description ¶
func (d *MasterNode) Description() string
func (*MasterNode) Name ¶
func (d *MasterNode) Name() string
func (*MasterNode) Requirements ¶
func (d *MasterNode) Requirements() (client bool, host bool)
type MetricsApiProxy ¶
type MetricsApiProxy struct {
KubeClient kclientset.Interface
}
MetricsApiProxy is a Diagnostic for diagnosing the API proxy and HPA/metrics.
func (*MetricsApiProxy) CanRun ¶
func (d *MetricsApiProxy) CanRun() (bool, error)
func (*MetricsApiProxy) Check ¶
func (d *MetricsApiProxy) Check() types.DiagnosticResult
func (*MetricsApiProxy) Description ¶
func (d *MetricsApiProxy) Description() string
func (*MetricsApiProxy) Name ¶
func (d *MetricsApiProxy) Name() string
func (*MetricsApiProxy) Requirements ¶
func (d *MetricsApiProxy) Requirements() (client bool, host bool)
type NodeDefinitions ¶
type NodeDefinitions struct {
KubeClient kclientset.Interface
}
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
func (*NodeDefinitions) Requirements ¶
func (d *NodeDefinitions) Requirements() (client bool, host bool)
type RouteCertificateValidation ¶
type RouteCertificateValidation struct { SARClient authorizationtypedclient.SelfSubjectAccessReviewsGetter RESTConfig *rest.Config }
RouteCertificateValidation is a Diagnostic to check that there is a working router.
func (*RouteCertificateValidation) CanRun ¶
func (d *RouteCertificateValidation) CanRun() (bool, error)
func (*RouteCertificateValidation) Check ¶
func (d *RouteCertificateValidation) Check() types.DiagnosticResult
func (*RouteCertificateValidation) Description ¶
func (d *RouteCertificateValidation) Description() string
func (*RouteCertificateValidation) Name ¶
func (d *RouteCertificateValidation) Name() string
func (*RouteCertificateValidation) Requirements ¶
func (d *RouteCertificateValidation) Requirements() (client bool, host bool)
type ServiceExternalIPs ¶
type ServiceExternalIPs struct { MasterConfigFile string KclusterClient kclientset.Interface // contains filtered or unexported fields }
ServiceExternalIPs is a Diagnostic to check for the services in the cluster that do not comply with an updated master ExternalIPNetworkCIDR setting. Background: https://github.com/openshift/origin/issues/7808
func (*ServiceExternalIPs) CanRun ¶
func (d *ServiceExternalIPs) CanRun() (bool, error)
func (*ServiceExternalIPs) Check ¶
func (d *ServiceExternalIPs) Check() types.DiagnosticResult
func (*ServiceExternalIPs) Complete ¶
func (d *ServiceExternalIPs) Complete(logger *log.Logger) error
func (*ServiceExternalIPs) Description ¶
func (d *ServiceExternalIPs) Description() string
func (*ServiceExternalIPs) Name ¶
func (d *ServiceExternalIPs) Name() string
func (*ServiceExternalIPs) Requirements ¶
func (d *ServiceExternalIPs) Requirements() (client bool, host bool)