docker

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

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