Documentation ¶
Index ¶
- func FilterObject[S meta.Object](obj S, filters ...Filter[S]) bool
- func WithModStatusGetter[S meta.Object](gvk schema.GroupVersionKind, in func() ModClient[S]) func() ModStatusClient[S]
- type Action
- type ClientStatusGetter
- type CreateInterface
- type DeleteInterface
- type ExtractorList
- type Filter
- type GetInterface
- type Inspector
- type InspectorInterface
- type InspectorStatusInterface
- type ListContinue
- type ListInterface
- type ModClient
- type ModStatusClient
- type PatchInterface
- type ReadClient
- type ThrottleGetter
- type UpdateInterface
- type UpdateStatusInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithModStatusGetter ¶
func WithModStatusGetter[S meta.Object](gvk schema.GroupVersionKind, in func() ModClient[S]) func() ModStatusClient[S]
Types ¶
type ClientStatusGetter ¶
type ClientStatusGetter[S meta.Object] func() ModStatusClient[S]
type CreateInterface ¶
type DeleteInterface ¶
type ExtractorList ¶
type ExtractorList[L ListContinue, S meta.Object] func(in L) []S
type GetInterface ¶
type InspectorInterface ¶
type InspectorInterface[S meta.Object] interface { ModClient[S] ReadClient[S] }
type InspectorStatusInterface ¶
type InspectorStatusInterface[S meta.Object] interface { ModStatusClient[S] ReadClient[S] }
type ListContinue ¶
type ListContinue interface {
GetContinue() string
}
type ListInterface ¶
type ListInterface[S ListContinue] interface { List(ctx context.Context, opts meta.ListOptions) (S, error) }
type ModClient ¶
type ModClient[S meta.Object] interface { CreateInterface[S] UpdateInterface[S] PatchInterface[S] DeleteInterface[S] }
func WithEmptyMod ¶
func WithEmptyMod[S meta.Object](gvk schema.GroupVersionKind) ModClient[S]
type ModStatusClient ¶
type ModStatusClient[S meta.Object] interface { ModClient[S] UpdateStatusInterface[S] }
func NewModThrottle ¶
func NewModThrottle[S meta.Object](component definitions.Component, componentGetter ThrottleGetter, clientStatus ClientStatusGetter[S]) ModStatusClient[S]
func WithModStatus ¶
func WithModStatus[S meta.Object](gvk schema.GroupVersionKind, in ModClient[S]) ModStatusClient[S]
type PatchInterface ¶
type ReadClient ¶
type ReadClient[S meta.Object] interface { GetInterface[S] }
type ThrottleGetter ¶
type ThrottleGetter func() throttle.Components
type UpdateInterface ¶
type UpdateStatusInterface ¶
Click to show internal directories.
Click to hide internal directories.