docker

package
v0.11.4 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DockerImageFilterReference = "reference"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerCopier

type DockerCopier interface {
	DockerCopyConfigurer
	DockerCopyAuther
	Run(context.Context) error
}

DockerCopier

type DockerCopyAuther

type DockerCopyAuther interface {
	AddAuth(string, string) error
	AddPullAuth(string, string) error
	AddPushAuth(string, string) error
}

DockerCopyAuther

type DockerCopyConfigurer

type DockerCopyConfigurer interface {
	WithSourceImage(source string)
	WithTags(tags []string)
	WithTargetImage(target string)
	WithRemoteSource()
	WithRemoveAfterPush()
	WithResponse(io.Writer, string)
	WithUseNormalizedNamed()
}

DockerCopyConfigurer

type DockerPromete

type DockerPromete struct {
	// contains filtered or unexported fields
}

func NewDockerPromote

func NewDockerPromote(cmd DockerCopier, w io.Writer) *DockerPromete

func (*DockerPromete) Promote

func (p *DockerPromete) Promote(ctx context.Context, options *image.PromoteOptions) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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