Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ControllerIndexKey = ".metadata.controller"
)
Functions ¶
func SetOwnerIndex ¶
SetOwnerIndex sets the owner index for the given object.
func SetOwnerIndexForOwner ¶
func SetOwnerIndexForOwner(ctx context.Context, indexer client.FieldIndexer, ownerGVK schema.GroupVersionKind, ownedObj client.Object) error
SetOwnerIndexForOwner sets the owner index for the given object but only for the given owner GVK.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.