Documentation ¶
Overview ¶
Package chronologist provides domain types and logic for the application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Annotation ¶
type Annotation struct { GrafanaID int Time time.Time ReleaseType ReleaseType ReleaseStatus string ReleaseName string ReleaseRevision string ReleaseNamespace string }
Annotation represent an abstract annotation that Chronologist manages. Annotation can be serialized or unserialized using different sources. See "grafana" and "helm" packages for such functional.
func (Annotation) Differences ¶
func (a Annotation) Differences(ann Annotation) []string
Differences compares annotations and returns differences.
type ReleaseType ¶
type ReleaseType string
ReleaseType is a type of release.
const ( // ReleaseTypeRollout is a rollout release type. ReleaseTypeRollout ReleaseType = "rollout" // ReleaseTypeRollback is a rollback release type. ReleaseTypeRollback ReleaseType = "rollback" )
func (ReleaseType) String ¶
func (t ReleaseType) String() string
String returns release type in a string form.
Click to show internal directories.
Click to hide internal directories.