images

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithBuildArg

func WithBuildArg(key, value string) (option dockerImageOption)

func WithOutputStream

func WithOutputStream(writer io.Writer) (option dockerImageOption)

func WithTag

func WithTag(tag string) (option dockerImageOption)

Types

type DockerImage

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

func NewDockerImage

func NewDockerImage(
	buildContextPath, dockerfilePath string, options ...dockerImageOption,
) (
	i *DockerImage, e error,
)

func (*DockerImage) Destroy

func (i *DockerImage) Destroy() (e error)

func (*DockerImage) Push

func (i *DockerImage) Push(stream io.Writer) error

func (*DockerImage) PushWithBasicAuth

func (i *DockerImage) PushWithBasicAuth(
	stream io.Writer, username, password string,
) (
	e error,
)

Jump to

Keyboard shortcuts

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