Documentation ¶
Index ¶
- func BoshRoot() string
- func BundlesRoot(boshRoot string) string
- func Decode(containerID string) (string, error)
- func Encode(containerID string) string
- func RuncPath(boshRoot string) string
- func RuncRoot(boshRoot string) string
- type BPMConfig
- func (c *BPMConfig) BPMLog() string
- func (c *BPMConfig) BundlePath() string
- func (c *BPMConfig) ConfigDir() string
- func (c *BPMConfig) ContainerID(encoded bool) string
- func (c *BPMConfig) DataDir() string
- func (c *BPMConfig) DataPackageDir() string
- func (c *BPMConfig) JobConfig() string
- func (c *BPMConfig) JobDir() string
- func (c *BPMConfig) JobName() string
- func (c *BPMConfig) LockFile() string
- func (c *BPMConfig) LogDir() string
- func (c *BPMConfig) PackageDir() string
- func (c *BPMConfig) PidDir() string
- func (c *BPMConfig) PidFile() string
- func (c *BPMConfig) ProcName() string
- func (c *BPMConfig) RootFSPath() string
- func (c *BPMConfig) Stderr() string
- func (c *BPMConfig) Stdout() string
- func (c *BPMConfig) StoreDir() string
- func (c *BPMConfig) TempDir() string
- type Hooks
- type JobConfig
- type Limits
- type ProcessConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BundlesRoot ¶
func Encode ¶
runc spec only allows `^[\w+-\.]+$` https://github.com/opencontainers/runc/blob/master/libcontainer/factory_linux.go
Types ¶
type BPMConfig ¶
type BPMConfig struct {
// contains filtered or unexported fields
}
func NewBPMConfig ¶
func (*BPMConfig) BundlePath ¶
func (*BPMConfig) ContainerID ¶
func (*BPMConfig) DataPackageDir ¶
func (*BPMConfig) PackageDir ¶
func (*BPMConfig) RootFSPath ¶
type JobConfig ¶
type JobConfig struct {
Processes map[string]*ProcessConfig `yaml:"processes"`
}
func ParseJobConfig ¶
type ProcessConfig ¶
type ProcessConfig struct { Executable string `yaml:"executable"` Args []string `yaml:"args"` Env []string `yaml:"env"` Limits *Limits `yaml:"limits"` Volumes []string `yaml:"volumes"` Hooks *Hooks `yaml:"hooks"` }
func (*ProcessConfig) Validate ¶
func (c *ProcessConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.