services

package
v0.0.0-...-1c213c1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

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) Handle

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
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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