eventloop_test_util

package
v0.0.0-...-d212fee Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartServiceAccountListenerOnFakeClient

func StartServiceAccountListenerOnFakeClient(ctx context.Context, managedEnvironmentUID string, k8sClient client.Client)

StartServiceAccountListenerOnFakeClient simulates the default K8s behaviour of ServiceAccountTokenSecrets on Kubernetes. - Wait for the ServiceAccountToken Secret to be created - Next, add a fake token to the secret - Finally, add a reference to the Secret to the ServiceAccount This is for unit test purposes only.

Types

This section is empty.

Jump to

Keyboard shortcuts

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