store

package
v1.14.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: Apache-2.0 Imports: 3 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 {
	// contains filtered or unexported fields
}

Store is a fake Kubernetes store for a resource type.

func New

func New(gvk metav1.GroupVersionKind) *Store

func (*Store) Add

func (s *Store) Add(objs ...client.Object)

func (*Store) Objects

func (s *Store) Objects() map[string]any

func (*Store) Set

func (s *Store) Set(objs ...client.Object)

Jump to

Keyboard shortcuts

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