opensearchcontroller

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: BSD-3-Clause Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupController

func SetupController(mgr ctrl.Manager) error

func SetupWebhook

func SetupWebhook(mgr ctrl.Manager) error

SetupWebhook adds a webhook for managed resources.

Types

type Validator

type Validator struct {
	// contains filtered or unexported fields
}

Validator validates admission requests.

func (*Validator) ValidateCreate

func (v *Validator) ValidateCreate(ctx context.Context, obj runtime.Object) error

ValidateCreate implements admission.CustomValidator.

func (*Validator) ValidateDelete

func (v *Validator) ValidateDelete(_ context.Context, obj runtime.Object) error

ValidateDelete implements admission.CustomValidator.

func (*Validator) ValidateUpdate

func (v *Validator) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) error

ValidateUpdate implements admission.CustomValidator.

Jump to

Keyboard shortcuts

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