Versions in this module Expand all Collapse all v0 v0.0.2 Oct 24, 2023 Changes in this version + func WithTimeout(timeoutStr string, fn func() error) error + type Agent interface + Exec func(executable Executable) error + Name func() consts.AgentType + type Executable struct + Aliases []string + Description string + Name string + Spec map[string]interface{} + Tags []string + Type consts.AgentType + func (e *Executable) GetContext() (workspace, workspacePath, namespace string) + func (e *Executable) ID() string + func (e *Executable) MergeTags(tags []string) + func (e *Executable) SetContext(workspace, workspacePath, namespace string) + func (e *Executable) Validate() error + type List []*Executable + func (l *List) FilterByTag(tag string) []*Executable + func (l *List) FilterByTags(tags []string) []*Executable + func (l *List) FilterByType(agent consts.AgentType) []*Executable + func (l *List) FindByTypeAndName(agent consts.AgentType, name string) (*Executable, error) + type Preference map[string]interface