docker

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: Apache-2.0 Imports: 15 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerImage

type DockerImage struct {
	Registry  string
	Name      string
	Directory string
	Tag       string
}

func (DockerImage) LocalTag

func (dockerImage DockerImage) LocalTag() string

func (DockerImage) RemoteTag

func (dockerImage DockerImage) RemoteTag() string

type DockerService

type DockerService struct {
	DockerFileName string
	Client         client.Client
	AuthConfig     types.AuthConfig
	// contains filtered or unexported fields
}

func New

func New(project project.Project, dockerImage DockerImage, dockerFileName string) (DockerService, error)

Create a new instance of the DockerService

func (DockerService) Build

func (ds DockerService) Build() error

Build Docker image

func (DockerService) Push

func (ds DockerService) Push() error

Push Docker image

Jump to

Keyboard shortcuts

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