sfdefaultscheduler

package
v0.0.0-...-1aaef2a Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0, BSD-3-Clause, CC-BY-3.0, + 1 more Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SFDefaultScheduler

type SFDefaultScheduler struct {
	client.Client
	Log logr.Logger
}

SFDefaultScheduler schedules an SFServiceInstance to the default cluster

func (*SFDefaultScheduler) Reconcile

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

Reconcile schedules the SFServiceInstance to the default SFCluster and sets the ClusterID in SFServiceInstance.Spec.ClusterID.

func (*SFDefaultScheduler) SetupWithManager

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

SetupWithManager registers the default scheduler with manager add setups the watches.

Jump to

Keyboard shortcuts

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