Documentation ¶
Index ¶
- Constants
- Variables
- func CentralLoggingConfiguration() (component.CentralLoggingConfig, error)
- func NewAccess(client client.Client, namespace string, ...) component.Deployer
- func NewBootstrapper(client client.Client, namespace string, values BootstrapperValues) component.DeployWaiter
- type AccessValues
- type BootstrapperValues
- type EndpointConfigurationFunc
- type ProbeConfigurationFunc
- type Role
- type ValuesEndpoint
- type ValuesProbe
Constants ¶
const ( // ExternalProbeSecretName is the name of the kubecfg secret with internal DNS for external access. ExternalProbeSecretName = gutil.SecretNamePrefixShootAccess + "dependency-watchdog-external-probe" // InternalProbeSecretName is the name of the kubecfg secret with cluster IP access. InternalProbeSecretName = gutil.SecretNamePrefixShootAccess + "dependency-watchdog-internal-probe" )
const ( // RoleEndpoint is a constant for the 'endpoint' role of the dependency-watchdog. RoleEndpoint Role = "endpoint" // RoleProbe is a constant for the 'probe' role of the dependency-watchdog. RoleProbe Role = "probe" // ManagedResourceDependencyWatchdogEndpoint is the name of the dependency-watchdog-endpoint managed resource. ManagedResourceDependencyWatchdogEndpoint = "dependency-watchdog-endpoint" // ManagedResourceDependencyWatchdogProbe is the name of the dependency-watchdog-probe managed resource. ManagedResourceDependencyWatchdogProbe = "dependency-watchdog-probe" )
Variables ¶
var TimeoutWaitForManagedResource = 2 * time.Minute
TimeoutWaitForManagedResource is the timeout used while waiting for the ManagedResources to become healthy or deleted.
Functions ¶
func CentralLoggingConfiguration ¶
func CentralLoggingConfiguration() (component.CentralLoggingConfig, error)
CentralLoggingConfiguration returns a fluent-bit parser and filter for the dependency-watchdog logs.
func NewAccess ¶ added in v1.38.0
func NewAccess( client client.Client, namespace string, secretsManager secretsmanager.Interface, values AccessValues, ) component.Deployer
NewAccess creates a new instance of the deployer for shoot cluster access for the dependency-watchdog.
func NewBootstrapper ¶ added in v1.38.0
func NewBootstrapper( client client.Client, namespace string, values BootstrapperValues, ) component.DeployWaiter
NewBootstrapper creates a new instance of DeployWaiter for the dependency-watchdog.
Types ¶
type AccessValues ¶ added in v1.38.0
type AccessValues struct { // ServerOutOfCluster is the out-of-cluster address of a kube-apiserver. ServerOutOfCluster string // ServerInCluster is the in-cluster address of a kube-apiserver. ServerInCluster string }
AccessValues contains configurations for the component.
type BootstrapperValues ¶ added in v1.38.0
type BootstrapperValues struct { Role Role ValuesEndpoint ValuesProbe Image string KubernetesVersion *semver.Version }
BootstrapperValues contains dependency-watchdog values.
type EndpointConfigurationFunc ¶
type EndpointConfigurationFunc func() (map[string]restarterapi.Service, error)
EndpointConfigurationFunc is a function alias for returning configuration for the dependency-watchdog (endpoint role).
type ProbeConfigurationFunc ¶
type ProbeConfigurationFunc func() ([]scalerapi.ProbeDependants, error)
ProbeConfigurationFunc is a function alias for returning configuration for the dependency-watchdog (probe role).
type ValuesEndpoint ¶
type ValuesEndpoint struct {
ServiceDependants restarterapi.ServiceDependants
}
ValuesEndpoint contains the service dependants of dependency-watchdog.
type ValuesProbe ¶
type ValuesProbe struct {
ProbeDependantsList scalerapi.ProbeDependantsList
}
ValuesProbe contains the probe dependants list of dependency-watchdog.