controllers

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FailedCreate Event reason used when a resource creation fails.
	// The event uses the error(s) as the reason.
	FailedCreate = "FailedCreate"
)

Variables

This section is empty.

Functions

func SetupIndexes

func SetupIndexes(indexer client.FieldIndexer) error

Types

type LeaderWorkerSetReconciler

type LeaderWorkerSetReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	Record record.EventRecorder
}

LeaderWorkerSetReconciler reconciles a LeaderWorkerSet object

func NewLeaderWorkerSetReconciler

func NewLeaderWorkerSetReconciler(client client.Client, scheme *runtime.Scheme, record record.EventRecorder) *LeaderWorkerSetReconciler

func (*LeaderWorkerSetReconciler) Reconcile

func (*LeaderWorkerSetReconciler) SSAWithStatefulset added in v0.2.0

func (r *LeaderWorkerSetReconciler) SSAWithStatefulset(ctx context.Context, lws *leaderworkerset.LeaderWorkerSet, partition int32) error

func (*LeaderWorkerSetReconciler) SetupWithManager

func (r *LeaderWorkerSetReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type PodReconciler

type PodReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

PodReconciler reconciles a LeaderWorkerSet object

func NewPodReconciler

func NewPodReconciler(client client.Client, schema *runtime.Scheme) *PodReconciler

func (*PodReconciler) Reconcile

func (r *PodReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*PodReconciler) SetupWithManager

func (r *PodReconciler) SetupWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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