Documentation ¶
Index ¶
- type ImageFilesystemReport
- type ImageReport
- type Node
- type Repo
- func (r Repo) GetDigestsByNameAndAfter(name string, after time.Time) ([]string, error)
- func (r Repo) GetIDsByNameAndAfter(name string, after time.Time) ([]string, error)
- func (r Repo) GetReportForNode(node string, all bool) ([]Node, error)
- func (r Repo) RunStaleRecordsCleaner()
- func (r Repo) StopStaleRecordsCleaner()
- func (r Repo) StoreReport(node *Node, fsUsage []ImageFilesystemReport, images []ImageReport) error
- type RepoOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageFilesystemReport ¶
type ImageReport ¶
type ImageReport struct { ID string `gorm:"primaryKey"` RepoTag string `gorm:"primaryKey"` RepoDigest string `gorm:"primaryKey"` NodeID uint `gorm:"primaryKey"` Size uint64 Username string Image string Annotations map[string]string `gorm:"serializer:json"` UserSpecifiedImage string Pinned bool UID int64 ReportedAt time.Time SeenInLastReport bool }
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
func (Repo) GetDigestsByNameAndAfter ¶
func (Repo) GetIDsByNameAndAfter ¶
func (Repo) GetReportForNode ¶
func (Repo) RunStaleRecordsCleaner ¶
func (r Repo) RunStaleRecordsCleaner()
func (Repo) StopStaleRecordsCleaner ¶
func (r Repo) StopStaleRecordsCleaner()
func (Repo) StoreReport ¶
func (r Repo) StoreReport(node *Node, fsUsage []ImageFilesystemReport, images []ImageReport) error
Click to show internal directories.
Click to hide internal directories.