Documentation
¶
Index ¶
Constants ¶
View Source
const ( InstructionEnv stage.StageName = "ENV" InstructionCopy stage.StageName = "COPY" InstructionAdd stage.StageName = "ADD" InstructionRun stage.StageName = "RUN" InstructionEntrypoint stage.StageName = "ENTRYPOINT" InstructionCmd stage.StageName = "CMD" InstructionUser stage.StageName = "USER" InstructionWorkdir stage.StageName = "WORKDIR" InstructionExpose stage.StageName = "EXPOSE" InstructionVolume stage.StageName = "VOLUME" InstructionOnBuild stage.StageName = "ONBUILD" InstructionStopSignal stage.StageName = "STOPSIGNAL" InstructionShell stage.StageName = "SHELL" InstructionHealthcheck stage.StageName = "HEALTHCHECK" InstructionLabel stage.StageName = "LABEL" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
func NewBase ¶
func NewBase(name stage.StageName, dependencies []*config.Dependency, hasPrevStage bool, opts *stage.BaseStageOptions) *Base
func (*Base) HasPrevStage ¶
func (*Base) IsStapelStage ¶
type Run ¶
type Run struct { *Base // contains filtered or unexported fields }
func NewRun ¶
func NewRun(i *backend_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) (string, error)
func (*Run) PrepareImage ¶
func (stage *Run) PrepareImage(ctx context.Context, c stage.Conveyor, cb container_backend.ContainerBackend, prevBuiltImage, stageImage *stage.StageImage) error
Click to show internal directories.
Click to hide internal directories.