Documentation ¶
Index ¶
- Constants
- Variables
- type CreateStrategy
- type Options
- type Store
- func (s *Store[E]) Create(ctx context.Context, obj E) (E, error)
- func (s *Store[E]) Delete(ctx context.Context, id string) error
- func (s *Store[E]) Get(ctx context.Context, id string) (E, error)
- func (s *Store[E]) List(ctx context.Context) ([]E, error)
- func (s *Store[E]) Update(ctx context.Context, obj E) (E, error)
- func (s *Store[E]) Watch(ctx context.Context) (store.Watch[E], error)
Constants ¶
View Source
const ( OmapNameVolumes = "ironcore.csi.volumes" OmapNameOsImages = "ironcore.csi.os-images" )
Variables ¶
View Source
var ErrResourceVersionNotLatest = errors.New("resourceVersion is not latest")
Functions ¶
This section is empty.
Types ¶
type CreateStrategy ¶
type Options ¶
type Options[E api.Object] struct { OmapName string NewFunc func() E CreateStrategy CreateStrategy[E] }
Click to show internal directories.
Click to hide internal directories.