Documentation ¶
Index ¶
Constants ¶
View Source
const ( // FailedCreateVirtualMachineReason is added in an event and in a replica set condition // when a virtual machine for a replica set is failed to be created. FailedCreateVirtualMachineReason = "FailedCreate" // SuccessfulCreateVirtualMachineReason is added in an event when a virtual machine for a replica set // is successfully created. SuccessfulCreateVirtualMachineReason = "SuccessfulCreate" // FailedDeleteVirtualMachineReason is added in an event and in a replica set condition // when a virtual machine for a replica set is failed to be deleted. FailedDeleteVirtualMachineReason = "FailedDelete" // SuccessfulDeleteVirtualMachineReason is added in an event when a virtual machine for a replica set // is successfully deleted. SuccessfulDeleteVirtualMachineReason = "SuccessfulDelete" // SuccessfulPausedReplicaSetReason is added in an event when the replica set discovered that it // should be paused. The event is triggered after it successfully managed to add the Paused Condition // to itself. SuccessfulPausedReplicaSetReason = "SuccessfulPaused" // SuccessfulResumedReplicaSetReason is added in an event when the replica set discovered that it // should be resumed. The event is triggered after it successfully managed to remove the Paused Condition // from itself. SuccessfulResumedReplicaSetReason = "SuccessfulResumed" )
Reasons for replicaset events
Variables ¶
This section is empty.
Functions ¶
func OvmOwnerRef ¶ added in v0.3.0
func OvmOwnerRef(ovm *virtv1.OfflineVirtualMachine) v1.OwnerReference
func OwnerRef ¶ added in v0.1.0
func OwnerRef(rs *virtv1.VirtualMachineReplicaSet) v1.OwnerReference
Types ¶
type OVMController ¶ added in v0.3.0
type OVMController struct { Queue workqueue.RateLimitingInterface // contains filtered or unexported fields }
func NewOVMController ¶ added in v0.3.0
func NewOVMController(vmInformer cache.SharedIndexInformer, vmOVMInformer cache.SharedIndexInformer, recorder record.EventRecorder, clientset kubecli.KubevirtClient) *OVMController
func (*OVMController) Execute ¶ added in v0.3.0
func (c *OVMController) Execute() bool
func (*OVMController) Run ¶ added in v0.3.0
func (c *OVMController) Run(threadiness int, stopCh chan struct{})
type VMController ¶
type VMController struct {
// contains filtered or unexported fields
}
func NewVMController ¶
func NewVMController(restClient *rest.RESTClient, vmService services.VMService, queue workqueue.RateLimitingInterface, vmCache cache.Store, vmInformer cache.SharedIndexInformer, podInformer cache.SharedIndexInformer, recorder record.EventRecorder, clientset kubecli.KubevirtClient) *VMController
func (*VMController) Execute ¶
func (c *VMController) Execute() bool
func (*VMController) Run ¶
func (c *VMController) Run(threadiness int, stopCh chan struct{})
type VMReplicaSet ¶ added in v0.0.3
type VMReplicaSet struct { Queue workqueue.RateLimitingInterface // contains filtered or unexported fields }
func NewVMReplicaSet ¶ added in v0.0.3
func NewVMReplicaSet(vmInformer cache.SharedIndexInformer, vmRSInformer cache.SharedIndexInformer, recorder record.EventRecorder, clientset kubecli.KubevirtClient, burstReplicas uint) *VMReplicaSet
func (*VMReplicaSet) Execute ¶ added in v0.0.3
func (c *VMReplicaSet) Execute() bool
func (*VMReplicaSet) Run ¶ added in v0.0.3
func (c *VMReplicaSet) Run(threadiness int, stopCh chan struct{})
type VirtControllerApp ¶
type VirtControllerApp struct { service.ServiceListen LeaderElection leaderelectionconfig.Configuration // contains filtered or unexported fields }
func (*VirtControllerApp) AddFlags ¶ added in v0.1.0
func (vca *VirtControllerApp) AddFlags()
func (*VirtControllerApp) Run ¶
func (vca *VirtControllerApp) Run()
type VirtualMachinePresetController ¶ added in v0.3.0
type VirtualMachinePresetController struct {
// contains filtered or unexported fields
}
func NewVirtualMachinePresetController ¶ added in v0.3.0
func NewVirtualMachinePresetController(vmPresetInformer cache.SharedIndexInformer, vmInitInformer cache.SharedIndexInformer, queue workqueue.RateLimitingInterface, vmInitCache cache.Store, clientset kubecli.KubevirtClient, recorder record.EventRecorder) *VirtualMachinePresetController
func (*VirtualMachinePresetController) Execute ¶ added in v0.3.0
func (c *VirtualMachinePresetController) Execute() bool
func (*VirtualMachinePresetController) Run ¶ added in v0.3.0
func (c *VirtualMachinePresetController) Run(threadiness int, stopCh chan struct{})
Click to show internal directories.
Click to hide internal directories.