Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KnownCalendars ¶
func KnownCalendars() []string
func KnownSessions ¶
func KnownSessions() []string
Types ¶
type InvocationState ¶
type InvocationState struct {
Paused bool `json:"paused,omitempty"`
PausedUntil *time.Time `json:"paused_until,omitempty"`
PauseReason string `json:"pause_reason,omitempty"`
SkipNext bool `json:"skip_next,omitempty"`
Degraded bool `json:"degraded,omitempty"`
ConsecutiveFailures int `json:"consecutive_failures,omitempty"`
LastEvaluatedAt *time.Time `json:"last_evaluated_at,omitempty"`
LastAttemptedAt *time.Time `json:"last_attempted_at,omitempty"`
LastFiredAt *time.Time `json:"last_fired_at,omitempty"`
LastSkippedAt *time.Time `json:"last_skipped_at,omitempty"`
NextFireAt *time.Time `json:"next_fire_at,omitempty"`
LastStatus string `json:"last_status,omitempty"`
LastDetail string `json:"last_detail,omitempty"`
}
func (InvocationState) Clone ¶
func (s InvocationState) Clone() InvocationState
type Manifest ¶
type Manifest struct {
Version int `json:"version"`
Pod string `json:"pod"`
Invocations []ManifestInvocation `json:"invocations,omitempty"`
}
type ManifestInvocation ¶
type ManifestInvocation struct {
ID string `json:"id"`
Service string `json:"service"`
AgentID string `json:"agent_id"`
Schedule string `json:"schedule"`
Timezone string `json:"timezone"`
Message string `json:"message"`
Name string `json:"name,omitempty"`
To string `json:"to,omitempty"`
When *When `json:"when,omitempty"`
Wake Wake `json:"wake"`
}
type SessionState ¶
type SessionState struct {
Open bool `json:"open"`
Name Session `json:"name"`
Timezone string `json:"timezone,omitempty"`
Reason string `json:"reason,omitempty"`
}
func (SessionState) Matches ¶
func (s SessionState) Matches(required Session) bool
type StateFile ¶
Click to show internal directories.
Click to hide internal directories.