instruction

package
v1.2.259 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

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

func (i *Add) UsesBuildContext() bool

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

func (i *Cmd) UsesBuildContext() bool

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

func (i *Copy) UsesBuildContext() bool

type Entrypoint

type Entrypoint struct {
	instructions.EntrypointCommand
}

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

func (i *Env) UsesBuildContext() bool

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

func (i *Expose) UsesBuildContext() bool

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 (i *Label) LabelsAsList() []string

func (*Label) UsesBuildContext

func (i *Label) UsesBuildContext() bool

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

func (i *OnBuild) UsesBuildContext() bool

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 (i *Run) GetNetwork() string

func (*Run) GetSecurity added in v1.2.185

func (i *Run) GetSecurity() string

func (*Run) UsesBuildContext

func (i *Run) UsesBuildContext() bool

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

func (i *Shell) UsesBuildContext() bool

type StopSignal

type StopSignal struct {
	instructions.StopSignalCommand
}

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

func (i *User) UsesBuildContext() bool

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

func (i *Volume) UsesBuildContext() bool

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

func (i *Workdir) UsesBuildContext() bool

Jump to

Keyboard shortcuts

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