Documentation ¶
Index ¶
Constants ¶
View Source
const (
ServiceInstanceEntityType = "serviceinstance"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CFServiceInstanceValidation ¶
type CFServiceInstanceValidation struct {
// contains filtered or unexported fields
}
func NewCFServiceInstanceValidation ¶
func NewCFServiceInstanceValidation(duplicateValidator NameValidator) *CFServiceInstanceValidation
func (*CFServiceInstanceValidation) InjectDecoder ¶
func (v *CFServiceInstanceValidation) InjectDecoder(d *admission.Decoder) error
func (*CFServiceInstanceValidation) SetupWebhookWithManager ¶
func (v *CFServiceInstanceValidation) SetupWebhookWithManager(mgr ctrl.Manager) error
type NameValidator ¶
type NameValidator interface { ValidateCreate(ctx context.Context, logger logr.Logger, namespace, newName string) error ValidateUpdate(ctx context.Context, logger logr.Logger, namespace, oldName, newName string) error ValidateDelete(ctx context.Context, logger logr.Logger, namespace, oldName string) error }
Click to show internal directories.
Click to hide internal directories.