helper

package
v1.46.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// KnownCodes maps Gardener error codes to respective regex.
	KnownCodes = map[gardencorev1beta1.ErrorCode]func(string) bool{
		gardencorev1beta1.ErrorInfraUnauthenticated:    unauthenticatedRegexp.MatchString,
		gardencorev1beta1.ErrorInfraUnauthorized:       unauthorizedRegexp.MatchString,
		gardencorev1beta1.ErrorInfraQuotaExceeded:      quotaExceededRegexp.MatchString,
		gardencorev1beta1.ErrorInfraRateLimitsExceeded: rateLimitsExceededRegexp.MatchString,
		gardencorev1beta1.ErrorConfigurationProblem:    configurationRegexp.MatchString,
	}
)
View Source
var (
	// Scheme is a scheme with the types relevant for vSphere actuators.
	Scheme *runtime.Scheme
)

Functions

func GetExtensionState

func GetExtensionState(ext *extapi.Extension) (*api.DNSState, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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