admitters

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateDuplicateDHCPPrivateOptions

func ValidateDuplicateDHCPPrivateOptions(PrivateOptions []v1.DHCPPrivateOptions) error

func ValidateVMIPresetSpec

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

func ValidateVirtualMachineInstanceMandatoryFields

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

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

func ValidateVirtualMachineInstanceMigrationSpec

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

func ValidateVirtualMachineInstanceSpec

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

func ValidateVirtualMachineSpec

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

Types

type MigrationCreateAdmitter

type MigrationCreateAdmitter struct {
	ClusterConfig *virtconfig.ClusterConfig
}

func (*MigrationCreateAdmitter) Admit

type MigrationUpdateAdmitter

type MigrationUpdateAdmitter struct {
}

func (*MigrationUpdateAdmitter) Admit

type VMICreateAdmitter

type VMICreateAdmitter struct {
	ClusterConfig *virtconfig.ClusterConfig
}

func (*VMICreateAdmitter) Admit

type VMIPresetAdmitter

type VMIPresetAdmitter struct {
}

func (*VMIPresetAdmitter) Admit

type VMIRSAdmitter

type VMIRSAdmitter struct {
	ClusterConfig *virtconfig.ClusterConfig
}

func (*VMIRSAdmitter) Admit

type VMIUpdateAdmitter

type VMIUpdateAdmitter struct {
}

func (*VMIUpdateAdmitter) Admit

type VMsAdmitter

type VMsAdmitter struct {
	ClusterConfig *virtconfig.ClusterConfig
}

func (*VMsAdmitter) Admit

Jump to

Keyboard shortcuts

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