Documentation
¶
Overview ¶
Package render renders a chart client-side, the same way `helm template` does, without touching a cluster.
Index ¶
- type Options
- type Renderer
- func (r *Renderer) Defaults() (map[string]interface{}, error)
- func (r *Renderer) Label() string
- func (r *Renderer) MissingAPIVersions() []string
- func (r *Renderer) Name() string
- func (r *Renderer) Render(vals map[string]interface{}) (map[string]string, error)
- func (r *Renderer) UsesLookup() bool
- func (r *Renderer) Version() string
- func (r *Renderer) WithAPIVersions(apis []string) *Renderer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Renderer ¶
type Renderer struct {
// contains filtered or unexported fields
}
func (*Renderer) MissingAPIVersions ¶
MissingAPIVersions lists the API versions the chart checks with .Capabilities.APIVersions.Has that the configured capabilities lack, leaving out versions Kubernetes removed before the rendered version.
func (*Renderer) Render ¶
Render returns the rendered manifests keyed by template path, skipping NOTES.txt, partials and templates that render to nothing.
func (*Renderer) UsesLookup ¶
func (*Renderer) WithAPIVersions ¶
WithAPIVersions returns a renderer for the same chart whose capabilities also include apis, as if the cluster served them.
Click to show internal directories.
Click to hide internal directories.