Documentation ¶
Index ¶
- func ConfigSpec() docs.FieldSpec
- func DocsMarkdown() ([]byte, error)
- type BloblangCondition
- type Case
- type ContentEqualsCondition
- type ContentJSONContainsCondition
- type ContentJSONEqualsCondition
- type ContentMatchesCondition
- type FileEqualsCondition
- type FileJSONContainsCondition
- type FileJSONEqualsCondition
- type InputConfig
- type MetadataEqualsCondition
- type OutputCondition
- type OutputConditionsMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigSpec ¶
ConfigSpec returns a configuration spec for a template.
func DocsMarkdown ¶
DocsMarkdown returns a markdown document for the templates documentation.
Types ¶
type BloblangCondition ¶
type BloblangCondition struct {
// contains filtered or unexported fields
}
type Case ¶
type Case struct { Name string Environment map[string]string TargetProcessors string TargetMapping string Mocks map[string]any InputBatches [][]InputConfig OutputBatches [][]OutputConditionsMap // contains filtered or unexported fields }
func CaseFromAny ¶
func CaseFromParsed ¶
func CaseFromParsed(pConf *docs.ParsedConfig) (c Case, err error)
func FromParsed ¶
func FromParsed(pConf *docs.ParsedConfig) ([]Case, error)
type ContentEqualsCondition ¶
type ContentEqualsCondition string
type ContentJSONContainsCondition ¶
type ContentJSONContainsCondition string
type ContentJSONEqualsCondition ¶
type ContentJSONEqualsCondition string
type ContentMatchesCondition ¶
type ContentMatchesCondition string
type FileEqualsCondition ¶
type FileEqualsCondition string
type FileJSONContainsCondition ¶
type FileJSONContainsCondition string
type FileJSONEqualsCondition ¶
type FileJSONEqualsCondition string
type InputConfig ¶
func InputFromParsed ¶
func InputFromParsed(pConf *docs.ParsedConfig) (conf InputConfig, err error)
type MetadataEqualsCondition ¶
type OutputCondition ¶
type OutputConditionsMap ¶
type OutputConditionsMap map[string]OutputCondition
func OutputConditionsFromParsed ¶
func OutputConditionsFromParsed(pConf *docs.ParsedConfig) (m OutputConditionsMap, err error)
Click to show internal directories.
Click to hide internal directories.