Documentation
¶
Index ¶
- Variables
- type Config
- func (c *Config) Close() error
- func (c Config) GetLeftArgs() []string
- func (c Config) GetLeftEnv() []string
- func (c Config) GetLeftPreprocess() []string
- func (c Config) GetRightArgs() []string
- func (c Config) GetRightEnv() []string
- func (c Config) GetRightPreprocess() []string
- func (c *Config) Init(args []string) error
- func (c Config) SetupLogger(w io.Writer)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrConfig = errors.New("Config")
)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ShowCmdLog bool `yaml:"showCmdLog,omitempty"`
Debug bool `yaml:"debug,omitempty"`
Startup []string `yaml:"startup,omitempty"`
Interceptor []string `yaml:"interceptor,omitempty"`
Preprocess []string `yaml:"preprocess,omitempty"`
LeftPreprocess []string `yaml:"leftPreprocess,omitempty"`
RightPreprocess []string `yaml:"rightPreprocess,omitempty"`
Diff string `yaml:"diff,omitempty"`
WorkDir string `yaml:"workDir,omitempty"`
Shell string `yaml:"shell,omitempty"`
Delimiter string `yaml:"delimiter,omitempty"`
UseLabel bool `yaml:"label,omitempty"`
Env []string `yaml:"env,omitempty"`
LeftEnv []string `yaml:"leftEnv,omitempty"`
RightEnv []string `yaml:"rightEnv,omitempty"`
Cleanup []string `yaml:"cleanup,omitempty"`
CommonArgs []string `yaml:"commonArgs,omitempty"`
LeftArgs []string `yaml:"leftArgs,omitempty"`
RightArgs []string `yaml:"rightArgs,omitempty"`
Writer io.Writer `json:"-" yaml:"-"`
TempDir string `json:"-" yaml:"-"`
}
func (Config) GetLeftArgs ¶
func (Config) GetLeftEnv ¶ added in v0.2.0
func (Config) GetLeftPreprocess ¶ added in v0.2.0
func (Config) GetRightArgs ¶
func (Config) GetRightEnv ¶ added in v0.2.0
func (Config) GetRightPreprocess ¶ added in v0.2.0
func (Config) SetupLogger ¶
Click to show internal directories.
Click to hide internal directories.