helm

package
v1.223.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

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
	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.

Jump to

Keyboard shortcuts

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