docker

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service wraps a runner.

func New

func New() Service

New returns a Service.

func (Service) Build

func (s Service) Build(uri, imageTag, path string) error

Build will run a `docker build` command with the input uri, tag, and Dockerfile image path.

func (Service) Login

func (s Service) Login(uri, username, password string) error

Login will run a `docker login` command against the Service repository URI with the input uri and auth data.

func (Service) Push

func (s Service) Push(uri, imageTag string) error

Push will run `docker push` command against the Service repository URI with the input uri and image tag.

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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