Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvConfig ¶
type EnvConfig struct { User string `toml:"user"` Home string `toml:"home"` OS string `toml:"os"` Kernel string `toml:"kernel"` HostName string `toml:"hostname"` GenerateEnv bool `toml:"genenv,omitempty"` Envs map[string]string `toml:"envs"` }
func (*EnvConfig) CheckAndFill ¶
func (*EnvConfig) FillDefault ¶
func (c *EnvConfig) FillDefault()
type FakeshellConfig ¶
type FakeshellConfig struct { Enable bool `toml:"enable"` EnvConfig `toml:"env"` RootFS string `toml:"rootfs"` LogConfig `toml:"log"` }
func (*FakeshellConfig) FillDefault ¶
func (c *FakeshellConfig) FillDefault()
func (*FakeshellConfig) MergeOptions ¶
func (c *FakeshellConfig) MergeOptions(opt *modules.Opt) bool
Click to show internal directories.
Click to hide internal directories.