validation

package
v1.105.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GetSubClaimPrefixAndDelimiterFunc = func() (string, string) {
	delimiter := ":"
	return strings.Join([]string{"gardener.cloud", "workloadidentity"}, delimiter), delimiter
}

GetSubClaimPrefixAndDelimiterFunc is func providing the prefix value for the 'sub' claim and the delimiter used to concatenate the various parts.

Functions

func ValidateCredentialsBinding

func ValidateCredentialsBinding(binding *security.CredentialsBinding) field.ErrorList

ValidateCredentialsBinding validates a CredentialsBinding.

func ValidateCredentialsBindingProvider

func ValidateCredentialsBindingProvider(provider security.CredentialsBindingProvider, fldPath *field.Path) field.ErrorList

ValidateCredentialsBindingProvider validates a CredentialsBindingProvider object.

func ValidateCredentialsBindingUpdate

func ValidateCredentialsBindingUpdate(newBinding, oldBinding *security.CredentialsBinding) field.ErrorList

ValidateCredentialsBindingUpdate validates a CredentialsBinding object before an update.

func ValidateTokenRequest added in v1.97.0

func ValidateTokenRequest(request *security.TokenRequest) field.ErrorList

ValidateTokenRequest validates a TokenRequest.

func ValidateWorkloadIdentity added in v1.97.0

func ValidateWorkloadIdentity(workloadIdentity *security.WorkloadIdentity) field.ErrorList

ValidateWorkloadIdentity validates a WorkloadIdentity.

func ValidateWorkloadIdentityUpdate added in v1.97.0

func ValidateWorkloadIdentityUpdate(newWorkloadIdentity, oldWorkloadIdentity *security.WorkloadIdentity) field.ErrorList

ValidateWorkloadIdentityUpdate validates a WorkloadIdentity object before an update.

Types

This section is empty.

Jump to

Keyboard shortcuts

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