Documentation ¶
Overview ¶
Package ownerext provides a mechanism for managing dependency information across Kubernetes namespaces (because ownerReference fields cannot).
Index ¶
- type DependencyOf
- type EnqueueRequestForAnnotatedDependent
- func (e *EnqueueRequestForAnnotatedDependent) Create(evt event.CreateEvent, q workqueue.RateLimitingInterface)
- func (e *EnqueueRequestForAnnotatedDependent) Delete(evt event.DeleteEvent, q workqueue.RateLimitingInterface)
- func (e *EnqueueRequestForAnnotatedDependent) Generic(evt event.GenericEvent, q workqueue.RateLimitingInterface)
- func (e *EnqueueRequestForAnnotatedDependent) InjectScheme(s *runtime.Scheme) error
- func (e *EnqueueRequestForAnnotatedDependent) Update(evt event.UpdateEvent, q workqueue.RateLimitingInterface)
- type Manager
- func (m *Manager) GetDependencyOf(target metav1.Object) (DependencyOf, bool, error)
- func (m *Manager) IsDependencyOf(target metav1.Object, owner lifecycle.TypedObject) (bool, error)
- func (m *Manager) NewEnqueueRequestForAnnotatedDependencyOf(ownerType runtime.Object) *EnqueueRequestForAnnotatedDependent
- func (m *Manager) SetDependencyOf(target metav1.Object, owner lifecycle.TypedObject) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DependencyOf ¶
type EnqueueRequestForAnnotatedDependent ¶
type EnqueueRequestForAnnotatedDependent struct { Manager *Manager OwnerType runtime.Object // contains filtered or unexported fields }
func (*EnqueueRequestForAnnotatedDependent) Create ¶
func (e *EnqueueRequestForAnnotatedDependent) Create(evt event.CreateEvent, q workqueue.RateLimitingInterface)
func (*EnqueueRequestForAnnotatedDependent) Delete ¶
func (e *EnqueueRequestForAnnotatedDependent) Delete(evt event.DeleteEvent, q workqueue.RateLimitingInterface)
func (*EnqueueRequestForAnnotatedDependent) Generic ¶
func (e *EnqueueRequestForAnnotatedDependent) Generic(evt event.GenericEvent, q workqueue.RateLimitingInterface)
func (*EnqueueRequestForAnnotatedDependent) InjectScheme ¶
func (e *EnqueueRequestForAnnotatedDependent) InjectScheme(s *runtime.Scheme) error
func (*EnqueueRequestForAnnotatedDependent) Update ¶
func (e *EnqueueRequestForAnnotatedDependent) Update(evt event.UpdateEvent, q workqueue.RateLimitingInterface)
type Manager ¶
type Manager struct {
Annotation string
}
func NewManager ¶
func (*Manager) GetDependencyOf ¶
func (*Manager) IsDependencyOf ¶
func (*Manager) NewEnqueueRequestForAnnotatedDependencyOf ¶
func (m *Manager) NewEnqueueRequestForAnnotatedDependencyOf(ownerType runtime.Object) *EnqueueRequestForAnnotatedDependent
func (*Manager) SetDependencyOf ¶
Click to show internal directories.
Click to hide internal directories.