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 NewAdd(name stage.StageName, i *dockerfile.DockerfileStageInstruction[*dockerfile_instruction.Add], dependencies []*config.Dependency, hasPrevStage bool, opts *stage.BaseStageOptions) *Add
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 (*Base[T]) IsStapelStage ¶
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
type Cmd ¶ added in v1.2.184
type Cmd struct {
*Base[*dockerfile_instruction.Cmd]
}
func NewCmd ¶ added in v1.2.184
func NewCmd(name stage.StageName, i *dockerfile.DockerfileStageInstruction[*dockerfile_instruction.Cmd], dependencies []*config.Dependency, hasPrevStage bool, opts *stage.BaseStageOptions) *Cmd
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 NewCopy(name stage.StageName, i *dockerfile.DockerfileStageInstruction[*dockerfile_instruction.Copy], dependencies []*config.Dependency, hasPrevStage bool, opts *stage.BaseStageOptions) *Copy
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 NewEntrypoint(name stage.StageName, i *dockerfile.DockerfileStageInstruction[*dockerfile_instruction.Entrypoint], dependencies []*config.Dependency, hasPrevStage bool, opts *stage.BaseStageOptions) *Entrypoint
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 NewEnv(name stage.StageName, i *dockerfile.DockerfileStageInstruction[*dockerfile_instruction.Env], dependencies []*config.Dependency, hasPrevStage bool, opts *stage.BaseStageOptions) *Env
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 NewExpose(name stage.StageName, i *dockerfile.DockerfileStageInstruction[*dockerfile_instruction.Expose], dependencies []*config.Dependency, hasPrevStage bool, opts *stage.BaseStageOptions) *Expose
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 NewHealthcheck(name stage.StageName, i *dockerfile.DockerfileStageInstruction[*dockerfile_instruction.Healthcheck], dependencies []*config.Dependency, hasPrevStage bool, opts *stage.BaseStageOptions) *Healthcheck
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 NewLabel(name stage.StageName, i *dockerfile.DockerfileStageInstruction[*dockerfile_instruction.Label], dependencies []*config.Dependency, hasPrevStage bool, opts *stage.BaseStageOptions) *Label
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 NewMaintainer(name stage.StageName, i *dockerfile.DockerfileStageInstruction[*dockerfile_instruction.Maintainer], dependencies []*config.Dependency, hasPrevStage bool, opts *stage.BaseStageOptions) *Maintainer
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 NewOnBuild(name stage.StageName, i *dockerfile.DockerfileStageInstruction[*dockerfile_instruction.OnBuild], dependencies []*config.Dependency, hasPrevStage bool, opts *stage.BaseStageOptions) *OnBuild
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 NewRun ¶
func NewRun(name stage.StageName, i *dockerfile.DockerfileStageInstruction[*dockerfile_instruction.Run], dependencies []*config.Dependency, hasPrevStage bool, opts *stage.BaseStageOptions) *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 NewShell(name stage.StageName, i *dockerfile.DockerfileStageInstruction[*dockerfile_instruction.Shell], dependencies []*config.Dependency, hasPrevStage bool, opts *stage.BaseStageOptions) *Shell
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 NewStopSignal(name stage.StageName, i *dockerfile.DockerfileStageInstruction[*dockerfile_instruction.StopSignal], dependencies []*config.Dependency, hasPrevStage bool, opts *stage.BaseStageOptions) *StopSignal
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 NewUser(name stage.StageName, i *dockerfile.DockerfileStageInstruction[*dockerfile_instruction.User], dependencies []*config.Dependency, hasPrevStage bool, opts *stage.BaseStageOptions) *User
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 NewVolume(name stage.StageName, i *dockerfile.DockerfileStageInstruction[*dockerfile_instruction.Volume], dependencies []*config.Dependency, hasPrevStage bool, opts *stage.BaseStageOptions) *Volume
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 NewWorkdir(name stage.StageName, i *dockerfile.DockerfileStageInstruction[*dockerfile_instruction.Workdir], dependencies []*config.Dependency, hasPrevStage bool, opts *stage.BaseStageOptions) *Workdir
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)
Click to show internal directories.
Click to hide internal directories.