Documentation ¶
Index ¶
- type TemplateReader
- func (r *TemplateReader) Read() (map[string]interface{}, error)
- func (r *TemplateReader) ReadStream(on templater.OnDataStream, stopCh <-chan struct{}) error
- func (r *TemplateReader) RegisterQuery(query *templater.TemplateReaderQuery) error
- func (r *TemplateReader) ValuesFromTarget() (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TemplateReader ¶
type TemplateReader struct { Queries []*templater.TemplateReaderQuery Release *release.Release }
TemplateReader implements the templater.TemplateReader for reading from the Helm manifests of a given release.
Note: ReadStream does nothing at the moment.
func (*TemplateReader) Read ¶
func (r *TemplateReader) Read() (map[string]interface{}, error)
Read executes a set of queries against the helm values in the release/chart
func (*TemplateReader) ReadStream ¶
func (r *TemplateReader) ReadStream( on templater.OnDataStream, stopCh <-chan struct{}, ) error
ReadStream is unimplemented: stub just to implement TemplateReader
func (*TemplateReader) RegisterQuery ¶
func (r *TemplateReader) RegisterQuery(query *templater.TemplateReaderQuery) error
RegisterQuery adds a new query to be executed against the values
func (*TemplateReader) ValuesFromTarget ¶
func (r *TemplateReader) ValuesFromTarget() (map[string]interface{}, error)
ValuesFromTarget returns a set of values by reading from the Helm release's manifest, unmarshaling from the bytes
Click to show internal directories.
Click to hide internal directories.