general

package
v1.10.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2020 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 12 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, *string, 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

const (
	DaemonSetCheckTypeSeed  DaemonSetCheckType = "Seed"
	DaemonSetCheckTypeShoot DaemonSetCheckType = "Shoot"
)

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

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

const (
	DeploymentCheckTypeSeed  DeploymentCheckType = "Seed"
	DeploymentCheckTypeShoot DeploymentCheckType = "Shoot"
)

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

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

func (*ManagedResourceHealthChecker) InjectSeedClient

func (healthChecker *ManagedResourceHealthChecker) InjectSeedClient(seedClient client.Client)

InjectSeedClient injects the seed client

func (*ManagedResourceHealthChecker) InjectShootClient

func (healthChecker *ManagedResourceHealthChecker) InjectShootClient(shootClient client.Client)

InjectShootClient injects the shoot 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

const (
	StatefulSetCheckTypeSeed  StatefulSetCheckType = "Seed"
	StatefulSetCheckTypeShoot StatefulSetCheckType = "Shoot"
)

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

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