Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Entry ¶
type Entry struct {
Digest string `json:"digest"`
ETag string `json:"etag,omitempty"`
Policy string `json:"policy,omitempty"`
LastChecked time.Time `json:"lastChecked"`
LastChanged time.Time `json:"lastChanged"`
}
Entry captures the last-known info for a single image reference.
type File ¶
type File struct {
// contains filtered or unexported fields
}
File is a JSON-backed state store.
func (*File) UpdateChecked ¶
UpdateChecked updates the LastChecked timestamp without changing digest.
func (*File) UpsertDigest ¶
UpsertDigest sets digest/etag; returns true if digest changed.
Click to show internal directories.
Click to hide internal directories.