Documentation ¶
Index ¶
- Constants
- func IsCACertMounted() bool
- type BlueprintValidator
- type RepositoryServerValidator
- func (r *RepositoryServerValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *RepositoryServerValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *RepositoryServerValidator) ValidateUpdate(ctx context.Context, old runtime.Object, new runtime.Object) (admission.Warnings, error)
Constants ¶
View Source
const WHCertsDir = "/var/run/webhook/serving-cert"
Variables ¶
This section is empty.
Functions ¶
func IsCACertMounted ¶
func IsCACertMounted() bool
Types ¶
type BlueprintValidator ¶
type BlueprintValidator struct {
// contains filtered or unexported fields
}
func (*BlueprintValidator) InjectDecoder ¶
func (b *BlueprintValidator) InjectDecoder(d *admission.Decoder) error
InjectDecoder injects the decoder.
type RepositoryServerValidator ¶
type RepositoryServerValidator struct{}
func (*RepositoryServerValidator) ValidateCreate ¶
func (r *RepositoryServerValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*RepositoryServerValidator) ValidateDelete ¶
func (r *RepositoryServerValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
Click to show internal directories.
Click to hide internal directories.