cts

package
v0.0.0-...-1a65c5d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2024 License: MIT Imports: 11 Imported by: 0

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL