Documentation ¶
Index ¶
- func ClientObjectGetter[ObjPtr ObjectPtr[Obj], Obj any](ctx context.Context, c client.Client, namespace string) func(name string) (ObjPtr, error)
- func ObjectByNameGetter[Obj client.Object](resource schema.GroupResource, objectByName map[string]Obj) func(name string) (Obj, error)
- func ObjectSliceToByNameGetter[S ~[]E, ObjPtr ObjectPtr[E], E any](resource schema.GroupResource, objs S) func(name string) (ObjPtr, error)
- func ObjectSliceToMapByName[S ~[]E, ObjPtr ObjectPtr[E], E any](objs S) map[string]ObjPtr
- type ObjectPtr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientObjectGetter ¶
func ObjectByNameGetter ¶
func ObjectSliceToMapByName ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.