cm

package
v0.1.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: Apache-2.0 Imports: 12 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 ConfigMapDefaulter

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

func NewDefaulter

func NewDefaulter(k8sAPI *kube.K8sAPI) *ConfigMapDefaulter

func (*ConfigMapDefaulter) RuntimeObject

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

func (*ConfigMapDefaulter) SetDefaults

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

type ConfigMapValidator

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

func NewValidator

func NewValidator(k8sAPI *kube.K8sAPI) *ConfigMapValidator

func (*ConfigMapValidator) RuntimeObject

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

func (*ConfigMapValidator) ValidateCreate

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

func (*ConfigMapValidator) ValidateDelete

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

func (*ConfigMapValidator) ValidateUpdate

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

Jump to

Keyboard shortcuts

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