Documentation
¶
Index ¶
Constants ¶
View Source
const ( // 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 OwnerRef ¶
func OwnerRef(rs *virtv1.VirtualMachineInstanceReplicaSet) metav1.OwnerReference
Types ¶
type Controller ¶
type Controller struct { Queue workqueue.TypedRateLimitingInterface[string] // contains filtered or unexported fields }
func NewController ¶
func NewController(vmiInformer cache.SharedIndexInformer, vmiRSInformer cache.SharedIndexInformer, recorder record.EventRecorder, clientset kubecli.KubevirtClient, burstReplicas uint) (*Controller, error)
func (*Controller) Execute ¶
func (c *Controller) Execute() bool
func (*Controller) Run ¶
func (c *Controller) Run(threadiness int, stopCh <-chan struct{})
Click to show internal directories.
Click to hide internal directories.