Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Add ¶
func (*Add) Apply ¶
func (i *Add) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContext *build_context.BuildContext) error
func (*Add) UsesBuildContext ¶
type Cmd ¶
type Cmd struct {
Cmd []string
}
func (*Cmd) Apply ¶
func (i *Cmd) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContext *build_context.BuildContext) error
func (*Cmd) UsesBuildContext ¶
type Copy ¶
func (*Copy) Apply ¶
func (i *Copy) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContext *build_context.BuildContext) error
func (*Copy) UsesBuildContext ¶
type Entrypoint ¶
type Entrypoint struct {
Entrypoint []string
}
func NewEntrypoint ¶
func NewEntrypoint(entrypoint []string) *Entrypoint
func (*Entrypoint) Apply ¶
func (i *Entrypoint) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContext *build_context.BuildContext) error
func (*Entrypoint) Name ¶
func (i *Entrypoint) Name() string
func (*Entrypoint) UsesBuildContext ¶
func (i *Entrypoint) UsesBuildContext() bool
type Env ¶
func (*Env) Apply ¶
func (i *Env) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContext *build_context.BuildContext) error
func (*Env) UsesBuildContext ¶
type Expose ¶
type Expose struct {
Ports []string
}
func (*Expose) Apply ¶
func (i *Expose) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContext *build_context.BuildContext) error
func (*Expose) UsesBuildContext ¶
type Healthcheck ¶
type Healthcheck struct { Type HealthcheckType Command string }
type HealthcheckType ¶
type HealthcheckType string
var ( HealthcheckTypeNone HealthcheckType = "NONE" HealthcheckTypeCmd HealthcheckType = "CMD" HealthcheckTypeCmdShell HealthcheckType = "CMD-SHELL" )
type Label ¶
func (*Label) Apply ¶
func (i *Label) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContext *build_context.BuildContext) error
func (*Label) LabelsAsList ¶
func (*Label) UsesBuildContext ¶
type OnBuild ¶
type OnBuild struct {
Instruction string
}
func NewOnBuild ¶
func (*OnBuild) Apply ¶
func (i *OnBuild) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContext *build_context.BuildContext) error
func (*OnBuild) UsesBuildContext ¶
type Run ¶
type Run struct {
Command []string
}
func (*Run) Apply ¶
func (i *Run) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContext *build_context.BuildContext) error
func (*Run) UsesBuildContext ¶
type Shell ¶
type Shell struct {
Shell []string
}
func (*Shell) Apply ¶
func (i *Shell) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContext *build_context.BuildContext) error
func (*Shell) UsesBuildContext ¶
type StopSignal ¶
type StopSignal struct {
Signal string
}
func NewStopSignal ¶
func NewStopSignal(signal string) *StopSignal
func (*StopSignal) Apply ¶
func (i *StopSignal) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContext *build_context.BuildContext) error
func (*StopSignal) Name ¶
func (i *StopSignal) Name() string
func (*StopSignal) UsesBuildContext ¶
func (i *StopSignal) UsesBuildContext() bool
type User ¶
type User struct {
User string
}
func (*User) Apply ¶
func (i *User) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContext *build_context.BuildContext) error
func (*User) UsesBuildContext ¶
type Volume ¶
type Volume struct {
Volumes []string
}
func (*Volume) Apply ¶
func (i *Volume) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContext *build_context.BuildContext) error
func (*Volume) UsesBuildContext ¶
type Workdir ¶
type Workdir struct {
Workdir string
}
func NewWorkdir ¶
func (*Workdir) Apply ¶
func (i *Workdir) Apply(ctx context.Context, containerName string, drv buildah.Buildah, drvOpts buildah.CommonOpts, buildContext *build_context.BuildContext) error
func (*Workdir) UsesBuildContext ¶
Click to show internal directories.
Click to hide internal directories.