Documentation ¶
Index ¶
- func CheckManagedResource(managedResourceName string) healthcheck.HealthCheck
- func DaemonSetIsHealthy(daemonSet *appsv1.DaemonSet) (bool, error)
- func NewSeedDaemonSetHealthChecker(name string) healthcheck.HealthCheck
- func NewSeedDeploymentHealthChecker(deploymentName string) healthcheck.HealthCheck
- func NewSeedStatefulSetChecker(name string) healthcheck.HealthCheck
- func NewShootDaemonSetHealthChecker(name string) healthcheck.HealthCheck
- func NewShootDeploymentHealthChecker(deploymentName string) healthcheck.HealthCheck
- func NewShootStatefulSetChecker(name string) healthcheck.HealthCheck
- type DaemonSetCheckType
- type DaemonSetHealthChecker
- func (healthChecker *DaemonSetHealthChecker) Check(ctx context.Context, request types.NamespacedName) (*healthcheck.SingleCheckResult, error)
- func (healthChecker *DaemonSetHealthChecker) DeepCopy() healthcheck.HealthCheck
- func (healthChecker *DaemonSetHealthChecker) InjectSeedClient(seedClient client.Client)
- func (healthChecker *DaemonSetHealthChecker) InjectShootClient(shootClient client.Client)
- func (healthChecker *DaemonSetHealthChecker) SetLoggerSuffix(provider, extension string)
- type DeploymentCheckType
- type DeploymentHealthChecker
- func (healthChecker *DeploymentHealthChecker) Check(ctx context.Context, request types.NamespacedName) (*healthcheck.SingleCheckResult, error)
- func (healthChecker *DeploymentHealthChecker) DeepCopy() healthcheck.HealthCheck
- func (healthChecker *DeploymentHealthChecker) InjectSeedClient(seedClient client.Client)
- func (healthChecker *DeploymentHealthChecker) InjectShootClient(shootClient client.Client)
- func (healthChecker *DeploymentHealthChecker) SetLoggerSuffix(provider, extension string)
- type ManagedResourceHealthChecker
- func (healthChecker *ManagedResourceHealthChecker) Check(ctx context.Context, request types.NamespacedName) (*healthcheck.SingleCheckResult, error)
- func (healthChecker *ManagedResourceHealthChecker) DeepCopy() healthcheck.HealthCheck
- func (healthChecker *ManagedResourceHealthChecker) InjectSeedClient(seedClient client.Client)
- func (healthChecker *ManagedResourceHealthChecker) SetLoggerSuffix(provider, extension string)
- type StatefulSetCheckType
- type StatefulSetHealthChecker
- func (healthChecker *StatefulSetHealthChecker) Check(ctx context.Context, request types.NamespacedName) (*healthcheck.SingleCheckResult, error)
- func (healthChecker *StatefulSetHealthChecker) DeepCopy() healthcheck.HealthCheck
- func (healthChecker *StatefulSetHealthChecker) InjectSeedClient(seedClient client.Client)
- func (healthChecker *StatefulSetHealthChecker) InjectShootClient(shootClient client.Client)
- func (healthChecker *StatefulSetHealthChecker) SetLoggerSuffix(provider, extension string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckManagedResource ¶
func CheckManagedResource(managedResourceName string) healthcheck.HealthCheck
CheckManagedResource is a healthCheck function to check ManagedResources
func DaemonSetIsHealthy ¶
DaemonSetIsHealthy takes a daemon set resource and returns if it is healthy or not or an error
func NewSeedDaemonSetHealthChecker ¶
func NewSeedDaemonSetHealthChecker(name string) healthcheck.HealthCheck
NewSeedDaemonSetHealthChecker is a healthCheck function to check DaemonSets
func NewSeedDeploymentHealthChecker ¶
func NewSeedDeploymentHealthChecker(deploymentName string) healthcheck.HealthCheck
NewSeedDeploymentHealthChecker is a healthCheck function to check Deployments in the Seed cluster
func NewSeedStatefulSetChecker ¶
func NewSeedStatefulSetChecker(name string) healthcheck.HealthCheck
NewSeedStatefulSetChecker is a healthCheck function to check StatefulSets
func NewShootDaemonSetHealthChecker ¶
func NewShootDaemonSetHealthChecker(name string) healthcheck.HealthCheck
NewShootDaemonSetHealthChecker is a healthCheck function to check DaemonSets
func NewShootDeploymentHealthChecker ¶
func NewShootDeploymentHealthChecker(deploymentName string) healthcheck.HealthCheck
NewShootDeploymentHealthChecker is a healthCheck function to check Deployments in the Shoot cluster
func NewShootStatefulSetChecker ¶
func NewShootStatefulSetChecker(name string) healthcheck.HealthCheck
NewShootStatefulSetChecker is a healthCheck function to check StatefulSets
Types ¶
type DaemonSetCheckType ¶
type DaemonSetCheckType string
DaemonSetCheckType in which cluster the check will be executed
type DaemonSetHealthChecker ¶
type DaemonSetHealthChecker struct {
// contains filtered or unexported fields
}
DaemonSetHealthChecker contains all the information for the DaemonSet HealthCheck
func (*DaemonSetHealthChecker) Check ¶
func (healthChecker *DaemonSetHealthChecker) Check(ctx context.Context, request types.NamespacedName) (*healthcheck.SingleCheckResult, error)
Check executes the health check
func (*DaemonSetHealthChecker) DeepCopy ¶
func (healthChecker *DaemonSetHealthChecker) DeepCopy() healthcheck.HealthCheck
DeepCopy clones the healthCheck struct by making a copy and returning the pointer to that new copy Actually, it does not perform a *deep* copy.
func (*DaemonSetHealthChecker) InjectSeedClient ¶
func (healthChecker *DaemonSetHealthChecker) InjectSeedClient(seedClient client.Client)
InjectSeedClient injects the seed client
func (*DaemonSetHealthChecker) InjectShootClient ¶
func (healthChecker *DaemonSetHealthChecker) InjectShootClient(shootClient client.Client)
InjectShootClient injects the shoot client
func (*DaemonSetHealthChecker) SetLoggerSuffix ¶
func (healthChecker *DaemonSetHealthChecker) SetLoggerSuffix(provider, extension string)
SetLoggerSuffix injects the logger
type DeploymentCheckType ¶
type DeploymentCheckType string
DeploymentCheckType in which cluster the check will be executed
type DeploymentHealthChecker ¶
type DeploymentHealthChecker struct {
// contains filtered or unexported fields
}
DeploymentHealthChecker contains all the information for the Deployment HealthCheck
func (*DeploymentHealthChecker) Check ¶
func (healthChecker *DeploymentHealthChecker) Check(ctx context.Context, request types.NamespacedName) (*healthcheck.SingleCheckResult, error)
Check executes the health check
func (*DeploymentHealthChecker) DeepCopy ¶
func (healthChecker *DeploymentHealthChecker) DeepCopy() healthcheck.HealthCheck
DeepCopy clones the healthCheck struct by making a copy and returning the pointer to that new copy Actually, it does not perform a *deep* copy.
func (*DeploymentHealthChecker) InjectSeedClient ¶
func (healthChecker *DeploymentHealthChecker) InjectSeedClient(seedClient client.Client)
InjectSeedClient injects the seed client
func (*DeploymentHealthChecker) InjectShootClient ¶
func (healthChecker *DeploymentHealthChecker) InjectShootClient(shootClient client.Client)
InjectShootClient injects the shoot client
func (*DeploymentHealthChecker) SetLoggerSuffix ¶
func (healthChecker *DeploymentHealthChecker) SetLoggerSuffix(provider, extension string)
SetLoggerSuffix injects the logger
type ManagedResourceHealthChecker ¶
type ManagedResourceHealthChecker struct {
// contains filtered or unexported fields
}
ManagedResourceHealthChecker contains all the information for the ManagedResource HealthCheck
func (*ManagedResourceHealthChecker) Check ¶
func (healthChecker *ManagedResourceHealthChecker) Check(ctx context.Context, request types.NamespacedName) (*healthcheck.SingleCheckResult, error)
Check executes the health check
func (*ManagedResourceHealthChecker) DeepCopy ¶
func (healthChecker *ManagedResourceHealthChecker) DeepCopy() healthcheck.HealthCheck
DeepCopy clones the healthCheck struct by making a copy and returning the pointer to that new copy Actually, it does not perform a *deep* copy.
func (*ManagedResourceHealthChecker) InjectSeedClient ¶
func (healthChecker *ManagedResourceHealthChecker) InjectSeedClient(seedClient client.Client)
InjectSeedClient injects the seed client
func (*ManagedResourceHealthChecker) SetLoggerSuffix ¶
func (healthChecker *ManagedResourceHealthChecker) SetLoggerSuffix(provider, extension string)
SetLoggerSuffix injects the logger
type StatefulSetCheckType ¶
type StatefulSetCheckType string
StatefulSetCheckType in which cluster the check will be executed
type StatefulSetHealthChecker ¶
type StatefulSetHealthChecker struct {
// contains filtered or unexported fields
}
StatefulSetHealthChecker contains all the information for the StatefulSet HealthCheck
func (*StatefulSetHealthChecker) Check ¶
func (healthChecker *StatefulSetHealthChecker) Check(ctx context.Context, request types.NamespacedName) (*healthcheck.SingleCheckResult, error)
Check executes the health check
func (*StatefulSetHealthChecker) DeepCopy ¶
func (healthChecker *StatefulSetHealthChecker) DeepCopy() healthcheck.HealthCheck
DeepCopy clones the healthCheck struct by making a copy and returning the pointer to that new copy Actually, it does not perform a *deep* copy.
func (*StatefulSetHealthChecker) InjectSeedClient ¶
func (healthChecker *StatefulSetHealthChecker) InjectSeedClient(seedClient client.Client)
InjectSeedClient injects the seed client
func (*StatefulSetHealthChecker) InjectShootClient ¶
func (healthChecker *StatefulSetHealthChecker) InjectShootClient(shootClient client.Client)
InjectShootClient injects the shoot client
func (*StatefulSetHealthChecker) SetLoggerSuffix ¶
func (healthChecker *StatefulSetHealthChecker) SetLoggerSuffix(provider, extension string)
SetLoggerSuffix injects the logger