cluster

package
v0.0.0-...-47d1103 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2015 License: Apache-2.0 Imports: 22 Imported by: 0

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 NodeDefinitionsName = "NodeDefinitions"

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterRegistry

type ClusterRegistry struct {
	KubeClient *kclient.Client
	OsClient   *osclient.Client
}

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 (*ClusterRegistry) Description

func (d *ClusterRegistry) Description() string

func (*ClusterRegistry) Name

func (d *ClusterRegistry) Name() string

type ClusterRoleBindings

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

func (d *ClusterRoleBindings) CanRun() (bool, error)

func (*ClusterRoleBindings) Check

func (*ClusterRoleBindings) Description

func (d *ClusterRoleBindings) Description() string

func (*ClusterRoleBindings) Name

func (d *ClusterRoleBindings) Name() string

type ClusterRoles

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

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

type ClusterRouter

type ClusterRouter struct {
	KubeClient *kclient.Client
	OsClient   *osclient.Client
}

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 (*ClusterRouter) Description

func (d *ClusterRouter) Description() string

func (*ClusterRouter) Name

func (d *ClusterRouter) Name() string

type NodeDefinitions

type NodeDefinitions struct {
	KubeClient *kclient.Client
	OsClient   *osclient.Client
}

NodeDefinitions is a Diagnostic for analyzing the nodes in a cluster.

func (*NodeDefinitions) CanRun

func (d *NodeDefinitions) CanRun() (bool, error)

func (*NodeDefinitions) Check

func (*NodeDefinitions) Description

func (d *NodeDefinitions) Description() string

func (*NodeDefinitions) Name

func (d *NodeDefinitions) Name() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL