helm

package
v1.235.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2026 License: Apache-2.0 Imports: 11 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.

func (*Plugin) GetType

func (p *Plugin) GetType() string

GetType returns the component type.

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
	Lifecycle     map[string]any
	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
	Lifecycle     map[string]any
	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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL