scheduler

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service manages scheduler.

func NewSchedulerService

func NewSchedulerService(client clientset.Interface, restclientCfg *restclient.Config) *Service

NewSchedulerService starts scheduler and return *Service.

func (*Service) GetSchedulerConfig

func (s *Service) GetSchedulerConfig() *v1beta2config.KubeSchedulerConfiguration

func (*Service) RestartScheduler

func (s *Service) RestartScheduler(cfg *v1beta2config.KubeSchedulerConfiguration) error

func (*Service) ShutdownScheduler

func (s *Service) ShutdownScheduler()

func (*Service) StartScheduler

func (s *Service) StartScheduler(versionedcfg *v1beta2config.KubeSchedulerConfiguration) error

StartScheduler starts scheduler.

Directories

Path Synopsis
mock
Package mock_plugin is a generated GoMock package.
Package mock_plugin is a generated GoMock package.

Jump to

Keyboard shortcuts

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