Documentation
¶
Index ¶
- func Register(name string, feature Feature) error
- func Reset()
- type ContainerRuntime
- type Feature
- type OptionSet
- func (o *OptionSet) AddEnv(env ...engine.EnvVar)
- func (o *OptionSet) AddEnvKey(key string)
- func (o *OptionSet) AddEnvKeyVal(key string, val string)
- func (o *OptionSet) AddVolumeMount(mount ...engine.VolumeMount)
- func (o *OptionSet) RegisterPortMap(ports map[string]int)
- func (o *OptionSet) RegisterPostStartExecHook(hooks ...func(ContainerRuntime) error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ContainerRuntime ¶
type OptionSet ¶
type OptionSet struct {
Mounts []engine.VolumeMount
Envs []engine.EnvVar
PortMap map[string]int
PostStartExecHooks [](func(ContainerRuntime) error)
}
func Initialize ¶
func NewOptionSet ¶
func NewOptionSet() OptionSet
func (*OptionSet) AddEnvKeyVal ¶
func (*OptionSet) AddVolumeMount ¶
func (o *OptionSet) AddVolumeMount(mount ...engine.VolumeMount)
func (*OptionSet) RegisterPortMap ¶
func (*OptionSet) RegisterPostStartExecHook ¶
func (o *OptionSet) RegisterPostStartExecHook(hooks ...func(ContainerRuntime) error)
Click to show internal directories.
Click to hide internal directories.