admissioncontroller

package
v1.16.2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 31 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ValidateCRDWebhookConfigName    = "kubeedge-crds-validate-webhook-configuration"
	ValidateDeviceWebhookName       = "validatedevice.kubeedge.io"
	ValidateDeviceModelWebhookName  = "validatedevicemodel.kubeedge.io"
	ValidateRuleWebhookName         = "validatedrule.kubeedge.io"
	ValidateRuleEndpointWebhookName = "validatedruleendpoint.kubeedge.io"
	ValidateNodeUpgradeWebhookName  = "validatenodeupgradejob.kubeedge.io"

	OfflineMigrationConfigName  = "mutate-offlinemigration"
	OfflineMigrationWebhookName = "mutateofflinemigration.kubeedge.io"

	MutatingAdmissionWebhookName   = "kubeedge-mutating-webhook"
	MutatingNodeUpgradeWebhookName = "mutatingnodeupgradejob.kubeedge.io"

	AutonomyLabel = "app-offline.kubeedge.io=autonomy"
)

Variables

This section is empty.

Functions

func Run

func Run(opt *options.AdmissionOptions) error

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