store

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteOwnerTests

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

func ExecuteStoreTests

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

Types

type FailingStore

type FailingStore struct {
	Err error
}

func (*FailingStore) Create

func (f *FailingStore) Create(context.Context, model.Resource, ...core_store.CreateOptionsFunc) error

func (*FailingStore) Delete

func (f *FailingStore) Delete(context.Context, model.Resource, ...core_store.DeleteOptionsFunc) error

func (*FailingStore) Get

func (f *FailingStore) Get(context.Context, model.Resource, ...core_store.GetOptionsFunc) error

func (*FailingStore) List

func (f *FailingStore) List(context.Context, model.ResourceList, ...core_store.ListOptionsFunc) error

func (*FailingStore) Update

func (f *FailingStore) Update(context.Context, model.Resource, ...core_store.UpdateOptionsFunc) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳