buildah

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const TaskKindBuild = "build"
View Source
const TaskKindLogin = "login"
View Source
const TaskKindPush = "push"
View Source
const TaskKindXBuild = "xbuild"
View Source
const ToolKind = "buildah"

Variables

This section is empty.

Functions

func GetImageIDFileForImageName

func GetImageIDFileForImageName(dukkhaCacheDir, imageName string) string

Types

type ImageNameSpec

type ImageNameSpec struct {
	rs.BaseField `yaml:"-"`

	Image    string `yaml:"image"`
	Manifest string `yaml:"manifest"`
}

type TaskBuild

type TaskBuild struct {
	rs.BaseField `yaml:"-"`

	tools.BaseTask `yaml:",inline"`

	Context    string           `yaml:"context"`
	ImageNames []*ImageNameSpec `yaml:"image_names"`
	File       string           `yaml:"file"`

	// --build-arg
	BuildArgs []string `yaml:"build_args"`

	ExtraArgs []string `yaml:"extra_args"`
}

func (*TaskBuild) GetExecSpecs

type TaskLogin

type TaskLogin struct {
	rs.BaseField `yaml:"-"`

	tools.BaseTask `yaml:",inline"`

	Registry string `yaml:"registry"`
	Username string `yaml:"username"`
	Password string `yaml:"password"`

	TLSSkipVerify *bool `yaml:"tls_skip_verify"`
}

func (*TaskLogin) GetExecSpecs

type TaskPush

type TaskPush struct {
	rs.BaseField `yaml:"-"`

	tools.BaseTask `yaml:",inline"`

	ImageNames []ImageNameSpec `yaml:"image_names"`
	// contains filtered or unexported fields
}

func (*TaskPush) GetExecSpecs

type TaskXBuild added in v0.3.0

type TaskXBuild struct {
	rs.BaseField `yaml:"-"`

	tools.BaseTask `yaml:",inline"`

	// Context string  `yaml:"context"`
	Steps []*step `yaml:"steps"`

	ImageNames []*ImageNameSpec `yaml:"image_names"`
}

func (*TaskXBuild) GetExecSpecs added in v0.3.0

nolint:gocyclo

type Tool

type Tool struct {
	rs.BaseField `yaml:"-"`

	tools.BaseTool `yaml:",inline"`
}

func (*Tool) Init

func (t *Tool) Init(kind dukkha.ToolKind, cacheDir string) error

Jump to

Keyboard shortcuts

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