Documentation ¶
Index ¶
- func GetLeaders(ctx context.Context, t *testing.T, client kubernetes.Interface, ...) ([]string, error)
- func WaitForNewLeader(ctx context.Context, client kubernetes.Interface, ...) (string, error)deprecated
- func WaitForNewLeaders(ctx context.Context, t *testing.T, client kubernetes.Interface, ...) (sets.Set[string], error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLeaders ¶
func GetLeaders(ctx context.Context, t *testing.T, client kubernetes.Interface, deploymentName, namespace string) ([]string, error)
GetLeaders collects all of the leader pods from the specified deployment. GetLeaders will return duplicate pods by design.
func WaitForNewLeader
deprecated
func WaitForNewLeaders ¶
func WaitForNewLeaders(ctx context.Context, t *testing.T, client kubernetes.Interface, deploymentName, namespace string, previousLeaders sets.Set[string], n int) (sets.Set[string], error)
WaitForNewLeaders waits until the collection of current leaders consists of "n" leaders which do not include the specified prior leaders.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.