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"`
Debug bool `yaml:"debug"`
Interceptor []string `yaml:"interceptor"`
Preprocess []string `yaml:"preprocess"`
LeftPreprocess []string `yaml:"leftPreprocess"`
RightPreprocess []string `yaml:"rightPreprocess"`
Diff string `yaml:"diff"`
WorkDir string `yaml:"workDir"`
Shell string `yaml:"shell"`
Delimiter string `yaml:"delimiter"`
UseLabel bool `yaml:"label"`
Env []string `yaml:"env"`
LeftEnv []string `yaml:"leftEnv"`
RightEnv []string `yaml:"rightEnv"`
Cleanup []string `yaml:"cleanup"`
CommonArgs []string `yaml:"commonArgs"`
LeftArgs []string `yaml:"leftArgs"`
RightArgs []string `yaml:"rightArgs"`
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.