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.
Click to show internal directories.
Click to hide internal directories.