Documentation ¶
Index ¶
- Constants
- Variables
- func IsExistEndpoint(endpointList *corev1.EndpointsList, serviceName string) bool
- func RunCheckList(list []Interface, cluster *v2.Cluster, phase string) error
- func RunViewCheckList(cluster *v2.Cluster) error
- type HostChecker
- type Interface
- type NodeChecker
- type NodeClusterStatus
- type NotFindReadyTypeError
- type PodChecker
- type PodNamespaceStatus
- type PodNotReadyError
- type RegistryChecker
- type SvcChecker
- type SvcClusterStatus
- type SvcNamespaceStatus
Constants ¶
View Source
const ( PhasePre = "Pre" PhasePost = "Post" PhaseView = "view" )
View Source
const ( ReadyNodeStatus = "Ready" NotReadyNodeStatus = "NotReady" )
Variables ¶
View Source
var PodNamespaceStatusList []PodNamespaceStatus
Functions ¶
func IsExistEndpoint ¶
func IsExistEndpoint(endpointList *corev1.EndpointsList, serviceName string) bool
func RunViewCheckList ¶
Types ¶
type HostChecker ¶
type HostChecker struct { }
type Interface ¶
Interface Define checkers when pre or post install, like checker node status, checker pod status...
func NewHostChecker ¶
func NewHostChecker() Interface
func NewNodeChecker ¶
func NewNodeChecker() Interface
func NewPodChecker ¶
func NewPodChecker() Interface
func NewRegistryChecker ¶
func NewSvcChecker ¶
func NewSvcChecker() Interface
type NodeChecker ¶
type NodeChecker struct {
// contains filtered or unexported fields
}
func (*NodeChecker) Output ¶
func (n *NodeChecker) Output(nodeCLusterStatus NodeClusterStatus) error
type NodeClusterStatus ¶
type NotFindReadyTypeError ¶
type NotFindReadyTypeError struct {
// contains filtered or unexported fields
}
func (*NotFindReadyTypeError) Error ¶
func (e *NotFindReadyTypeError) Error() string
type PodChecker ¶
type PodChecker struct {
// contains filtered or unexported fields
}
func (*PodChecker) Output ¶
func (n *PodChecker) Output(podNamespaceStatusList []PodNamespaceStatus) error
type PodNamespaceStatus ¶
type PodNotReadyError ¶
type PodNotReadyError struct {
// contains filtered or unexported fields
}
func (*PodNotReadyError) Error ¶
func (e *PodNotReadyError) Error() string
type RegistryChecker ¶
type RegistryChecker struct {
RegistryDomain string
}
type SvcChecker ¶
type SvcChecker struct {
// contains filtered or unexported fields
}
func (*SvcChecker) Output ¶
func (n *SvcChecker) Output(svcNamespaceStatusList []*SvcNamespaceStatus) error
type SvcClusterStatus ¶
type SvcClusterStatus struct {
SvcNamespaceStatusList []*SvcNamespaceStatus
}
Click to show internal directories.
Click to hide internal directories.