Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOwnerCache ¶
func OwnerRefForObject ¶
func OwnerRefForObject(obj client.Object) metav1.OwnerReference
Types ¶
type OwnerCache ¶
type OwnerCache interface { Wait() RegisterGroupKind(ctx context.Context, gk schema.GroupKind) error ReplaceObject(object client.Object) (utils.ObjectId, utils.ObjectIds) DeleteObject(id utils.ObjectId) utils.ObjectIds GetOwnersFor(id utils.ObjectId) utils.ObjectIds GetOwnersByTypeFor(id utils.ObjectId, gk schema.GroupKind) utils.ObjectIds GetSerfsFor(id utils.ObjectId) utils.ObjectIds GetSerfsWithTypeFor(id utils.ObjectId, gk schema.GroupKind) utils.ObjectIds GetSerfsForObject(obj client.Object) utils.ObjectIds GetSerfsWithTypeForObject(obj client.Object, gk schema.GroupKind) utils.ObjectIds CreateSerf(ctx context.Context, owner, serf client.Object, opts ...client.CreateOption) error }
Click to show internal directories.
Click to hide internal directories.