controller

package
v0.6.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DependentResourceManager

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

func NewDependentResourceManager

func NewDependentResourceManager(
	policyQueue workqueue.RateLimitingInterface,
	lifecycleQueue workqueue.RateLimitingInterface,
	listerWatcherFactory informer.DynamicListerWatcherFactory,
) *DependentResourceManager

func (*DependentResourceManager) Get

func (*DependentResourceManager) HasSyncedPolicyDependentResources

func (manager *DependentResourceManager) HasSyncedPolicyDependentResources(name string) (bool, error)

func (*DependentResourceManager) List

func (*DependentResourceManager) RemoveLifecycle

func (manager *DependentResourceManager) RemoveLifecycle(name string)

func (*DependentResourceManager) RemovePolicy

func (manager *DependentResourceManager) RemovePolicy(name string)

func (*DependentResourceManager) SetLifecycleDependentResources

func (manager *DependentResourceManager) SetLifecycleDependentResources(name string, references map[policyv1alpha1.DependentResource]struct{})

func (*DependentResourceManager) SetPolicyDependentGVRs

func (manager *DependentResourceManager) SetPolicyDependentGVRs(name string, source schema.GroupVersionResource, references map[schema.GroupVersionResource]struct{}) error

type Result

type Result interface {
	Requeue() bool
	MaxRetryCount() int
}
var NoRequeueResult Result = noRequeueResult{}

func RequeueResult

func RequeueResult(retry int) Result

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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