instruction

package
v1.2.184 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: Apache-2.0 Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

type Add struct {
	*Base[*dockerfile_instruction.Add]
}

func NewAdd added in v1.2.184

func (*Add) GetDependencies added in v1.2.184

func (stage *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] struct {
	*stage.BaseStage
	// contains filtered or unexported fields
}

func NewBase

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

func (*Base[T]) HasPrevStage

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

func (*Base[T]) IsStapelStage

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

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

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

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

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

type Cmd added in v1.2.184

type Cmd struct {
	*Base[*dockerfile_instruction.Cmd]
}

func NewCmd added in v1.2.184

func (*Cmd) GetDependencies added in v1.2.184

func (stage *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

type Copy struct {
	*Base[*dockerfile_instruction.Copy]
}

func NewCopy added in v1.2.184

func (*Copy) GetDependencies added in v1.2.184

func (stage *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

type Entrypoint struct {
	*Base[*dockerfile_instruction.Entrypoint]
}

func NewEntrypoint added in v1.2.184

func (*Entrypoint) GetDependencies added in v1.2.184

func (stage *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

type Env struct {
	*Base[*dockerfile_instruction.Env]
}

func NewEnv added in v1.2.184

func (*Env) GetDependencies added in v1.2.184

func (stage *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

type Expose struct {
	*Base[*dockerfile_instruction.Expose]
}

func NewExpose added in v1.2.184

func (*Expose) GetDependencies added in v1.2.184

func (stage *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

type Healthcheck struct {
	*Base[*dockerfile_instruction.Healthcheck]
}

func NewHealthcheck added in v1.2.184

func (*Healthcheck) GetDependencies added in v1.2.184

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

type Label added in v1.2.184

type Label struct {
	*Base[*dockerfile_instruction.Label]
}

func NewLabel added in v1.2.184

func (*Label) GetDependencies added in v1.2.184

func (stage *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

type Maintainer struct {
	*Base[*dockerfile_instruction.Maintainer]
}

func NewMaintainer added in v1.2.184

func (*Maintainer) GetDependencies added in v1.2.184

func (stage *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

type OnBuild struct {
	*Base[*dockerfile_instruction.OnBuild]
}

func NewOnBuild added in v1.2.184

func (*OnBuild) GetDependencies added in v1.2.184

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

type Run

type Run struct {
	*Base[*dockerfile_instruction.Run]
}

func (*Run) GetDependencies

func (stage *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

type Shell struct {
	*Base[*dockerfile_instruction.Shell]
}

func NewShell added in v1.2.184

func (*Shell) GetDependencies added in v1.2.184

func (stage *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

type StopSignal struct {
	*Base[*dockerfile_instruction.StopSignal]
}

func NewStopSignal added in v1.2.184

func (*StopSignal) GetDependencies added in v1.2.184

func (stage *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

type User struct {
	*Base[*dockerfile_instruction.User]
}

func NewUser added in v1.2.184

func (*User) GetDependencies added in v1.2.184

func (stage *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

type Volume struct {
	*Base[*dockerfile_instruction.Volume]
}

func NewVolume added in v1.2.184

func (*Volume) GetDependencies added in v1.2.184

func (stage *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

type Workdir struct {
	*Base[*dockerfile_instruction.Workdir]
}

func NewWorkdir added in v1.2.184

func (*Workdir) GetDependencies added in v1.2.184

func (stage *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