library

package
v0.0.0-alpha.0....-8dc397b Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WaitPollInterval = time.Second
	WaitPollTimeout  = 10 * time.Minute
)

Functions

func NewClientConfigForTest

func NewClientConfigForTest() (*rest.Config, error)

NewClientConfigForTest returns a config configured to connect to the api server

func WaitForKubeControllerManagerClusterOperator

func WaitForKubeControllerManagerClusterOperator(t *testing.T, ctx context.Context, client configclient.ConfigV1Interface, available, progressing, degraded configv1.ConditionStatus)

WaitForKubeControllerManagerClusterOperator waits for ClusterOperator/kube-controller-manager to report status as available, progressing, and failing as passed through arguments.

func WaitForServiceAccountInNamespace

func WaitForServiceAccountInNamespace(c clientset.Interface, ns, serviceAccountName string) error

WaitForServiceAccountInNamespace waits for a creation of a service account in a new namespace note this method has been copied from k/k repo

Types

This section is empty.

Jump to

Keyboard shortcuts

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