serviceimport

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 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 ServiceImportDefaulter

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

func NewDefaulter

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

func (*ServiceImportDefaulter) RuntimeObject

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

func (*ServiceImportDefaulter) SetDefaults

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

type ServiceImportValidator

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

func NewValidator

func NewValidator(k8sAPI *kube.K8sAPI) *ServiceImportValidator

func (*ServiceImportValidator) RuntimeObject

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

func (*ServiceImportValidator) ValidateCreate

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

func (*ServiceImportValidator) ValidateDelete

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

func (*ServiceImportValidator) ValidateUpdate

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

Jump to

Keyboard shortcuts

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