Documentation ¶
Index ¶
- Constants
- func SetupIndexes(indexer client.FieldIndexer) error
- type LeaderWorkerSetReconciler
- func (r *LeaderWorkerSetReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *LeaderWorkerSetReconciler) SSAWithStatefulset(ctx context.Context, lws *leaderworkerset.LeaderWorkerSet, ...) error
- func (r *LeaderWorkerSetReconciler) SetupWithManager(mgr ctrl.Manager) error
- type PodReconciler
Constants ¶
View Source
const ( // FailedCreate Event reason used when a resource creation fails. // The event uses the error(s) as the reason. FailedCreate = "FailedCreate" GroupsProgressing = "GroupsProgressing" GroupsUpdating = "GroupsUpdating" CreatingRevision = "CreatingRevision" )
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) SSAWithStatefulset ¶ added in v0.2.0
func (r *LeaderWorkerSetReconciler) SSAWithStatefulset(ctx context.Context, lws *leaderworkerset.LeaderWorkerSet, partition, replicas int32, revisionKey string) error
func (*LeaderWorkerSetReconciler) SetupWithManager ¶
func (r *LeaderWorkerSetReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type PodReconciler ¶
PodReconciler reconciles a LeaderWorkerSet object
func NewPodReconciler ¶
func NewPodReconciler(client client.Client, schema *runtime.Scheme, record record.EventRecorder) *PodReconciler
func (*PodReconciler) SetupWithManager ¶
func (r *PodReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.