docker

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFailedToListBuildxBuilders = &Error{Code: "FailedToListBuildxBuilders", Message: "failed to list buildx builders"}
	ErrRunCommandFailed           = &Error{Code: "RunCommandFailed", Message: "failed to run command"}
	ErrFailedToCreateBuilder      = &Error{Code: "FailedToCreateBuilder", Message: "failed to create buildx builder"}
	ErrFailedToBuildImage         = &Error{Code: "FailedToBuildImage", Message: "failed to build image"}
	ErrFailedToPushImage          = &Error{Code: "FailedToPushImage", Message: "failed to push image"}
	ErrFailedToRemoveContextDir   = &Error{Code: "FailedToRemoveContextDir", Message: "failed to remove context directory"}
	ErrGitContextNotSupported     = &Error{Code: "GitContextNotSupported", Message: "git context is not supported in the docker builder"}
)

Functions

This section is empty.

Types

type Docker

type Docker struct {
	K8sClientset kubernetes.Interface
	K8sNamespace string
}

func (*Docker) Build

func (d *Docker) Build(_ context.Context, b *builder.BuilderOptions) (logs string, err error)

type Error

type Error struct {
	Code    string
	Message string
	Err     error
}

func (*Error) Error

func (e *Error) Error() string

func (*Error) Wrap

func (e *Error) Wrap(err error) error

Jump to

Keyboard shortcuts

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