v1beta1

package
v0.0.0-...-d0cda72 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterPodGroupGeneratingHandler

func RegisterPodGroupGeneratingHandler(ctx context.Context, controller PodGroupController, apply apply.Apply,
	condition condition.Cond, name string, handler PodGroupGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterPodGroupGeneratingHandler configures a PodGroupController to execute a PodGroupGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterPodGroupStatusHandler

func RegisterPodGroupStatusHandler(ctx context.Context, controller PodGroupController, condition condition.Cond, name string, handler PodGroupStatusHandler)

RegisterPodGroupStatusHandler configures a PodGroupController to execute a PodGroupStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterQueueGeneratingHandler

func RegisterQueueGeneratingHandler(ctx context.Context, controller QueueController, apply apply.Apply,
	condition condition.Cond, name string, handler QueueGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterQueueGeneratingHandler configures a QueueController to execute a QueueGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterQueueStatusHandler

func RegisterQueueStatusHandler(ctx context.Context, controller QueueController, condition condition.Cond, name string, handler QueueStatusHandler)

RegisterQueueStatusHandler configures a QueueController to execute a QueueStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

Types

type Interface

type Interface interface {
	PodGroup() PodGroupController
	Queue() QueueController
}

func New

func New(controllerFactory controller.SharedControllerFactory) Interface

type PodGroupCache

type PodGroupCache interface {
	generic.NonNamespacedCacheInterface[*v1beta1.PodGroup]
}

PodGroupCache interface for retrieving PodGroup resources in memory.

type PodGroupClient

PodGroupClient interface for managing PodGroup resources in Kubernetes.

type PodGroupController

type PodGroupController interface {
	generic.NonNamespacedControllerInterface[*v1beta1.PodGroup, *v1beta1.PodGroupList]
}

PodGroupController interface for managing PodGroup resources.

type PodGroupGeneratingHandler

type PodGroupGeneratingHandler func(obj *v1beta1.PodGroup, status v1beta1.PodGroupStatus) ([]runtime.Object, v1beta1.PodGroupStatus, error)

PodGroupGeneratingHandler is the top-level handler that is executed for every PodGroup event. It extends PodGroupStatusHandler by a returning a slice of child objects to be passed to apply.Apply

type PodGroupStatusHandler

type PodGroupStatusHandler func(obj *v1beta1.PodGroup, status v1beta1.PodGroupStatus) (v1beta1.PodGroupStatus, error)

PodGroupStatusHandler is executed for every added or modified PodGroup. Should return the new status to be updated

type QueueCache

type QueueCache interface {
	generic.NonNamespacedCacheInterface[*v1beta1.Queue]
}

QueueCache interface for retrieving Queue resources in memory.

type QueueClient

type QueueClient interface {
	generic.NonNamespacedClientInterface[*v1beta1.Queue, *v1beta1.QueueList]
}

QueueClient interface for managing Queue resources in Kubernetes.

type QueueController

type QueueController interface {
	generic.NonNamespacedControllerInterface[*v1beta1.Queue, *v1beta1.QueueList]
}

QueueController interface for managing Queue resources.

type QueueGeneratingHandler

type QueueGeneratingHandler func(obj *v1beta1.Queue, status v1beta1.QueueStatus) ([]runtime.Object, v1beta1.QueueStatus, error)

QueueGeneratingHandler is the top-level handler that is executed for every Queue event. It extends QueueStatusHandler by a returning a slice of child objects to be passed to apply.Apply

type QueueStatusHandler

type QueueStatusHandler func(obj *v1beta1.Queue, status v1beta1.QueueStatus) (v1beta1.QueueStatus, error)

QueueStatusHandler is executed for every added or modified Queue. Should return the new status to be updated

Jump to

Keyboard shortcuts

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