general

package
v1.80.5 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 13 Imported by: 26

Documentation

Index

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

func DaemonSetIsHealthy(daemonSet *appsv1.DaemonSet) (bool, error)

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

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

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

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

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

Jump to

Keyboard shortcuts

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