cluster

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: MIT Imports: 15 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 ClusterDefaulter

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

func NewDefaulter

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

func (*ClusterDefaulter) RuntimeObject

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

func (*ClusterDefaulter) SetDefaults

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

type ClusterValidator

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

func NewValidator

func NewValidator(k8sAPI *kube.K8sAPI) *ClusterValidator

func (*ClusterValidator) RuntimeObject

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

func (*ClusterValidator) ValidateCreate

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

func (*ClusterValidator) ValidateDelete

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

func (*ClusterValidator) ValidateUpdate

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

Jump to

Keyboard shortcuts

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