helper

package
v1.7.1-0...-23dd39d Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertGardenletConfiguration

func ConvertGardenletConfiguration(obj runtime.Object) (*config.GardenletConfiguration, error)

ConvertGardenletConfiguration converts the given object to an internal GardenletConfiguration version.

func ConvertGardenletConfigurationExternal

func ConvertGardenletConfigurationExternal(obj runtime.Object) (*configv1alpha1.GardenletConfiguration, error)

ConvertGardenletConfigurationExternal converts the given object to an external GardenletConfiguration version.

func SeedNameFromSeedConfig

func SeedNameFromSeedConfig(seedConfig *config.SeedConfig) string

SeedNameFromSeedConfig returns an empty string if the given seed config is nil, or the name inside the seed config.

func StaleExtensionHealthChecksThreshold

func StaleExtensionHealthChecksThreshold(c *config.StaleExtensionHealthChecks) *metav1.Duration

StaleExtensionHealthChecksThreshold returns nil if the given config is nil or the check for stale health checks is not enabled. Otherwise it returns the threshold from the given config.

Types

This section is empty.

Jump to

Keyboard shortcuts

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