Documentation ¶
Index ¶
Constants ¶
View Source
const Concurrency int = 3
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtifactSync ¶
type ArtifactSync interface { Sync(ctx context.Context, artifacts []string) error Source() registry.Registry Destination() registry.Registry }
func NewImageSync ¶
func NewImageSync(sr registry.Registry, dr registry.Registry) ArtifactSync
type Image ¶
type Image struct { Name string Tag string Exists bool Manifest manifestV2.DeserializedManifest Layers []Layer }
type Layer ¶
type Layer struct { Ref Image Descriptor distribution.Descriptor Exists bool Synced bool }
Click to show internal directories.
Click to hide internal directories.