12 lines
420 B
Go
12 lines
420 B
Go
package config
|
|
|
|
// A MountEntry represents a bind mount that is applied to a container
|
|
// during exec and shell.
|
|
type MountEntry struct {
|
|
Source string `yaml:"source"`
|
|
Dest string `yaml:"dest,omitempty"`
|
|
ReadOnly bool `yaml:"readonly,omitempty"`
|
|
Options string `yaml:"options,omitempty"` // ignored at the moment
|
|
Copy bool `yaml:"copy,omitempty"` // temporarily copy the file into the container
|
|
}
|