util

package
v0.21.2 Latest Latest
Warning

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

Go to latest
Published: May 11, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	E2ETestNameTag = "e2e.testName"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type E2EKubeClient

type E2EKubeClient struct {
	k8scontrollerclient.Client
	// contains filtered or unexported fields
}

func NewK8sResourceManager

func NewK8sResourceManager(client k8scontrollerclient.Client) *E2EKubeClient

func (*E2EKubeClient) Create

func (*E2EKubeClient) Delete

func (*E2EKubeClient) Reset

func (m *E2EKubeClient) Reset() error

func (*E2EKubeClient) Update

type ResourceQueue

type ResourceQueue struct {
	// contains filtered or unexported fields
}

func NewResourceQueue

func NewResourceQueue() *ResourceQueue

func (*ResourceQueue) DequeueHead

func (q *ResourceQueue) DequeueHead() (k8scontrollerclient.Object, bool)

func (*ResourceQueue) DequeueTail

func (q *ResourceQueue) DequeueTail() (k8scontrollerclient.Object, bool)

func (*ResourceQueue) Enqueue

func (*ResourceQueue) EnqueueIgnoreExisting

func (q *ResourceQueue) EnqueueIgnoreExisting(obj k8scontrollerclient.Object)

func (*ResourceQueue) Length

func (q *ResourceQueue) Length() int

func (*ResourceQueue) RemoveIgnoreNotFound

func (q *ResourceQueue) RemoveIgnoreNotFound(obj k8scontrollerclient.Object)

Jump to

Keyboard shortcuts

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