Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Data ¶
Data defines a shared holder for all objects Dataer
var ( // TableData is the package data holder for all objects schedule TableData *Data[Table] )
func (*Data[T]) GetAll ¶
func (c *Data[T]) GetAll() []DataElement[T]
type DataElement ¶
type Entry ¶
type Entry struct { Action string `json:"action"` Schedule string `json:"schedule"` Key string `json:"key"` LastRunAt time.Time `json:"last_run_at"` LastRunFile string `json:"last_run_file"` LastSuccessFile string `json:"last_success_file"` NextRunAt time.Time `json:"next_run_at"` Node string `json:"node"` Path naming.Path `json:"path"` RequireCollector bool `json:"require_collector"` RequireProvisioned bool `json:"require_provisioned"` }
type Table ¶
type Table []Entry
func (Table) AddEntries ¶
func (Table) MergeEntries ¶
func (Table) MergeEntry ¶
Click to show internal directories.
Click to hide internal directories.