Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrOnMissingNoInjectAction occurrs if there are not matches found and no inject action present. ErrOnMissingNoInjectAction = errors.New("no matches and no onMissing.action of 'inject'") // ErrOnMissingNoInjectPath occurrs if there are no matches found for the injectPath. ErrOnMissingNoInjectPath = errors.New("no matches and no onMissing.injectPath") )
Functions ¶
This section is empty.
Types ¶
type Condition ¶
type Condition struct { Query Queries `yaml:"query,omitempty"` Value yaml.Node `yaml:"value,omitempty"` }
type DocumentQueries ¶
type DocumentQueries []*DocumentQuery
type DocumentQuery ¶
type DocumentQuery struct {
Conditions []*Condition `yaml:"conditions,omitempty"`
}
type OnMissing ¶
type OnMissing struct { Action actions.OnMissingAction `yaml:"action,omitempty"` InjectPath Queries `yaml:"injectPath,omitempty"` }
type Overlay ¶
type Overlay struct { Name string `yaml:"name,omitempty"` Query Queries `yaml:"query,omitempty"` Value yaml.Node `yaml:"value,omitempty"` Action actions.Action `yaml:"action,omitempty"` DocumentQuery DocumentQueries `yaml:"documentQuery,omitempty"` OnMissing OnMissing `yaml:"onMissing,omitempty"` DocumentIndex []int `yaml:"documentIndex,omitempty"` }
func (*Overlay) CheckDocumentIndex ¶
func (*Overlay) UnmarshalYAML ¶
type Query ¶ added in v0.3.0
type Query struct {
// contains filtered or unexported fields
}
func (*Query) UnmarshalYAML ¶ added in v0.3.0
type WorkStream ¶
type WorkStream struct {
// contains filtered or unexported fields
}
func NewWorkStream ¶
func NewWorkStream() *WorkStream
func (*WorkStream) AddWorkload ¶
func (s *WorkStream) AddWorkload(o *Overlay, n *yaml.Node, nodeIndex int, path string)
func (*WorkStream) CloseStream ¶
func (s *WorkStream) CloseStream()
func (*WorkStream) StartHandler ¶
func (s *WorkStream) StartHandler() error
func (*WorkStream) StartStream ¶
func (s *WorkStream) StartStream()
Click to show internal directories.
Click to hide internal directories.