Documentation ¶
Index ¶
- func ConvertGardenletConfiguration(obj runtime.Object) (*config.GardenletConfiguration, error)
- func ConvertGardenletConfigurationExternal(obj runtime.Object) (*gardenletv1alpha1.GardenletConfiguration, error)
- func GetManagedResourceProgressingThreshold(c *config.GardenletConfiguration) *metav1.Duration
- func IsEventLoggingEnabled(c *config.GardenletConfiguration) bool
- func IsLoggingEnabled(c *config.GardenletConfiguration) bool
- func IsMonitoringEnabled(c *config.GardenletConfiguration) bool
- func IsValiEnabled(c *config.GardenletConfiguration) bool
- func SeedNameFromSeedConfig(seedConfig *config.SeedConfig) string
- func StaleExtensionHealthChecksThreshold(c *config.StaleExtensionHealthChecks) *metav1.Duration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertGardenletConfiguration ¶ added in v1.17.0
func ConvertGardenletConfiguration(obj runtime.Object) (*config.GardenletConfiguration, error)
ConvertGardenletConfiguration converts the given object to an internal GardenletConfiguration version.
func ConvertGardenletConfigurationExternal ¶ added in v1.17.0
func ConvertGardenletConfigurationExternal(obj runtime.Object) (*gardenletv1alpha1.GardenletConfiguration, error)
ConvertGardenletConfigurationExternal converts the given object to an external GardenletConfiguration version.
func GetManagedResourceProgressingThreshold ¶ added in v1.63.0
func GetManagedResourceProgressingThreshold(c *config.GardenletConfiguration) *metav1.Duration
GetManagedResourceProgressingThreshold returns ManagedResourceProgressingThreshold if set otherwise it returns nil.
func IsEventLoggingEnabled ¶ added in v1.53.0
func IsEventLoggingEnabled(c *config.GardenletConfiguration) bool
IsEventLoggingEnabled returns true if the event-logging is enabled.
func IsLoggingEnabled ¶ added in v1.41.0
func IsLoggingEnabled(c *config.GardenletConfiguration) bool
IsLoggingEnabled return true if the logging stack for clusters is enabled.
func IsMonitoringEnabled ¶ added in v1.53.0
func IsMonitoringEnabled(c *config.GardenletConfiguration) bool
IsMonitoringEnabled returns true if the monitoring stack for shoot clusters is enabled. Default is enabled.
func IsValiEnabled ¶ added in v1.71.0
func IsValiEnabled(c *config.GardenletConfiguration) bool
IsValiEnabled return true if the vali is enabled
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 ¶ added in v1.16.0
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.