Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Arg ¶
type Arg struct {
Args []instructions.KeyValuePairOptional
}
func NewArg ¶
func NewArg(args []instructions.KeyValuePairOptional) *Arg
type Entrypoint ¶
func NewEntrypoint ¶
func NewEntrypoint(entrypoint []string, prependShell bool) *Entrypoint
func (*Entrypoint) Name ¶
func (i *Entrypoint) Name() string
type Healthcheck ¶
type Healthcheck struct {
Type HealthcheckType
Config *container.HealthConfig
}
func NewHealthcheck ¶
func NewHealthcheck(cfg *container.HealthConfig) *Healthcheck
func (*Healthcheck) Name ¶
func (i *Healthcheck) Name() string
type HealthcheckType ¶
type HealthcheckType string
var ( HealthcheckTypeInherit HealthcheckType = "" HealthcheckTypeNone HealthcheckType = "NONE" HealthcheckTypeCmd HealthcheckType = "CMD" HealthcheckTypeCmdShell HealthcheckType = "CMD-SHELL" )
func NewHealthcheckType ¶
func NewHealthcheckType(cfg *container.HealthConfig) HealthcheckType
type Maintainer ¶
type Maintainer struct {
Maintainer string
}
func NewMaintainer ¶
func NewMaintainer(maintainer string) *Maintainer
func (*Maintainer) Name ¶
func (i *Maintainer) Name() string
type NetworkType ¶
type NetworkType string
const ( NetworkDefault NetworkType = "default" NetworkNone NetworkType = "none" NetworkHost NetworkType = "host" )
func NewNetworkType ¶
func NewNetworkType(network string) NetworkType
type Run ¶
type Run struct {
Command []string
PrependShell bool
Mounts []*instructions.Mount
Network NetworkType
Security SecurityType
}
func NewRun ¶
func NewRun(command []string, prependShell bool, mounts []*instructions.Mount, network NetworkType, security SecurityType) *Run
type SecurityType ¶
type SecurityType string
const ( SecurityInsecure SecurityType = "insecure" SecuritySandbox SecurityType = "sandbox" )
func NewSecurityType ¶
func NewSecurityType(security string) SecurityType
type StopSignal ¶
type StopSignal struct {
Signal string
}
func NewStopSignal ¶
func NewStopSignal(signal string) *StopSignal
func (*StopSignal) Name ¶
func (i *StopSignal) Name() string
Click to show internal directories.
Click to hide internal directories.