store

package
v0.0.0-...-6c8496d Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteOwnerTests

func ExecuteOwnerTests(
	createStore func() store.ResourceStore,
	storeName string,
)

func ExecuteStoreTests

func ExecuteStoreTests(
	createStore func() store.ResourceStore,
	storeName string,
)

func LoadResources

func LoadResources(ctx context.Context, rs store.ResourceStore, inputs string) error

func LoadResourcesFromFile

func LoadResourcesFromFile(ctx context.Context, rs store.ResourceStore, fileName string) error

Types

type FailingStore

type FailingStore struct {
	Err error
}

func (*FailingStore) Create

func (*FailingStore) Delete

func (*FailingStore) Get

func (*FailingStore) List

func (*FailingStore) Update

Jump to

Keyboard shortcuts

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