Documentation
¶
Index ¶
- type Flag
- type Layer
- func (l Layer) AppendBuildEnv(name string, format string, args ...interface{}) error
- func (l Layer) AppendLaunchEnv(name string, format string, args ...interface{}) error
- func (l Layer) AppendPathBuildEnv(name string, format string, args ...interface{}) error
- func (l Layer) AppendPathLaunchEnv(name string, format string, args ...interface{}) error
- func (l Layer) AppendPathSharedEnv(name string, format string, args ...interface{}) error
- func (l Layer) AppendSharedEnv(name string, format string, args ...interface{}) error
- func (l Layer) OverrideBuildEnv(name string, format string, args ...interface{}) error
- func (l Layer) OverrideLaunchEnv(name string, format string, args ...interface{}) error
- func (l Layer) OverrideSharedEnv(name string, format string, args ...interface{}) error
- func (l Layer) ReadMetadata(metadata interface{}) error
- func (l Layer) RemoveMetadata() error
- func (l Layer) String() string
- func (l Layer) WriteMetadata(metadata interface{}, flags ...Flag) error
- func (l Layer) WriteProfile(file string, format string, args ...interface{}) error
- type Layers
- type Metadata
- type Process
- type Processes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Layer ¶
type Layer struct {
// Root is the path to the root directory for the layer.
Root string
// Metadata is the location of the layer's metadata file.
Metadata string
// contains filtered or unexported fields
}
Layer represents a layer for an application.
func (Layer) AppendBuildEnv ¶
AppendBuildEnv appends the value of this environment variable to any previous declarations of the value without any delimitation. If delimitation is important during concatenation, callers are required to add it.
func (Layer) AppendLaunchEnv ¶
AppendLaunchEnv appends the value of this environment variable to any previous declarations of the value without any delimitation. If delimitation is important during concatenation, callers are required to add it.
func (Layer) AppendPathBuildEnv ¶
AppendPathBuildEnv appends the value of this environment variable to any previous declarations of the value using the OS path delimiter.
func (Layer) AppendPathLaunchEnv ¶
AppendPathLaunchEnv appends the value of this environment variable to any previous declarations of the value using the OS path delimiter.
func (Layer) AppendPathSharedEnv ¶
AppendPathSharedEnv appends the value of this environment variable to any previous declarations of the value using the OS path delimiter.
func (Layer) AppendSharedEnv ¶
AppendSharedEnv appends the value of this environment variable to any previous declarations of the value without any delimitation. If delimitation is important during concatenation, callers are required to add it.
func (Layer) OverrideBuildEnv ¶
OverrideBuildEnv overrides any existing value for an environment variable with this value.
func (Layer) OverrideLaunchEnv ¶
OverrideLaunchEnv overrides any existing value for an environment variable with this value.
func (Layer) OverrideSharedEnv ¶
OverrideSharedEnv overrides any existing value for an environment variable with this value.
func (Layer) ReadMetadata ¶
ReadMetadata reads arbitrary layer metadata from the filesystem.
func (Layer) RemoveMetadata ¶
RemoveMetadata remove layer metadata from the filesystem.
func (Layer) WriteMetadata ¶
WriteMetadata writes arbitrary layer metadata to the filesystem.
type Layers ¶
type Layers struct {
// Root is the path to the root directory for the layers.
Root string
// contains filtered or unexported fields
}
Layers represents the layers for an application.
func (Layers) WriteMetadata ¶
WriteMetadata writes launch metadata to the filesystem.
type Metadata ¶
type Metadata struct {
// Processes is a collection of processes.
Processes Processes `toml:"processes"`
}
Metadata represents metadata about the Launch.