Documentation ¶
Index ¶
- func BundlesRoot(env *bosh.Env) string
- func LocksPath(env *bosh.Env) string
- func RuncPath(env *bosh.Env) string
- func RuncRoot(env *bosh.Env) string
- type BPMConfig
- func (c *BPMConfig) BPMLog() string
- func (c *BPMConfig) BundlePath() string
- func (c *BPMConfig) ContainerID() string
- func (c *BPMConfig) DataDir() bosh.Path
- func (c *BPMConfig) DataPackageDir() bosh.Path
- func (c *BPMConfig) DefaultVolumes() []string
- func (c *BPMConfig) JobConfig() string
- func (c *BPMConfig) JobDir() bosh.Path
- func (c *BPMConfig) JobName() string
- func (c *BPMConfig) LockFile() bosh.Path
- func (c *BPMConfig) LogDir() bosh.Path
- func (c *BPMConfig) PackageDir() bosh.Path
- func (c *BPMConfig) ParseJobConfig() (*JobConfig, error)
- func (c *BPMConfig) PidDir() bosh.Path
- func (c *BPMConfig) PidFile() bosh.Path
- func (c *BPMConfig) ProcName() string
- func (c *BPMConfig) RootFSPath() string
- func (c *BPMConfig) SocketDir() bosh.Path
- func (c *BPMConfig) Stderr() bosh.Path
- func (c *BPMConfig) Stdout() bosh.Path
- func (c *BPMConfig) StoreDir() bosh.Path
- func (c *BPMConfig) TempDir() bosh.Path
- func (c *BPMConfig) TiniPath() bosh.Path
- type Hooks
- type JobConfig
- type Limits
- type ProcessConfig
- type Unsafe
- type Volume
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BundlesRoot ¶
Types ¶
type BPMConfig ¶
type BPMConfig struct {
// contains filtered or unexported fields
}
func (*BPMConfig) BundlePath ¶
func (*BPMConfig) ContainerID ¶
func (*BPMConfig) DataPackageDir ¶
func (*BPMConfig) DefaultVolumes ¶ added in v0.10.0
func (*BPMConfig) PackageDir ¶
func (*BPMConfig) ParseJobConfig ¶ added in v0.7.0
func (*BPMConfig) RootFSPath ¶
type JobConfig ¶
type JobConfig struct {
Processes []*ProcessConfig `yaml:"processes"`
}
func ParseJobConfig ¶
type ProcessConfig ¶
type ProcessConfig struct { Name string `yaml:"name"` Executable string `yaml:"executable"` Args []string `yaml:"args"` Env map[string]string `yaml:"env"` AdditionalVolumes []Volume `yaml:"additional_volumes"` Capabilities []string `yaml:"capabilities"` EphemeralDisk bool `yaml:"ephemeral_disk"` Hooks *Hooks `yaml:"hooks,omitempty"` Limits *Limits `yaml:"limits"` PersistentDisk bool `yaml:"persistent_disk"` WorkDir string `yaml:"workdir"` Unsafe *Unsafe `yaml:"unsafe"` }
func (*ProcessConfig) AddEnvVars ¶ added in v0.12.0
func (c *ProcessConfig) AddEnvVars( env []string, boshEnv *bosh.Env, defaultVolumes []string, ) error
AddEnvVars allows additional environment variables to be added to a process configuration after parsing the configuration file. The environment variables take the form of "KEY=VALUE". If a key is specified multiple times then the last valeu wins.
func (*ProcessConfig) AddVolumes ¶ added in v0.10.0
Click to show internal directories.
Click to hide internal directories.