Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KubeVirtGroupVersionResource = metav1.GroupVersionResource{ Group: v1.VirtualMachineInstanceGroupVersionKind.Group, Version: v1.VirtualMachineInstanceGroupVersionKind.Version, Resource: "kubevirts", }
Functions ¶
This section is empty.
Types ¶
type KubeVirtDeletionAdmitter ¶
type KubeVirtDeletionAdmitter struct {
// contains filtered or unexported fields
}
func NewKubeVirtDeletionAdmitter ¶
func NewKubeVirtDeletionAdmitter(client kubecli.KubevirtClient) *KubeVirtDeletionAdmitter
func (*KubeVirtDeletionAdmitter) Admit ¶
func (k *KubeVirtDeletionAdmitter) Admit(review *admissionv1.AdmissionReview) *admissionv1.AdmissionResponse
type KubeVirtUpdateAdmitter ¶ added in v0.36.1
type KubeVirtUpdateAdmitter struct { Client kubecli.KubevirtClient ClusterConfig *virtconfig.ClusterConfig }
KubeVirtUpdateAdmitter validates KubeVirt updates
func NewKubeVirtUpdateAdmitter ¶ added in v0.36.1
func NewKubeVirtUpdateAdmitter(client kubecli.KubevirtClient, clusterConfig *virtconfig.ClusterConfig) *KubeVirtUpdateAdmitter
NewKubeVirtUpdateAdmitter creates a KubeVirtUpdateAdmitter
func (*KubeVirtUpdateAdmitter) Admit ¶ added in v0.36.1
func (admitter *KubeVirtUpdateAdmitter) Admit(ar *admissionv1.AdmissionReview) *admissionv1.AdmissionResponse
Click to show internal directories.
Click to hide internal directories.