Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterStore ¶
type ClusterStore struct {
Cluster string `json:"cluster"`
HashWithTimestamp map[string]time.Time `json:"hash_with_timestamp"`
LastRunAt time.Time `json:"last_run_at"`
// contains filtered or unexported fields
}
type Store ¶
type Store struct {
ClusterStoresByName map[string]*ClusterStore `json:"cluster_stores_by_name"`
// contains filtered or unexported fields
}
func LoadOrCreate ¶
func LoadOrCreate(config *config.Config) (*Store, error)
func (*Store) IsRelevant ¶
func (store *Store) IsRelevant(tm time.Time) bool
func (*Store) RelevantMessages ¶
func (store *Store) RelevantMessages() []string
Click to show internal directories.
Click to hide internal directories.