Documentation ¶
Overview ¶
Package execmeta models the executor meta data that is communicated from the state tool to executors via file. The meta file is stored alongside the executors and should be named "meta.as". It should be applied to the file file system when the runtime is manifested on disk.
IMPORTANT: This package should have minimal dependencies as it will be imported by cmd/state-exec. The resulting compiled executable must remain as small as possible.
Index ¶
Constants ¶
View Source
const (
MetaFileName = "meta.as"
)
Variables ¶
This section is empty.
Functions ¶
func IsMetaFile ¶
Types ¶
type ExecMeta ¶
type ExecMeta struct { SockPath string Env []string Bins map[string]string // map[alias]dest CommitUUID string Namespace string Headless bool }
func NewFromFile ¶
NewFromFile is a convenience func, not intended to be tested.
func (*ExecMeta) WriteToDisk ¶
WriteToDisk is a convenience func, not intended to be unit tested.
Click to show internal directories.
Click to hide internal directories.