Documentation ¶
Index ¶
Constants ¶
View Source
const ( MaxLabelLength = 63 ImmutableFieldModificationErrorType = "ImmutableFieldModificationError" MissingRequredFieldErrorType = "MissingRequiredFieldError" InvalidFieldValueErrorType = "InvalidFieldValueError" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NameRegistry ¶
type NameRegistry interface { RegisterName(ctx context.Context, namespace, name, ownerNamespace, ownerName string) error DeregisterName(ctx context.Context, namespace, name string) error TryLockName(ctx context.Context, namespace, name string) error UnlockName(ctx context.Context, namespace, name string) error CheckNameOwnership(ctx context.Context, namespace, name, ownerNamespace, ownerName string) (bool, error) }
type NameValidator ¶ added in v0.2.0
type NameValidator interface { ValidateCreate(ctx context.Context, logger logr.Logger, namespace string, obj UniqueClientObject) error ValidateUpdate(ctx context.Context, logger logr.Logger, namespace string, oldObj, newObj UniqueClientObject) error ValidateDelete(ctx context.Context, logger logr.Logger, namespace string, obj UniqueClientObject) error }
type NamespaceValidator ¶ added in v0.2.0
type NamespaceValidator interface { ValidateOrgCreate(org korifiv1alpha1.CFOrg) error ValidateSpaceCreate(space korifiv1alpha1.CFSpace) error }
Click to show internal directories.
Click to hide internal directories.