store

package
v1.13.2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 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