Documentation ¶
Index ¶
- type Store
- func (st *Store) Close() error
- func (st *Store) Create(ctx context.Context, r resource.Resource, hooks ...resource.MutationHook) error
- func (st *Store) CreateModule(ctx context.Context, m module.Module) error
- func (st *Store) Delete(ctx context.Context, urn string, hooks ...resource.MutationHook) error
- func (st *Store) DeleteModule(ctx context.Context, urn string) error
- func (st *Store) GetByURN(ctx context.Context, urn string) (*resource.Resource, error)
- func (st *Store) GetModule(ctx context.Context, urn string) (*module.Module, error)
- func (st *Store) List(ctx context.Context, filter resource.Filter) ([]resource.Resource, error)
- func (st *Store) ListModules(ctx context.Context, project string) ([]module.Module, error)
- func (st *Store) Migrate(ctx context.Context) error
- func (st *Store) Revisions(ctx context.Context, selector resource.RevisionsSelector) ([]resource.Revision, error)
- func (st *Store) Update(ctx context.Context, r resource.Resource, hooks ...resource.MutationHook) error
- func (st *Store) UpdateModule(ctx context.Context, m module.Module) error
- type TxFunc
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
}
func (*Store) CreateModule ¶ added in v0.1.3
func (*Store) DeleteModule ¶ added in v0.1.3
func (*Store) ListModules ¶ added in v0.1.3
Click to show internal directories.
Click to hide internal directories.