Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Name = "crun" DisplayName = "crun" Version = "unknown" CommitHash = "unknown" )
View Source
var DefaultMutexdir = "/tmp/crun"
View Source
var ErrTimeout = errors.New("timeout")
Functions ¶
func LookupGroup ¶ added in v0.3.0
Types ¶
type Config ¶ added in v0.3.0
type Config struct { PreHandlers []string `toml:"pre"` NoticeHandlers []string `toml:"notice"` PostHandlers []string `toml:"post"` SuccessHandlers []string `toml:"success"` FailureHandlers []string `toml:"failure"` LogFile string `toml:"log_file"` LogPrefix string `toml:"log_prefix"` Tag string `toml:"tag"` Quiet bool `toml:"quiet"` WorkingDirectory string `toml:"working_directory"` Mutexdir string `toml:"mutexdir"` Mutex string `toml:"mutex"` Environment []string `toml:"environment"` EnvironmentMap map[string]string `toml:"-"` WithoutOverlapping bool `toml:"without_overlapping"` User string `toml:"user"` Group string `toml:"group"` Timeout int64 `toml:"timeout"` }
func (*Config) LoadConfigFile ¶ added in v0.3.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.