finalizercontroller

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2021 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAddFinalizerController

func NewAddFinalizerController(
	recorder events.Recorder,
	manifestWorkClient workv1client.ManifestWorkInterface,
	manifestWorkInformer workinformer.ManifestWorkInformer,
	manifestWorkLister worklister.ManifestWorkNamespaceLister,
) factory.Controller

NewAddFinalizerController returns a ManifestWorkController

func NewAppliedManifestWorkFinalizeController

func NewAppliedManifestWorkFinalizeController(
	recorder events.Recorder,
	spokeDynamicClient dynamic.Interface,
	appliedManifestWorkClient workv1client.AppliedManifestWorkInterface,
	appliedManifestWorkInformer workinformer.AppliedManifestWorkInformer,
) factory.Controller

func NewManifestWorkFinalizeController

func NewManifestWorkFinalizeController(
	recorder events.Recorder,
	manifestWorkClient workv1client.ManifestWorkInterface,
	manifestWorkInformer workinformer.ManifestWorkInformer,
	manifestWorkLister worklister.ManifestWorkNamespaceLister,
	appliedManifestWorkClient workv1client.AppliedManifestWorkInterface,
	appliedManifestWorkInformer workinformer.AppliedManifestWorkInformer,
	hubHash string,
) factory.Controller

Types

type AddFinalizerController

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

AddFinalizerController is to add the cluster.open-cluster-management.io/manifest-work-cleanup finalizer to manifestworks.

type AppliedManifestWorkFinalizeController

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

AppliedManifestWorkFinalizeController handles cleanup of appliedmanifestwork resources before deletion is allowed.

type ManifestWorkFinalizeController

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

ManifestWorkFinalizeController handles cleanup of manifestwork resources before deletion is allowed.

Jump to

Keyboard shortcuts

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