gardener: github.com/gardener/gardener/pkg/scheduler/controller/backupbucket Index | Files

package backupbucket

import "github.com/gardener/gardener/pkg/scheduler/controller/backupbucket"

Index

Package Files

scheduler.go scheduler_reconciler.go

Constants

const MsgUnschedulable = "Failed to schedule backupbucket"

MsgUnschedulable is the Message for the Event on a BackupBucket that the Scheduler creates in case it cannot schedule the BackupBucket to any Seed

type SchedulerController Uses

type SchedulerController struct {
    // contains filtered or unexported fields
}

SchedulerController controls Seeds.

func NewGardenerScheduler Uses

func NewGardenerScheduler(ctx context.Context, k8sGardenClient kubernetes.Interface, k8sGardenCoreInformers gardencoreinformers.SharedInformerFactory, config *config.SchedulerConfiguration, recorder record.EventRecorder) *SchedulerController

NewGardenerScheduler takes a Kubernetes client for the Garden clusters <k8sGardenClient>, a <sharedInformerFactory>, a struct containing the scheduler configuration and a <recorder> for event recording. It creates a new NewGardenerScheduler.

func (*SchedulerController) CollectMetrics Uses

func (c *SchedulerController) CollectMetrics(ch chan<- prometheus.Metric)

CollectMetrics implements gardenmetrics.ControllerMetricsCollector interface

func (*SchedulerController) Run Uses

func (c *SchedulerController) Run(ctx context.Context, k8sGardenCoreInformers gardencoreinformers.SharedInformerFactory)

Run runs the SchedulerController until the given stop channel can be read from.

func (*SchedulerController) RunningWorkers Uses

func (c *SchedulerController) RunningWorkers() int

RunningWorkers returns the number of running workers.

Package backupbucket imports 23 packages (graph). Updated 2020-01-08. Refresh now. Tools for package owners.