mirror

package
v0.0.0-...-a580c8e Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(ctx context.Context, dstreference, srcreference string, dstauth, srcauth *types.DockerAuthConfig) error

func Dest

func Dest(repo, reference string) string

func Mirror

func Mirror(ctx context.Context, log *logrus.Entry, dstrepo, srcrelease string, dstauth, srcauth *types.DockerAuthConfig) error

Types

type Node

type Node struct {
	Version  string                 `json:"version,omitempty"`
	Payload  string                 `json:"payload,omitempty"`
	Metadata map[string]interface{} `json:"metadata,omitempty"`
}

func AddFromGraph

func AddFromGraph(min *version.Version) ([]Node, error)

AddFromGraph adds all nodes whose version is of the form x.y.z (no suffix) and >= min

Jump to

Keyboard shortcuts

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