testing

package
v0.50.6 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnableAlphaAPIFields added in v0.50.0

func EnableAlphaAPIFields(ctx context.Context) context.Context

EnableAlphaAPIFields enables alpha features in an existing context (for use in testing)

func EnableBetaAPIFields added in v0.50.0

func EnableBetaAPIFields(ctx context.Context) context.Context

EnableBetaAPIFields enables beta features in an existing context (for use in testing)

func EnableStableAPIFields added in v0.50.0

func EnableStableAPIFields(ctx context.Context) context.Context

EnableStableAPIFields enables stable features in an existing context (for use in testing)

func SetDefaults added in v0.46.0

func SetDefaults(ctx context.Context, t *testing.T, data map[string]string) context.Context

SetDefaults sets the default ConfigMap values in an existing context (for use in testing)

func SetFeatureFlags added in v0.50.0

func SetFeatureFlags(ctx context.Context, t *testing.T, data map[string]string) context.Context

SetFeatureFlags sets the feature-flags ConfigMap values in an existing context (for use in testing)

Types

This section is empty.

Jump to

Keyboard shortcuts

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