Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachedManager ¶
type CachedManager interface { // ManifestManager is the Manager for manifest. ManifestManager // Manager is the common interface for resource cache. cached.Manager }
CachedManager is the interface combines raw resource Manager and cached Manager for better extension.
type Manager ¶
type Manager struct { *cached.BaseManager // contains filtered or unexported fields }
Manager is the cached manager implemented by redis.
type ManifestManager ¶
type ManifestManager interface { // Save manifest to cache. Save(ctx context.Context, digest string, manifest []byte) error // Get manifest from cache. Get(ctx context.Context, digest string) ([]byte, error) // Delete manifest from cache. Delete(ctx context.Context, digest string) error }
ManifestManager is the Manager for manifest.
Click to show internal directories.
Click to hide internal directories.