helmtest

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReplaceTemplate

func ReplaceTemplate(
	t testing.TB,
	testProject string,
	repo *gittest.LocalGitRepository,
	repoURL string,
)

func WithOCI

func WithOCI(enabled bool) oci

func WithProject

func WithProject(
	repo *gittest.LocalGitRepository,
	testProject string,
	testRoot string,
) projectOption

Types

type Environment

type Environment struct {
	HelmConfig  action.Configuration
	ChartServer Server
	// contains filtered or unexported fields
}

func StartHelmEnv

func StartHelmEnv(t testing.TB, cfg *rest.Config, opts ...Option) Environment

func (Environment) Close

func (env Environment) Close()

type Option

type Option interface {
	// contains filtered or unexported methods
}

type Server

type Server interface {
	// base URL of form http://ipaddr:port with no trailing slash
	URL() string
	Close()
}

Jump to

Keyboard shortcuts

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