model

package
v0.0.0-...-a9fa796 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Schedule

type Schedule struct {
	ToCleanup      bool
	CronExpression string
	ContainerUUID  string
	CronID         cron.EntryID
	ServiceUUID    string
}

Schedule holds data related to an individual schedule such as cronId, schedule, ContainerUUID, etc

func NewSchedule

func NewSchedule() *Schedule

NewSchedule is a constructor to help set default values

type Schedules

type Schedules map[string]*Schedule

Schedules is a simple collection of Schedule

Jump to

Keyboard shortcuts

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