Documentation
¶
Index ¶
Constants ¶
View Source
const ConfigKey = "hello"
ConfigKey for this repo
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HelloConfig ¶
type HelloConfig struct {
Print string `json:"print"`
Times int `json:"times"`
RunAfter_ []string `json:"run_after,omitempty"`
}
HelloConfig implements tao.Config
func (*HelloConfig) RunAfter ¶
func (h *HelloConfig) RunAfter() []string
RunAfter defines pre task names
func (*HelloConfig) ToTask ¶
func (h *HelloConfig) ToTask() tao.Task
ToTask transform itself to Task
func (*HelloConfig) ValidSelf ¶
func (h *HelloConfig) ValidSelf()
ValidSelf with some default values
Click to show internal directories.
Click to hide internal directories.