image

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Image

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

func NewImage

func NewImage(
	client Client,
	authConfigs map[string]types.AuthConfig,
	config *core.BuildInfo,
	stream *plugin.StreamConfig,
) (*Image, error)

func (*Image) Build

func (image *Image) Build() (string, error)

func (*Image) Get

func (image *Image) Get() (string, error)

type ImageError

type ImageError string
const (
	ErrNoClient       ImageError = "client may not be nil"
	ErrMissingImageID ImageError = "build complete, but the server did not send an image id"
)

func (ImageError) Error

func (e ImageError) Error() string

Jump to

Keyboard shortcuts

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