docker

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package docker provides an interface to the system's Docker daemon.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner added in v0.1.0

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

Runner represents a command that can be run.

func New

func New() Runner

New returns a Runner.

func (Runner) Build added in v0.1.0

func (r Runner) Build(uri, imageTag, path string) error

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

func (Runner) Login added in v0.1.0

func (r Runner) 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 (Runner) Push added in v0.1.0

func (r Runner) 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 dockerfile provides simple Dockerfile parsing functionality.
Package dockerfile provides simple Dockerfile parsing functionality.
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