pending

package
v0.0.0-...-7b31e83 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL