admissioncontroller

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: May 4, 2021 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ValidateDeviceModelConfigName   = "validate-devicemodel"
	ValidateDeviceModelWebhookName  = "validatedevicemodel.kubeedge.io"
	ValidateRuleWebhookName         = "validatedrule.kubeedge.io"
	ValidateRuleEndpointWebhookName = "validatedruleendpoint.kubeedge.io"
	OfflineMigrationConfigName      = "mutate-offlinemigration"
	OfflineMigrationWebhookName     = "mutateofflinemigration.kubeedge.io"

	AutonomyLabel = "app-offline.kubeedge.io=autonomy"
)
View Source
const (
	Exists    = "Exists"
	NoExecute = "NoExecute"
)

Variables

This section is empty.

Functions

func Run

func Run(opt *options.AdmissionOptions)

Run starts the webhook service

Types

type AdmissionController

type AdmissionController struct {
	Client    *kubernetes.Clientset
	CrdClient *versioned.Clientset
}

AdmissionController implements the admission webhook for validation of configuration.

Jump to

Keyboard shortcuts

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