instruction

package
v1.2.191 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Add added in v1.2.184

func NewAdd added in v1.2.184

func (*Add) GetDependencies added in v1.2.184

func (stg *Add) GetDependencies(ctx context.Context, c stage.Conveyor, cb container_backend.ContainerBackend, prevImage, prevBuiltImage *stage.StageImage, buildContextArchive container_backend.BuildContextArchiver) (string, error)

type Base

type Base[T dockerfile.InstructionDataInterface, BT container_backend.InstructionInterface] struct {
	*stage.BaseStage
	// contains filtered or unexported fields
}

func NewBase

func NewBase[T dockerfile.InstructionDataInterface, BT container_backend.InstructionInterface](name stage.StageName, instruction *dockerfile.DockerfileStageInstruction[T], backendInstruction BT, dependencies []*config.Dependency, hasPrevStage bool, opts *stage.BaseStageOptions) *Base[T, BT]

func (*Base[T, BT]) ExpandInstruction added in v1.2.185

func (stg *Base[T, BT]) ExpandInstruction(ctx context.Context, c stage.Conveyor, cb container_backend.ContainerBackend, prevBuiltImage, stageImage *stage.StageImage, buildContextArchive container_backend.BuildContextArchiver) error

func (*Base[T, BT]) HasPrevStage

func (stg *Base[T, BT]) HasPrevStage() bool

func (*Base[T, BT]) IsStapelStage

func (stg *Base[T, BT]) IsStapelStage() bool

func (*Base[T, BT]) PrepareImage added in v1.2.184

func (stg *Base[T, BT]) PrepareImage(ctx context.Context, c stage.Conveyor, cb container_backend.ContainerBackend, prevBuiltImage, stageImage *stage.StageImage, buildContextArchive container_backend.BuildContextArchiver) error

func (*Base[T, BT]) UsesBuildContext added in v1.2.184

func (stg *Base[T, BT]) UsesBuildContext() bool

type Cmd added in v1.2.184

func NewCmd added in v1.2.184

func (*Cmd) GetDependencies added in v1.2.184

func (stg *Cmd) GetDependencies(ctx context.Context, c stage.Conveyor, cb container_backend.ContainerBackend, prevImage, prevBuiltImage *stage.StageImage, buildContextArchive container_backend.BuildContextArchiver) (string, error)

type Copy added in v1.2.184

func NewCopy added in v1.2.184

func (*Copy) ExpandInstruction added in v1.2.185

func (stg *Copy) ExpandInstruction(ctx context.Context, c stage.Conveyor, cb container_backend.ContainerBackend, prevBuiltImage, stageImage *stage.StageImage, buildContextArchive container_backend.BuildContextArchiver) error

func (*Copy) GetDependencies added in v1.2.184

func (stg *Copy) GetDependencies(ctx context.Context, c stage.Conveyor, cb container_backend.ContainerBackend, prevImage, prevBuiltImage *stage.StageImage, buildContextArchive container_backend.BuildContextArchiver) (string, error)

type Entrypoint added in v1.2.184

func NewEntrypoint added in v1.2.184

func (*Entrypoint) GetDependencies added in v1.2.184

func (stg *Entrypoint) GetDependencies(ctx context.Context, c stage.Conveyor, cb container_backend.ContainerBackend, prevImage, prevBuiltImage *stage.StageImage, buildContextArchive container_backend.BuildContextArchiver) (string, error)

type Env added in v1.2.184

func NewEnv added in v1.2.184

func (*Env) GetDependencies added in v1.2.184

func (stg *Env) GetDependencies(ctx context.Context, c stage.Conveyor, cb container_backend.ContainerBackend, prevImage, prevBuiltImage *stage.StageImage, buildContextArchive container_backend.BuildContextArchiver) (string, error)

type Expose added in v1.2.184

func NewExpose added in v1.2.184

func (*Expose) GetDependencies added in v1.2.184

func (stg *Expose) GetDependencies(ctx context.Context, c stage.Conveyor, cb container_backend.ContainerBackend, prevImage, prevBuiltImage *stage.StageImage, buildContextArchive container_backend.BuildContextArchiver) (string, error)

type Healthcheck added in v1.2.184

func NewHealthcheck added in v1.2.184

func (*Healthcheck) GetDependencies added in v1.2.184

func (stg *Healthcheck) GetDependencies(ctx context.Context, c stage.Conveyor, cb container_backend.ContainerBackend, prevImage, prevBuiltImage *stage.StageImage, buildContextArchive container_backend.BuildContextArchiver) (string, error)

type InstructionExpander added in v1.2.185

type InstructionExpander interface {
	ExpandInstruction(ctx context.Context, c stage.Conveyor, cb container_backend.ContainerBackend, prevBuiltImage, stageImage *stage.StageImage, buildContextArchive container_backend.BuildContextArchiver) error
}

type Label added in v1.2.184

func NewLabel added in v1.2.184

func (*Label) GetDependencies added in v1.2.184

func (stg *Label) GetDependencies(ctx context.Context, c stage.Conveyor, cb container_backend.ContainerBackend, prevImage, prevBuiltImage *stage.StageImage, buildContextArchive container_backend.BuildContextArchiver) (string, error)

type Maintainer added in v1.2.184

func NewMaintainer added in v1.2.184

func (*Maintainer) GetDependencies added in v1.2.184

func (stg *Maintainer) GetDependencies(ctx context.Context, c stage.Conveyor, cb container_backend.ContainerBackend, prevImage, prevBuiltImage *stage.StageImage, buildContextArchive container_backend.BuildContextArchiver) (string, error)

type OnBuild added in v1.2.184

func NewOnBuild added in v1.2.184

func (*OnBuild) GetDependencies added in v1.2.184

func (stg *OnBuild) GetDependencies(ctx context.Context, c stage.Conveyor, cb container_backend.ContainerBackend, prevImage, prevBuiltImage *stage.StageImage, buildContextArchive container_backend.BuildContextArchiver) (string, error)

type Run

func NewRun

func (*Run) GetDependencies

func (stg *Run) GetDependencies(ctx context.Context, c stage.Conveyor, cb container_backend.ContainerBackend, prevImage, prevBuiltImage *stage.StageImage, buildContextArchive container_backend.BuildContextArchiver) (string, error)

type Shell added in v1.2.184

func NewShell added in v1.2.184

func (*Shell) GetDependencies added in v1.2.184

func (stg *Shell) GetDependencies(ctx context.Context, c stage.Conveyor, cb container_backend.ContainerBackend, prevImage, prevBuiltImage *stage.StageImage, buildContextArchive container_backend.BuildContextArchiver) (string, error)

type StopSignal added in v1.2.184

func NewStopSignal added in v1.2.184

func (*StopSignal) GetDependencies added in v1.2.184

func (stg *StopSignal) GetDependencies(ctx context.Context, c stage.Conveyor, cb container_backend.ContainerBackend, prevImage, prevBuiltImage *stage.StageImage, buildContextArchive container_backend.BuildContextArchiver) (string, error)

type User added in v1.2.184

func NewUser added in v1.2.184

func (*User) GetDependencies added in v1.2.184

func (stg *User) GetDependencies(ctx context.Context, c stage.Conveyor, cb container_backend.ContainerBackend, prevImage, prevBuiltImage *stage.StageImage, buildContextArchive container_backend.BuildContextArchiver) (string, error)

type Volume added in v1.2.184

func NewVolume added in v1.2.184

func (*Volume) GetDependencies added in v1.2.184

func (stg *Volume) GetDependencies(ctx context.Context, c stage.Conveyor, cb container_backend.ContainerBackend, prevImage, prevBuiltImage *stage.StageImage, buildContextArchive container_backend.BuildContextArchiver) (string, error)

type Workdir added in v1.2.184

func NewWorkdir added in v1.2.184

func (*Workdir) GetDependencies added in v1.2.184

func (stg *Workdir) GetDependencies(ctx context.Context, c stage.Conveyor, cb container_backend.ContainerBackend, prevImage, prevBuiltImage *stage.StageImage, buildContextArchive container_backend.BuildContextArchiver) (string, error)

Jump to

Keyboard shortcuts

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