referencepolicy

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterWebhooks

func RegisterWebhooks(webhookSvcNs, webhookSvcName string, caBundle []byte)

Types

type ReferencePolicyDefaulter

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

func NewDefaulter

func NewDefaulter(k8sAPI *kube.K8sAPI, configStore *config.Store) *ReferencePolicyDefaulter

func (*ReferencePolicyDefaulter) RuntimeObject

func (w *ReferencePolicyDefaulter) RuntimeObject() runtime.Object

func (*ReferencePolicyDefaulter) SetDefaults

func (w *ReferencePolicyDefaulter) SetDefaults(obj interface{})

type ReferencePolicyValidator

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

func NewValidator

func NewValidator(k8sAPI *kube.K8sAPI) *ReferencePolicyValidator

func (*ReferencePolicyValidator) RuntimeObject

func (w *ReferencePolicyValidator) RuntimeObject() runtime.Object

func (*ReferencePolicyValidator) ValidateCreate

func (w *ReferencePolicyValidator) ValidateCreate(obj interface{}) error

func (*ReferencePolicyValidator) ValidateDelete

func (w *ReferencePolicyValidator) ValidateDelete(obj interface{}) error

func (*ReferencePolicyValidator) ValidateUpdate

func (w *ReferencePolicyValidator) ValidateUpdate(oldObj, obj interface{}) error

Jump to

Keyboard shortcuts

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