Documentation
¶
Index ¶
- Constants
- type OriginPodHandler
- func (p *OriginPodHandler) Create(evt event.CreateEvent, q workqueue.RateLimitingInterface)
- func (p *OriginPodHandler) Delete(evt event.DeleteEvent, q workqueue.RateLimitingInterface)
- func (p *OriginPodHandler) Generic(evt event.GenericEvent, q workqueue.RateLimitingInterface)
- func (p *OriginPodHandler) Update(evt event.UpdateEvent, q workqueue.RateLimitingInterface)
- type PodReplaceHandler
- func (p *PodReplaceHandler) GetOpsProgress(ctx context.Context, candidate *OpsCandidate, ...) (progress ActionProgress, err error)
- func (p *PodReplaceHandler) OperateTarget(ctx context.Context, candidate *OpsCandidate, ...) error
- func (p *PodReplaceHandler) ReleaseTarget(ctx context.Context, candidate *OpsCandidate, ...) error
- func (p *PodReplaceHandler) Setup(controller controller.Controller, reconcileMixin *mixin.ReconcilerMixin) error
Constants ¶
View Source
const ( ReasonUpdateObjectFailed = "UpdateObjectFailed" ReasonGetObjectFailed = "GetObjectFailed" )
View Source
const (
OperationJobReplacePodFinalizer = "finalizer.operationjob.kusionstack.io/replace-protected"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OriginPodHandler ¶
func (*OriginPodHandler) Create ¶
func (p *OriginPodHandler) Create(evt event.CreateEvent, q workqueue.RateLimitingInterface)
func (*OriginPodHandler) Delete ¶
func (p *OriginPodHandler) Delete(evt event.DeleteEvent, q workqueue.RateLimitingInterface)
func (*OriginPodHandler) Generic ¶
func (p *OriginPodHandler) Generic(evt event.GenericEvent, q workqueue.RateLimitingInterface)
func (*OriginPodHandler) Update ¶
func (p *OriginPodHandler) Update(evt event.UpdateEvent, q workqueue.RateLimitingInterface)
type PodReplaceHandler ¶
type PodReplaceHandler struct {
// contains filtered or unexported fields
}
func (*PodReplaceHandler) GetOpsProgress ¶
func (p *PodReplaceHandler) GetOpsProgress(ctx context.Context, candidate *OpsCandidate, operationJob *appsv1alpha1.OperationJob) (progress ActionProgress, err error)
func (*PodReplaceHandler) OperateTarget ¶
func (p *PodReplaceHandler) OperateTarget(ctx context.Context, candidate *OpsCandidate, operationJob *appsv1alpha1.OperationJob) error
func (*PodReplaceHandler) ReleaseTarget ¶
func (p *PodReplaceHandler) ReleaseTarget(ctx context.Context, candidate *OpsCandidate, operationJob *appsv1alpha1.OperationJob) error
func (*PodReplaceHandler) Setup ¶ added in v0.6.0
func (p *PodReplaceHandler) Setup(controller controller.Controller, reconcileMixin *mixin.ReconcilerMixin) error
Click to show internal directories.
Click to hide internal directories.