validating_webhook

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2019 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServeMigrationCreate added in v0.9.2

func ServeMigrationCreate(resp http.ResponseWriter, req *http.Request)

func ServeMigrationUpdate added in v0.9.2

func ServeMigrationUpdate(resp http.ResponseWriter, req *http.Request)

func ServeVMICreate

func ServeVMICreate(resp http.ResponseWriter, req *http.Request)

func ServeVMIPreset

func ServeVMIPreset(resp http.ResponseWriter, req *http.Request)

func ServeVMIRS

func ServeVMIRS(resp http.ResponseWriter, req *http.Request)

func ServeVMIUpdate

func ServeVMIUpdate(resp http.ResponseWriter, req *http.Request)

func ServeVMs

func ServeVMs(resp http.ResponseWriter, req *http.Request)

func ValidateDuplicateDHCPPrivateOptions added in v0.15.0

func ValidateDuplicateDHCPPrivateOptions(PrivateOptions []v1.DHCPPrivateOptions) error

func ValidateVMIPresetSpec

func ValidateVMIPresetSpec(field *k8sfield.Path, spec *v1.VirtualMachineInstancePresetSpec) []metav1.StatusCause

func ValidateVirtualMachineInstanceMandatoryFields added in v0.10.0

func ValidateVirtualMachineInstanceMandatoryFields(field *k8sfield.Path, spec *v1.VirtualMachineInstanceSpec) []metav1.StatusCause

ValidateVirtualMachineInstanceMandatoryFields should be invoked after all defaults and presets are applied. It is only meant to be used for VMI reviews, not if they are templates on other objects

func ValidateVirtualMachineInstanceMetadata added in v0.15.0

func ValidateVirtualMachineInstanceMetadata(field *k8sfield.Path, vmi *v1.VirtualMachineInstance) []metav1.StatusCause

func ValidateVirtualMachineInstanceMigrationSpec added in v0.9.2

func ValidateVirtualMachineInstanceMigrationSpec(field *k8sfield.Path, spec *v1.VirtualMachineInstanceMigrationSpec) []metav1.StatusCause

func ValidateVirtualMachineInstanceSpec

func ValidateVirtualMachineInstanceSpec(field *k8sfield.Path, spec *v1.VirtualMachineInstanceSpec) []metav1.StatusCause

func ValidateVirtualMachineSpec

func ValidateVirtualMachineSpec(field *k8sfield.Path, spec *v1.VirtualMachineSpec) []metav1.StatusCause

Types

This section is empty.

Jump to

Keyboard shortcuts

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