ctxopts

package
v0.0.0-...-e56746e Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KubectlOptions

func KubectlOptions(ctx context.Context, envConf *envconf.Config) *k8s.KubectlOptions

func Namespace

func Namespace(ctx context.Context) string

func WithNamespace

func WithNamespace(ctx context.Context, namespace string) context.Context

NOTE: It's possible to put the namespace in the environment config instead, but this makes running tests in parallel impossible. Each test gets its own copy of the context, but they use the same environment config.

Types

This section is empty.

Jump to

Keyboard shortcuts

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