Documentation ¶
Index ¶
- func ValidateDuplicateDHCPPrivateOptions(PrivateOptions []v1.DHCPPrivateOptions) error
- func ValidateVMIPresetSpec(field *k8sfield.Path, spec *v1.VirtualMachineInstancePresetSpec) []metav1.StatusCause
- func ValidateVMIRSSpec(field *k8sfield.Path, spec *v1.VirtualMachineInstanceReplicaSetSpec, ...) []metav1.StatusCause
- func ValidateVirtualMachineInstanceMandatoryFields(field *k8sfield.Path, spec *v1.VirtualMachineInstanceSpec) []metav1.StatusCause
- func ValidateVirtualMachineInstanceMetadata(field *k8sfield.Path, vmi *v1.VirtualMachineInstance, ...) []metav1.StatusCause
- func ValidateVirtualMachineInstanceMigrationSpec(field *k8sfield.Path, spec *v1.VirtualMachineInstanceMigrationSpec) []metav1.StatusCause
- func ValidateVirtualMachineInstanceSpec(field *k8sfield.Path, spec *v1.VirtualMachineInstanceSpec, ...) []metav1.StatusCause
- func ValidateVirtualMachineSpec(field *k8sfield.Path, spec *v1.VirtualMachineSpec, ...) []metav1.StatusCause
- type MigrationCreateAdmitter
- type MigrationUpdateAdmitter
- type VMICreateAdmitter
- type VMIPresetAdmitter
- type VMIRSAdmitter
- type VMIUpdateAdmitter
- type VMsAdmitter
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 ValidateVMIRSSpec ¶
func ValidateVMIRSSpec(field *k8sfield.Path, spec *v1.VirtualMachineInstanceReplicaSetSpec, config *virtconfig.ClusterConfig) []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 ¶
func (admitter *MigrationCreateAdmitter) Admit(ar *v1beta1.AdmissionReview) *v1beta1.AdmissionResponse
type MigrationUpdateAdmitter ¶
type MigrationUpdateAdmitter struct { }
func (*MigrationUpdateAdmitter) Admit ¶
func (admitter *MigrationUpdateAdmitter) Admit(ar *v1beta1.AdmissionReview) *v1beta1.AdmissionResponse
type VMICreateAdmitter ¶
type VMICreateAdmitter struct {
ClusterConfig *virtconfig.ClusterConfig
}
func (*VMICreateAdmitter) Admit ¶
func (admitter *VMICreateAdmitter) Admit(ar *v1beta1.AdmissionReview) *v1beta1.AdmissionResponse
type VMIPresetAdmitter ¶
type VMIPresetAdmitter struct { }
func (*VMIPresetAdmitter) Admit ¶
func (admitter *VMIPresetAdmitter) Admit(ar *v1beta1.AdmissionReview) *v1beta1.AdmissionResponse
type VMIRSAdmitter ¶
type VMIRSAdmitter struct {
ClusterConfig *virtconfig.ClusterConfig
}
func (*VMIRSAdmitter) Admit ¶
func (admitter *VMIRSAdmitter) Admit(ar *v1beta1.AdmissionReview) *v1beta1.AdmissionResponse
type VMIUpdateAdmitter ¶
type VMIUpdateAdmitter struct { }
func (*VMIUpdateAdmitter) Admit ¶
func (admitter *VMIUpdateAdmitter) Admit(ar *v1beta1.AdmissionReview) *v1beta1.AdmissionResponse
type VMsAdmitter ¶
type VMsAdmitter struct {
ClusterConfig *virtconfig.ClusterConfig
}
func (*VMsAdmitter) Admit ¶
func (admitter *VMsAdmitter) Admit(ar *v1beta1.AdmissionReview) *v1beta1.AdmissionResponse
Click to show internal directories.
Click to hide internal directories.