Documentation ¶
Overview ¶
Package schedulemanager schedules association and submits the association to the task pool schedulemanager is a singleton so it can be access at the plugin level
Index ¶
- func IsAssociationInProgress(associationID string) bool
- func LoadNextScheduledAssociation(log log.T) (*model.InstanceAssociation, error)
- func LoadNextScheduledDate(log log.T) *time.Time
- func Refresh(log log.T, assocs []*model.InstanceAssociation)
- func Schedules() []*model.InstanceAssociation
- func UpdateAssociationStatus(associationID string, status string)
- func UpdateNextScheduledDate(log log.T, associationID string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAssociationInProgress ¶
IsAssociationInProgress returns if given association has detailed status as InProgress
func LoadNextScheduledAssociation ¶
func LoadNextScheduledAssociation(log log.T) (*model.InstanceAssociation, error)
LoadNextScheduledAssociation returns next scheduled association
func LoadNextScheduledDate ¶
LoadNextScheduledDate returns next scheduled date
func Refresh ¶
func Refresh(log log.T, assocs []*model.InstanceAssociation)
Refresh refreshes cached associationRawData
func Schedules ¶
func Schedules() []*model.InstanceAssociation
Schedules returns all the cached schedules
func UpdateAssociationStatus ¶
UpdateAssociationStatus sets detailed status for the given association
func UpdateNextScheduledDate ¶
UpdateNextScheduledDate sets next scheduled date for the given association
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.