e2e

package
v1.78.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Coverage

func Coverage() env.Func

func CreateNamespace

func CreateNamespace(name string, opts ...envfuncs.CreateNamespaceOpts) env.Func

CreateNamespace provides an Environment.Func that creates a new namespace API object and stores it the context using its name as key.

func Logger

func Logger(traceId string) types.StepFunc

func PinKubeconfig

func PinKubeconfig(suite string) (restore func())

PinKubeconfig points KUBECONFIG at a scratch file and returns a cleanup function, so a test suite that starts a cluster can never reach the developer's ~/.kube/config. See kubepin.Pin, which it calls, for why and how; a package that e2e imports (endpoints, signup) calls kubepin.Pin directly.

func SignUp

func SignUp(opts SignUpOptions) types.StepFunc

Types

type SignUpOptions

type SignUpOptions struct {
	Username   string
	Groups     []string
	JWTSignKey string // PEM-encoded RSA private key
	JWTKeyID   string
	Namespace  string
	Duration   time.Duration
}

Directories

Path Synopsis
Package kubepin pins KUBECONFIG for a test suite that starts a cluster.
Package kubepin pins KUBECONFIG for a test suite that starts a cluster.

Jump to

Keyboard shortcuts

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