sync

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WorkloadSyncer

type WorkloadSyncer struct {
	// contains filtered or unexported fields
}

WorkloadSyncer 封装实际工作逻辑

func NewWorkloadSyncer

func NewWorkloadSyncer(
	ctx context.Context,
	namespaces,
	excludes []string,
	includes []string,
	outpath string,
	clientSet *kubernetes.Clientset,
	skipConfigMap bool,
	skipPvPvc bool,
	skipSecret bool,
) *WorkloadSyncer

NewWorkloadSyncer 构造器

func (*WorkloadSyncer) CleanPvPvc

func (s *WorkloadSyncer) CleanPvPvc(wks []interface{}, clientSet *kubernetes.Clientset) *cleandata.CleanPvPvcResponse

func (*WorkloadSyncer) CleanRBAC

func (s *WorkloadSyncer) CleanRBAC(wks []interface{}, clientSet *kubernetes.Clientset) *cleandata.CleanRBACResponse

func (*WorkloadSyncer) CleanSecret

func (s *WorkloadSyncer) CleanSecret(wks []interface{}, set *kubernetes.Clientset) *cleandata.CleanSecretResponse

func (*WorkloadSyncer) Run

func (s *WorkloadSyncer) Run()

Run 主流程

Jump to

Keyboard shortcuts

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