Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Add ¶
type Add struct {
*instructions.AddCommand
}
func NewAdd ¶
func NewAdd(i *instructions.AddCommand) *Add
func (*Add) Apply ¶
func (i *Add) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContextArchive container_backend.BuildContextArchiver) error
func (*Add) UsesBuildContext ¶
type Cmd ¶
type Cmd struct {
*instructions.CmdCommand
}
func NewCmd ¶
func NewCmd(i *instructions.CmdCommand) *Cmd
func (*Cmd) Apply ¶
func (i *Cmd) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContextArchive container_backend.BuildContextArchiver) error
func (*Cmd) UsesBuildContext ¶
type Copy ¶
type Copy struct {
*instructions.CopyCommand
}
func NewCopy ¶
func NewCopy(i *instructions.CopyCommand) *Copy
func (*Copy) Apply ¶
func (i *Copy) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContextArchive container_backend.BuildContextArchiver) error
func (*Copy) UsesBuildContext ¶
type Entrypoint ¶
type Entrypoint struct {
*instructions.EntrypointCommand
}
func NewEntrypoint ¶
func NewEntrypoint(i *instructions.EntrypointCommand) *Entrypoint
func (*Entrypoint) Apply ¶
func (i *Entrypoint) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContextArchive container_backend.BuildContextArchiver) error
func (*Entrypoint) UsesBuildContext ¶
func (i *Entrypoint) UsesBuildContext() bool
type Env ¶
type Env struct {
*instructions.EnvCommand
}
func NewEnv ¶
func NewEnv(i *instructions.EnvCommand) *Env
func (*Env) Apply ¶
func (i *Env) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContextArchive container_backend.BuildContextArchiver) error
func (*Env) UsesBuildContext ¶
type Expose ¶
type Expose struct {
*instructions.ExposeCommand
}
func NewExpose ¶
func NewExpose(i *instructions.ExposeCommand) *Expose
func (*Expose) Apply ¶
func (i *Expose) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContextArchive container_backend.BuildContextArchiver) error
func (*Expose) UsesBuildContext ¶
type Healthcheck ¶
type Healthcheck struct {
*instructions.HealthCheckCommand
}
func NewHealthcheck ¶ added in v1.2.185
func NewHealthcheck(i *instructions.HealthCheckCommand) *Healthcheck
func (*Healthcheck) Apply ¶ added in v1.2.185
func (i *Healthcheck) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContextArchive container_backend.BuildContextArchiver) error
func (*Healthcheck) UsesBuildContext ¶ added in v1.2.185
func (i *Healthcheck) UsesBuildContext() bool
type Label ¶
type Label struct {
*instructions.LabelCommand
}
func NewLabel ¶
func NewLabel(i *instructions.LabelCommand) *Label
func (*Label) Apply ¶
func (i *Label) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContextArchive container_backend.BuildContextArchiver) error
func (*Label) LabelsAsList ¶
func (*Label) UsesBuildContext ¶
type Maintainer ¶ added in v1.2.185
type Maintainer struct {
*instructions.MaintainerCommand
}
func NewMaintainer ¶ added in v1.2.185
func NewMaintainer(i *instructions.MaintainerCommand) *Maintainer
func (*Maintainer) Apply ¶ added in v1.2.185
func (i *Maintainer) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContextArchive container_backend.BuildContextArchiver) error
func (*Maintainer) UsesBuildContext ¶ added in v1.2.185
func (i *Maintainer) UsesBuildContext() bool
type OnBuild ¶
type OnBuild struct {
*instructions.OnbuildCommand
}
func NewOnBuild ¶
func NewOnBuild(i *instructions.OnbuildCommand) *OnBuild
func (*OnBuild) Apply ¶
func (i *OnBuild) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContextArchive container_backend.BuildContextArchiver) error
func (*OnBuild) UsesBuildContext ¶
type Run ¶
type Run struct { *instructions.RunCommand Envs []string }
func NewRun ¶
func NewRun(i *instructions.RunCommand, envs []string) *Run
func (*Run) Apply ¶
func (i *Run) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContextArchive container_backend.BuildContextArchiver) error
func (*Run) GetMounts ¶ added in v1.2.185
func (i *Run) GetMounts() []*instructions.Mount
func (*Run) GetNetwork ¶ added in v1.2.185
func (*Run) GetSecurity ¶ added in v1.2.185
func (*Run) UsesBuildContext ¶
type Shell ¶
type Shell struct {
*instructions.ShellCommand
}
func NewShell ¶
func NewShell(i *instructions.ShellCommand) *Shell
func (*Shell) Apply ¶
func (i *Shell) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContextArchive container_backend.BuildContextArchiver) error
func (*Shell) UsesBuildContext ¶
type StopSignal ¶
type StopSignal struct {
*instructions.StopSignalCommand
}
func NewStopSignal ¶
func NewStopSignal(i *instructions.StopSignalCommand) *StopSignal
func (*StopSignal) Apply ¶
func (i *StopSignal) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContextArchive container_backend.BuildContextArchiver) error
func (*StopSignal) UsesBuildContext ¶
func (i *StopSignal) UsesBuildContext() bool
type User ¶
type User struct {
*instructions.UserCommand
}
func NewUser ¶
func NewUser(i *instructions.UserCommand) *User
func (*User) Apply ¶
func (i *User) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContextArchive container_backend.BuildContextArchiver) error
func (*User) UsesBuildContext ¶
type Volume ¶
type Volume struct {
*instructions.VolumeCommand
}
func NewVolume ¶
func NewVolume(i *instructions.VolumeCommand) *Volume
func (*Volume) Apply ¶
func (i *Volume) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContextArchive container_backend.BuildContextArchiver) error
func (*Volume) UsesBuildContext ¶
type Workdir ¶
type Workdir struct {
*instructions.WorkdirCommand
}
func NewWorkdir ¶
func NewWorkdir(i *instructions.WorkdirCommand) *Workdir
func (*Workdir) Apply ¶
func (i *Workdir) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContextArchive container_backend.BuildContextArchiver) error
func (*Workdir) UsesBuildContext ¶
Click to show internal directories.
Click to hide internal directories.