Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListPendingObjects ¶
type ListPendingObjects func(ctx context.Context, cl runtimeclient.Client, labelListOption runtimeclient.ListOption) ([]runtimeclient.Object, error)
type ObjectsMapper ¶
type ObjectsMapper struct {
// contains filtered or unexported fields
}
ObjectsMapper maps any object to an oldest pending object
func NewPendingObjectsMapper ¶
func NewPendingObjectsMapper(client runtimeclient.Client, objectType runtimeclient.Object, listPendingObjects ListPendingObjects) ObjectsMapper
NewPendingObjectsMapper creates an instance of ObjectsMapper that maps any object to an oldest pending object
func NewSpaceMapper ¶
func NewSpaceMapper(client runtimeclient.Client) ObjectsMapper
NewSpaceMapper creates an instance of SpaceMapper that maps any object to an oldest unapproved Space
func NewUserSignupMapper ¶
func NewUserSignupMapper(client runtimeclient.Client) ObjectsMapper
NewUserSignupMapper creates an instance of UserSignupMapper that maps any object to an oldest unapproved UserSignup
func (ObjectsMapper) BuildMapToOldestPending ¶
func (b ObjectsMapper) BuildMapToOldestPending(ctx context.Context) handler.MapFunc
func (ObjectsMapper) MapToOldestPending ¶
func (b ObjectsMapper) MapToOldestPending(ctx context.Context, obj runtimeclient.Object) []reconcile.Request
Click to show internal directories.
Click to hide internal directories.