scheduler

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scheduler

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

func NewScheduler

func NewScheduler() *Scheduler

func (*Scheduler) CleanupRemainingServices

func (s *Scheduler) CleanupRemainingServices() map[string]service.ServiceStatus

func (*Scheduler) ExecuteService

func (s *Scheduler) ExecuteService(serv service.ServiceInterface) error

func (*Scheduler) NotifyServiceUpdate

func (s *Scheduler) NotifyServiceUpdate() <-chan service.ServiceUpdateInterface

func (*Scheduler) RecvNotifyServiceStatus

func (s *Scheduler) RecvNotifyServiceStatus()

func (*Scheduler) RegisterServices

func (s *Scheduler) RegisterServices(services map[string]service.ServiceInterface)

func (*Scheduler) Start

func (s *Scheduler) Start() error

func (*Scheduler) UpdateServiceStatus

func (s *Scheduler) UpdateServiceStatus(update service.ServiceUpdateInterface)

Jump to

Keyboard shortcuts

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