Documentation ¶
Index ¶
- type EventStore
- func (s EventStore) GetEvent(tx *dbr.Tx, projectID, eventID int) (*models.Event, error)
- func (s EventStore) GetEventDetailsMap(tx *dbr.Tx, nodeRef models.NodeRef) (map[string]interface{}, error)
- func (s EventStore) SaveEvent(tx *dbr.Tx, event models.Event) error
- func (s EventStore) SaveNodeBlob(tx *dbr.Tx, nodeBlob models.NodeBlob) error
- type OrganizationStore
- type ProjectStore
- func (s ProjectStore) GetEnvironments(tx *dbr.Tx, projectID int) ([]models.Environment, error)
- func (s ProjectStore) GetProject(tx *dbr.Tx, orgSlug, projectSlug string) (models.Project, error)
- func (s ProjectStore) GetTags(tx *dbr.Tx, projectID int) ([]*models.TagKey, error)
- func (s ProjectStore) SaveEnvironment(tx *dbr.Tx, environment models.Environment) error
- func (s ProjectStore) SaveEventGroup(tx *dbr.Tx, group models.Group) error
- func (s ProjectStore) SaveProject(tx *dbr.Tx, project models.Project) error
- func (s ProjectStore) SaveSearches(tx *dbr.Tx, searches ...models.SavedSearch) error
- func (s ProjectStore) SaveTags(tx *dbr.Tx, tags ...*models.TagKey) error
- type TeamStore
- type UserStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventStore ¶
type EventStore struct { }
func NewEventStore ¶
func NewEventStore() EventStore
func (EventStore) GetEventDetailsMap ¶
func (EventStore) SaveNodeBlob ¶
TODO move to the nodeStore
type OrganizationStore ¶
type OrganizationStore struct { }
TODO consider move store sources from ./db/store to ./store
func NewOrganizationStore ¶
func NewOrganizationStore() OrganizationStore
func (OrganizationStore) GetOrganization ¶
func (s OrganizationStore) GetOrganization(tx *dbr.Tx, orgSlug string) (*models.Organization, error)
func (OrganizationStore) SaveOrganization ¶
func (s OrganizationStore) SaveOrganization(tx *dbr.Tx, org models.Organization) error
func (OrganizationStore) SaveOrganizationMember ¶
func (s OrganizationStore) SaveOrganizationMember( tx *dbr.Tx, orgMember models.OrganizationMember) error
type ProjectStore ¶
type ProjectStore struct { }
func NewProjectStore ¶
func NewProjectStore() ProjectStore
func (ProjectStore) GetEnvironments ¶
func (s ProjectStore) GetEnvironments(tx *dbr.Tx, projectID int) ([]models.Environment, error)
func (ProjectStore) GetProject ¶
func (ProjectStore) SaveEnvironment ¶
func (s ProjectStore) SaveEnvironment(tx *dbr.Tx, environment models.Environment) error
func (ProjectStore) SaveEventGroup ¶
func (ProjectStore) SaveProject ¶
func (ProjectStore) SaveSearches ¶
func (s ProjectStore) SaveSearches(tx *dbr.Tx, searches ...models.SavedSearch) error
type TeamStore ¶
type TeamStore struct { }
func NewTeamStore ¶
func NewTeamStore() TeamStore
func (TeamStore) SaveMember ¶
Click to show internal directories.
Click to hide internal directories.