Documentation ¶
Index ¶
- type Service
- func (s *Service) GetSchedulerConfig() *v1beta2config.KubeSchedulerConfiguration
- func (s *Service) RestartScheduler(cfg *v1beta2config.KubeSchedulerConfiguration) error
- func (s *Service) ShutdownScheduler()
- func (s *Service) StartScheduler(versionedcfg *v1beta2config.KubeSchedulerConfiguration) error
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.
Click to show internal directories.
Click to hide internal directories.