Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrWrongConfig is returned when a condition spec has missing attributes which are mandatory ErrWrongConfig = errors.New("wrong source configuration") )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
resource.ResourceConfig `yaml:",inline"`
}
Config struct defines a source configuration
func (Config) JSONSchema ¶ added in v0.23.0
JSONSchema implements the json schema interface to generate the "source" jsonschema.
type Source ¶
type Source struct { // Changelog holds the changelog description Changelog string // Result stores the source result after a source run. Result result.Source // Output contains the value retrieved from a source Output string // Config defines a source specifications Config Config // Scm stores scm information Scm *scm.ScmHandler }
Source defines how a value is retrieved from a specific source
Click to show internal directories.
Click to hide internal directories.