Documentation ¶
Index ¶
- type DependentResourceManager
- func (manager *DependentResourceManager) Get(resource policyv1alpha1.DependentResource) (*unstructured.Unstructured, error)
- func (manager *DependentResourceManager) HasSyncedPolicyDependentResources(name string) (bool, error)
- func (manager *DependentResourceManager) List(gvr schema.GroupVersionResource) (ret []*unstructured.Unstructured, err error)
- func (manager *DependentResourceManager) RemoveLifecycle(name string)
- func (manager *DependentResourceManager) RemovePolicy(name string)
- func (manager *DependentResourceManager) SetLifecycleDependentResources(name string, references map[policyv1alpha1.DependentResource]struct{})
- func (manager *DependentResourceManager) SetPolicyDependentGVRs(name string, source schema.GroupVersionResource, ...) error
- type Result
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 (manager *DependentResourceManager) Get(resource policyv1alpha1.DependentResource) (*unstructured.Unstructured, error)
func (*DependentResourceManager) HasSyncedPolicyDependentResources ¶
func (manager *DependentResourceManager) HasSyncedPolicyDependentResources(name string) (bool, error)
func (*DependentResourceManager) List ¶
func (manager *DependentResourceManager) List(gvr schema.GroupVersionResource) (ret []*unstructured.Unstructured, err error)
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
Click to show internal directories.
Click to hide internal directories.