referencepolicy

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: MIT Imports: 7 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) Kind

func (w *ReferencePolicyDefaulter) Kind() string

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

func (w *ReferencePolicyValidator) Kind() string

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