expectations

package
v0.10.0-rc.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	sync.Mutex
	// contains filtered or unexported fields
}

Store contains UIDs for which we are waiting to observe some change through event handlers.

func NewStore

func NewStore(name string) *Store

func (*Store) ExpectUIDs

func (e *Store) ExpectUIDs(log logr.Logger, key types.NamespacedName, uids []types.UID)

func (*Store) ObservedUID

func (e *Store) ObservedUID(log logr.Logger, key types.NamespacedName, uid types.UID)

func (*Store) Satisfied

func (e *Store) Satisfied(log logr.Logger, key types.NamespacedName) bool

Jump to

Keyboard shortcuts

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