docker

package
v0.0.0-...-57836f7 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CheckFailed bool
View Source
var CheckFailedList []string
View Source
var FailedCleanRepos []string
View Source
var FailedPullRepos []string
View Source
var FailedPushRepos []string
View Source
var MissingRepos, MissingRepoTags []string
View Source
var RemovedTags, SkippedTags uint64

Functions

func CheckRepos

func CheckRepos(sourceRegistry string, destinationRegistry string, destinationRegistryType string, creds credentials.Creds) error

func Clean

func Clean(reposLimit string, sourceFilteredRepos []string, destinationFilteredRepos []string, artifactFilter string, destinationRegistry string, creds credentials.Creds, destinationRegistryType string)

func DeleteImage

func DeleteImage(imageName string) error

func GetAzureDockerTagManifestDigest

func GetAzureDockerTagManifestDigest(registry string, image string, tag string, user string, pass string) (string, error)

func GetCreateTime

func GetCreateTime(dockerRegistry string, image string, tag string, user string, pass string) (string, error)

func GetRepos

func GetRepos(dockerRegistry string, user string, pass string, reposLimit string) ([]string, error)

func Replicate

func Replicate(creds credentials.Creds, sourceRegistry string, destinationRegistry string, artifactFilter string, destinationRegistryType string)

Types

type ImageToReplicate

type ImageToReplicate struct {
	SourceRegistry      string
	SourceImage         string
	DestinationRegistry string
	DestinationImage    string
	SourceTag           string
	DestinationTag      string
}

ImageToReplicate source/desination image parameters

Jump to

Keyboard shortcuts

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