Documentation ¶
Index ¶
- func GetRequests(a client.Object, migrationNamespace string, source interface{}) []reconcile.Request
- func RefEquals(refA, refB *kapi.ObjectReference) bool
- func RefSet(ref *kapi.ObjectReference) bool
- func ToKind(resource interface{}) string
- type MigrationNamespacePredicate
- type RefMap
- type RefOwner
- type RefTarget
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRequests ¶
func RefEquals ¶
func RefEquals(refA, refB *kapi.ObjectReference) bool
func RefSet ¶
func RefSet(ref *kapi.ObjectReference) bool
Types ¶
type MigrationNamespacePredicate ¶
func (MigrationNamespacePredicate) Create ¶
func (m MigrationNamespacePredicate) Create(evt event.CreateEvent) bool
func (MigrationNamespacePredicate) Delete ¶
func (m MigrationNamespacePredicate) Delete(evt event.DeleteEvent) bool
func (MigrationNamespacePredicate) Update ¶
func (m MigrationNamespacePredicate) Update(evt event.UpdateEvent) bool
type RefMap ¶
A 1-n mapping of RefTarget => [RefOwner, ...].
type RefTarget ¶
type RefTarget kapi.ObjectReference
The resource that is the target of an ObjectReference.
Click to show internal directories.
Click to hide internal directories.