Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CatalogEntry ¶
type CatalogEntry struct { Name string `json:"name" yaml:"name"` Tag string `json:"tag" yaml:"tag"` Fetcher string `json:"-" yaml:"fetcher"` FetcherConfig *fieldcollection.FieldCollection `json:"-" yaml:"fetcher_config"` Links []CatalogLink `json:"links" yaml:"links"` }
func (CatalogEntry) Key ¶
func (c CatalogEntry) Key() string
type CatalogLink ¶
type CatalogMeta ¶
type CatalogMeta struct { CatalogName string `gorm:"primaryKey" json:"-"` CatalogTag string `gorm:"primaryKey" json:"-"` CurrentVersion string `json:"current_version,omitempty"` Error string `json:"error,omitempty"` LastChecked *time.Time `json:"last_checked,omitempty"` VersionTime *time.Time `json:"version_time,omitempty"` }
type CatalogMetaStore ¶
type CatalogMetaStore struct {
// contains filtered or unexported fields
}
func (CatalogMetaStore) GetMeta ¶
func (c CatalogMetaStore) GetMeta(ce *CatalogEntry) (*CatalogMeta, error)
func (CatalogMetaStore) PutMeta ¶
func (c CatalogMetaStore) PutMeta(cm *CatalogMeta) error
type Client ¶
type Client struct { Catalog CatalogMetaStore Logs LogStore // contains filtered or unexported fields }
type LogStore ¶
type LogStore struct {
// contains filtered or unexported fields
}
func (LogStore) ListForCatalogEntry ¶
func (l LogStore) ListForCatalogEntry(ce *CatalogEntry, num, page int) ([]LogEntry, error)
Click to show internal directories.
Click to hide internal directories.