helm

package
v1.15.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnmarshalStdout

func UnmarshalStdout[K any](t *testing.T, h *Helm) []K

Types

type Helm

type Helm struct {
	// contains filtered or unexported fields
}

Helm test helm chart template. It is not really an integration test but this seems the best place to place it

func New

func New(t *testing.T, fopts ...OptionFunc) *Helm

func (*Helm) Cleanup

func (h *Helm) Cleanup(t *testing.T)

func (*Helm) Run

func (h *Helm) Run(t *testing.T, ctx context.Context)

func (*Helm) Stderr

func (h *Helm) Stderr(t *testing.T) io.Reader

func (*Helm) Stdout

func (h *Helm) Stdout(t *testing.T) io.Reader

type OptionFunc

type OptionFunc func(*options)

OptionFunc is a function that configures the process.

func WithGlobalValues

func WithGlobalValues(values ...string) OptionFunc

func WithNamespace

func WithNamespace(namespace string) OptionFunc

func WithShowOnly

func WithShowOnly(chart, tplYamlFileName string) OptionFunc

WithShowOnly adds a specific template yaml file at a specific chart to the list of resources to show only

func WithShowOnlySchedulerSTS

func WithShowOnlySchedulerSTS() OptionFunc

func WithShowOnlyServices

func WithShowOnlyServices(t *testing.T) OptionFunc

func WithValues

func WithValues(values ...string) OptionFunc

Jump to

Keyboard shortcuts

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