Documentation ¶
Index ¶
Constants ¶
View Source
const ( TagDirs = "dirs" TagRm = "rm" TagFiles = "files" TagCmd = "cmd" TagFS = "fs" SettingsHTTP = "settings" )
Variables ¶
View Source
var (
ErrCommandEmpty = xerrors.Errorf("command declaration is empty")
)
Functions ¶
This section is empty.
Types ¶
type Command ¶ added in v0.0.9
type Config ¶
type Get ¶
type Get struct { HTTPClientParams `yaml:",inline"` URL string `yaml:"url"` }
type Groups ¶ added in v0.1.6
type Groups []Group
func (Groups) GroupByAction ¶ added in v0.1.6
func (Groups) ManualActions ¶ added in v0.1.6
type HTTPClient ¶ added in v0.0.2
type HTTPClient struct { HTTPClientParams `yaml:",inline"` BaseURL AddrURL `yaml:"base_url"` Debug bool `yaml:"debug"` }
type HTTPClientParams ¶ added in v0.0.6
type RawPreprocessor ¶ added in v0.0.6
type RawPreprocessor struct {
// contains filtered or unexported fields
}
func NewRawPreprocessor ¶ added in v0.0.6
func NewRawPreprocessor(templateName string, templateVars, templateFns map[string]any, templateOptions []string) *RawPreprocessor
type Reader ¶ added in v0.0.5
type Reader struct {
// contains filtered or unexported fields
}
func NewConfigReader ¶ added in v0.0.5
type Settings ¶ added in v0.0.6
type Settings struct { HTTP *HTTPClient `yaml:"http"` Groups Groups `yaml:"groups"` }
type YamlUnmarshaler ¶ added in v0.0.6
type YamlUnmarshaler struct{}
func NewYamlConfigUnmarshaler ¶ added in v0.0.6
func NewYamlConfigUnmarshaler() *YamlUnmarshaler
Click to show internal directories.
Click to hide internal directories.