Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorAccessDenied = errors.New("access denied")
View Source
var ErrorIdMissmatch = errors.New("path id does not match body id")
View Source
var ErrorMissingCronExpr = errors.New("missing cron expression")
View Source
var ErrorMissingProcessDeploymentId = errors.New("missing process_deployment_id")
View Source
var ErrorNotFound = errors.New("not found")
Functions ¶
This section is empty.
Types ¶
type ScheduleEntry ¶
type ScheduleEntry struct { Id string `json:"id" bson:"id"` User string `json:"-" bson:"user"` Cron string `json:"cron" bson:"cron"` ProcessDeploymentId string `json:"process_deployment_id" bson:"process_deployment_id"` ProcessAlias *string `json:"process_alias,omitempty" bson:"process_alias"` Disabled *bool `json:"disabled,omitempty" bson:"disabled"` CreatedBy *string `json:"created_by,omitempty" bson:"created_by"` }
func (*ScheduleEntry) Validate ¶
func (this *ScheduleEntry) Validate() error
func (*ScheduleEntry) ValidateAndEnsureId ¶
func (this *ScheduleEntry) ValidateAndEnsureId(pathId string) error
Click to show internal directories.
Click to hide internal directories.