cmd

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DockerLoginRegistry

func DockerLoginRegistry(reg string) error

func ProcessDockerLoginEnv

func ProcessDockerLoginEnv() error

PrepareDockerLogin executes docker login command if SRC_USERNAME/SRC_PASSWORD, DEST_USERNAME/DEST_PASSWORD SRC_REGISTRY, DEST_REGISTRY environment variables are set

func Worker

func Worker(failList string, cb func(m *mirror.Mirror)) (
	chan *mirror.Mirror, *sync.WaitGroup)

Types

type IntSlice

type IntSlice []int

IntSlice implements flag.Value interface

func (*IntSlice) Set

func (ss *IntSlice) Set(v string) error

func (*IntSlice) String

func (is *IntSlice) String() string

type StringSlice

type StringSlice []string

StringSlice implements flag.Value interface

func (*StringSlice) Set

func (ss *StringSlice) Set(v string) error

func (*StringSlice) String

func (ss *StringSlice) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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