Documentation ¶
Index ¶
- func NewReleaseStore(tableName string) (store.ReleaseStore, error)
- type ReleaseStore
- func (rs ReleaseStore) Delete(ctx context.Context, uniqueID string) error
- func (rs ReleaseStore) Get(ctx context.Context, uniqueID string) (*store.Release, error)
- func (rs ReleaseStore) List(ctx context.Context, selector map[string]string) (store.Releases, error)
- func (rs ReleaseStore) Load(ctx context.Context, releases store.Releases) error
- func (rs ReleaseStore) Put(ctx context.Context, r store.Release) error
- func (rs ReleaseStore) Setup(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewReleaseStore ¶
func NewReleaseStore(tableName string) (store.ReleaseStore, error)
NewReleaseStore Creates a new ReleaseStore
Types ¶
type ReleaseStore ¶
type ReleaseStore struct {
// contains filtered or unexported fields
}
ReleaseStore stores and retrieves releases from a DynamoDB table
func (ReleaseStore) Delete ¶
func (rs ReleaseStore) Delete(ctx context.Context, uniqueID string) error
Delete deletes a release by it's UniqueID
func (ReleaseStore) List ¶
func (rs ReleaseStore) List(ctx context.Context, selector map[string]string) (store.Releases, error)
List returns releases from DynamoDB
Click to show internal directories.
Click to hide internal directories.