schedules

package
v1.35.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionState

type ActionState struct {
	ScheduleName string
	Success      bool
}

type LocalSchedulesService

type LocalSchedulesService struct {
	*schedules.ScheduleWorkerManager
	// contains filtered or unexported fields
}

func NewLocalSchedulesService

func NewLocalSchedulesService() *LocalSchedulesService

func (*LocalSchedulesService) GetSchedules

func (l *LocalSchedulesService) GetSchedules() State

func (*LocalSchedulesService) HandleRequest

func (*LocalSchedulesService) Schedule

func (*LocalSchedulesService) SubscribeToAction

func (l *LocalSchedulesService) SubscribeToAction(subscription func(ActionState))

func (*LocalSchedulesService) SubscribeToState

func (l *LocalSchedulesService) SubscribeToState(fn func(State))

type ScheduledService

type ScheduledService struct {
	ServiceName serviceName
	Schedule    *schedulespb.RegistrationRequest
}

type State

type State = map[scheduleName]*ScheduledService

Jump to

Keyboard shortcuts

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