buildah

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: May 29, 2022 License: Apache-2.0 Imports: 21 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(rc dukkha.RenderingContext, imageName string, ensureDir bool) (string, error)

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:"-"`

	TaskName string `yaml:"name"`

	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

func (*TaskBuild) Key added in v0.7.0

func (c *TaskBuild) Key() dukkha.TaskKey

func (*TaskBuild) Kind added in v0.7.0

func (c *TaskBuild) Kind() dukkha.TaskKind

func (*TaskBuild) Name added in v0.7.0

func (c *TaskBuild) Name() dukkha.TaskName

type TaskLogin

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

	TaskName string `yaml:"name"`

	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

func (*TaskLogin) Key added in v0.7.0

func (c *TaskLogin) Key() dukkha.TaskKey

func (*TaskLogin) Kind added in v0.7.0

func (c *TaskLogin) Kind() dukkha.TaskKind

func (*TaskLogin) Name added in v0.7.0

func (c *TaskLogin) Name() dukkha.TaskName

type TaskPush

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

	TaskName string `yaml:"name"`

	tools.BaseTask `yaml:",inline"`

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

func (*TaskPush) GetExecSpecs

func (*TaskPush) Key added in v0.7.0

func (c *TaskPush) Key() dukkha.TaskKey

func (*TaskPush) Kind added in v0.7.0

func (c *TaskPush) Kind() dukkha.TaskKind

func (*TaskPush) Name added in v0.7.0

func (c *TaskPush) Name() dukkha.TaskName

type TaskXBuild added in v0.3.0

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

	TaskName string `yaml:"name"`

	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

func (*TaskXBuild) Key added in v0.7.0

func (w *TaskXBuild) Key() dukkha.TaskKey

func (*TaskXBuild) Kind added in v0.7.0

func (w *TaskXBuild) Kind() dukkha.TaskKind

func (*TaskXBuild) Name added in v0.7.0

func (w *TaskXBuild) Name() dukkha.TaskName

type Tool

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

	ToolName dukkha.ToolName `yaml:"name"`

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

func (*Tool) Init

func (t *Tool) Init(cacheFS *fshelper.OSFS) error

func (*Tool) Key added in v0.7.0

func (t *Tool) Key() dukkha.ToolKey

func (*Tool) Kind added in v0.7.0

func (t *Tool) Kind() dukkha.ToolKind

func (*Tool) Name added in v0.7.0

func (t *Tool) Name() dukkha.ToolName

Jump to

Keyboard shortcuts

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