replace

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

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

type OriginPodHandler struct {
	client.Client
}

func (*OriginPodHandler) Create

func (*OriginPodHandler) Delete

func (*OriginPodHandler) Generic

func (*OriginPodHandler) Update

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL