Documentation ¶
Index ¶
Constants ¶
const ( MetricsApiProxyName = "MetricsApiProxy" MetricsApiProxyProject = "openshift-infra" MetricsApiProxyService = "heapster" )
const (
ClusterRegistryName = "ClusterRegistry"
)
const (
ClusterRoleBindingsName = "ClusterRoleBindings"
)
const (
ClusterRolesName = "ClusterRoles"
)
const (
ClusterRouterName = "ClusterRouter"
)
const (
EtcdWriteName = "EtcdWriteVolume"
)
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
type ClusterRoleBindings ¶ added in v1.0.7
type ClusterRoleBindings struct { ClusterRoleBindingsClient osclient.ClusterRoleBindingsInterface SARClient authorizationtypedclient.SelfSubjectAccessReviewsGetter }
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 authorizationtypedclient.SelfSubjectAccessReviewsGetter }
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 ¶
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
type DescendingBins ¶
type DescendingBins []Bin
func (DescendingBins) Len ¶
func (m DescendingBins) Len() int
func (DescendingBins) Less ¶
func (m DescendingBins) Less(i, j int) bool
func (DescendingBins) Swap ¶
func (m DescendingBins) Swap(i, j int)
type EtcdWriteVolume ¶
type EtcdWriteVolume struct { V2Client etcdclient.Client V3Client *clientv3.Client }
EtcdWriteVolume is a Diagnostic to check the writes occurring against etcd and organize them by volume.
func (*EtcdWriteVolume) CanRun ¶
func (d *EtcdWriteVolume) CanRun() (bool, error)
func (*EtcdWriteVolume) Check ¶
func (d *EtcdWriteVolume) Check() types.DiagnosticResult
func (*EtcdWriteVolume) Description ¶
func (d *EtcdWriteVolume) Description() string
func (*EtcdWriteVolume) Name ¶
func (d *EtcdWriteVolume) Name() string
type KeyCounter ¶
type KeyCounter interface {
Inc(key []string)
}
type MasterNode ¶ added in v1.0.7
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 ¶ 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 MetricsApiProxy ¶ added in v1.3.0
type MetricsApiProxy struct {
KubeClient kclientset.Interface
}
MetricsApiProxy is a Diagnostic for diagnosing the API proxy and HPA/metrics.
func (*MetricsApiProxy) CanRun ¶ added in v1.3.0
func (d *MetricsApiProxy) CanRun() (bool, error)
func (*MetricsApiProxy) Check ¶ added in v1.3.0
func (d *MetricsApiProxy) Check() types.DiagnosticResult
func (*MetricsApiProxy) Description ¶ added in v1.3.0
func (d *MetricsApiProxy) Description() string
func (*MetricsApiProxy) Name ¶ added in v1.3.0
func (d *MetricsApiProxy) Name() string
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
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
type ServiceExternalIPs ¶ added in v1.3.0
type ServiceExternalIPs struct { MasterConfigFile string KclusterClient kclientset.Interface }
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 ¶ added in v1.3.0
func (d *ServiceExternalIPs) CanRun() (bool, error)
func (*ServiceExternalIPs) Check ¶ added in v1.3.0
func (d *ServiceExternalIPs) Check() types.DiagnosticResult
func (*ServiceExternalIPs) Description ¶ added in v1.3.0
func (d *ServiceExternalIPs) Description() string
func (*ServiceExternalIPs) Name ¶ added in v1.3.0
func (d *ServiceExternalIPs) Name() string