mirror

package
v0.0.0-...-54afde0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: Apache-2.0 Imports: 20 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(channel string, min Version) ([]Node, error)

type Version

type Version [3]byte

func (Version) Lt

func (v Version) Lt(w Version) bool

Jump to

Keyboard shortcuts

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