Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Global GlobalConfig `yaml:"global"` WatchTargets WatchTargetsConfigs `yaml:"watchTargets"` }
func (Config) BuildCommandSet ¶
func (c Config) BuildCommandSet() domain.CommandSet
type GlobalConfig ¶
type GlobalConfig struct {
LifeCycle GlobalLifeCycleConfig `yaml:"lifeCycle"`
}
func (GlobalConfig) BuildCommandSet ¶
func (c GlobalConfig) BuildCommandSet() domain.GlobalCommandSet
type GlobalLifeCycleConfig ¶
type GlobalLifeCycleConfig struct { OnStartWatch converter.CmdInfo `yaml:"onStartWatch"` OnBeforeChange converter.CmdInfo `yaml:"onBeforeChange"` OnAfterChange converter.CmdInfo `yaml:"onAfterChange"` OnFinishWatch converter.CmdInfo `yaml:"onFinishWatch"` }
func (GlobalLifeCycleConfig) BuildLifeCycle ¶
func (c GlobalLifeCycleConfig) BuildLifeCycle() domain.GlobalLifeCycle
type WatchTargetsConfig ¶
type WatchTargetsConfig struct { Path converter.Path `yaml:"path"` LifeCycle WatchTargetsLifeCycleConfig `yaml:"lifeCycle"` Option WatchTargetsOptionConfig `yaml:"option"` }
func (WatchTargetsConfig) BuildCommandSet ¶
func (c WatchTargetsConfig) BuildCommandSet() domain.WatchTargetsCommandSet
type WatchTargetsConfigs ¶
type WatchTargetsConfigs []WatchTargetsConfig
func (WatchTargetsConfigs) BuildCommandSets ¶
func (cs WatchTargetsConfigs) BuildCommandSets() domain.WatchTargetsCommandSets
type WatchTargetsLifeCycleConfig ¶
type WatchTargetsLifeCycleConfig struct { OnStartWatch converter.CmdInfo `yaml:"onStartWatch"` OnChange converter.CmdInfo `yaml:"onChange"` OnFinishWatch converter.CmdInfo `yaml:"onFinishWatch"` }
func (WatchTargetsLifeCycleConfig) BuildLifeCycle ¶
func (c WatchTargetsLifeCycleConfig) BuildLifeCycle() domain.WatchTargetsLifeCycle
type WatchTargetsOptionConfig ¶
type WatchTargetsOptionConfig struct { ExcludeDir converter.Paths `yaml:"excludeDir"` ExcludeSuffix converter.PathSuffixes `yaml:"excludeSuffix"` WaitMillisecond converter.Millisecond `yaml:"waitMillisecond"` WatchSubDir *bool `yaml:"watchSubDir"` }
func (WatchTargetsOptionConfig) BuildOption ¶
func (c WatchTargetsOptionConfig) BuildOption() domain.WatchTargetsOption
Click to show internal directories.
Click to hide internal directories.