replace

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExtraInfoNotAllowedToReplaceNewPod = "NotAllowedToReplaceNewPod"
)
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) OperateTargets added in v0.6.1

func (p *PodReplaceHandler) OperateTargets(ctx context.Context, candidates []*OpsCandidate, operationJob *appsv1alpha1.OperationJob) map[string]error

func (*PodReplaceHandler) ReleaseTargets added in v0.6.1

func (p *PodReplaceHandler) ReleaseTargets(ctx context.Context, candidates []*OpsCandidate, operationJob *appsv1alpha1.OperationJob) map[string]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
JackTT - Gopher 🇻🇳