gormstore

package
v1.21.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Converter

type Converter struct{}

func (*Converter) EntityList2ObjectList

func (c *Converter) EntityList2ObjectList(el store.EntityObjectList) (client.ObjectList, error)

func (*Converter) ObjectList2EntityList

func (c *Converter) ObjectList2EntityList(ol client.ObjectList, el store.EntityObjectList) error

type KubeStore

type KubeStore struct {
	Converter
	client.Client
}

func (*KubeStore) Create

func (*KubeStore) CreateMany

func (*KubeStore) Delete

func (*KubeStore) List

func (s *KubeStore) List(ctx context.Context, list store.EntityObjectList, opts ...store.ListOptions) error

func (*KubeStore) Retrieve

func (*KubeStore) Update

Jump to

Keyboard shortcuts

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