push

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 3, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerPushCmd

type DockerPushCmd struct {
	Writer            io.Writer
	Context           context.Context
	Cli               *client.Client
	DockerPushOptions *DockerPushOptions
	ExecPrefix        string
	Response          types.Responser
}

func (*DockerPushCmd) Run

func (p *DockerPushCmd) Run() error

type DockerPushOptions

type DockerPushOptions struct {
	// ImageName is the name of the image
	ImageName string
	// Tags is a list of the images to push
	Tags []string
	// RegistryAuth is the base64 encoded credentials for the registry
	RegistryAuth *string
}

DockerBuilderOptions has an options set to build and image

func (*DockerPushOptions) AddAuth

func (o *DockerPushOptions) AddAuth(username, password string) error

AddAuth append new tags to DockerBuilder

Jump to

Keyboard shortcuts

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