Documentation
¶
Overview ¶
Package helm provides the CI Plugin implementation for native Helm components.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct{}
Plugin implements plugin.Plugin for native Helm components.
func (*Plugin) GetHookBindings ¶
func (p *Plugin) GetHookBindings() []plugin.HookBinding
GetHookBindings returns the hook bindings for Helm CI summaries.
type Summary ¶
type Summary struct {
Component string
Stack string
Command string
Chart string
ReleaseName string
Namespace string
Target string
ObjectCount int
ObjectKinds []string
ManifestBytes int
Message string
// Diff is the unified diff produced by `helm diff`/`plan` (empty otherwise).
Diff string
}
Summary is the structured payload native Helm execution passes to the CI plugin.
type TemplateContext ¶
type TemplateContext struct {
*plugin.TemplateContext
CommandTitle string
Chart string
ReleaseName string
Namespace string
Target string
ObjectCount int
ObjectKinds []string
ManifestBytes int
Message string
// Diff is the unified diff produced by `helm diff`/`plan` (empty otherwise).
Diff string
}
TemplateContext extends the base template context with Helm-specific fields.
Click to show internal directories.
Click to hide internal directories.