Documentation ¶
Index ¶
- type Event
- type EventState
- type Store
- func (s *Store) Add(ctx context.Context, id apievent.EventID, srcid apieventsrc.EventSourceID, ...) (apievent.EventID, error)
- func (s *Store) Get(ctx context.Context, id apievent.EventID) (*apievent.Event, error)
- func (s *Store) GetProjectWaitingEvents(ctx context.Context, pid apiproject.ProjectID) ([]apievent.EventID, error)
- func (s *Store) GetState(ctx context.Context, id apievent.EventID) ([]*apievent.EventStateRecord, error)
- func (s *Store) GetStateForProject(ctx context.Context, eid apievent.EventID, pid apiproject.ProjectID) ([]*apievent.ProjectEventStateRecord, error)
- func (s *Store) List(ctx context.Context, pid *apiproject.ProjectID, ofs, l uint32) ([]*eventsstore.ListRecord, error)
- func (s *Store) Setup(ctx context.Context) error
- func (s *Store) Teardown(ctx context.Context) error
- func (s *Store) UpdateState(ctx context.Context, id apievent.EventID, es *apievent.EventState) error
- func (s *Store) UpdateStateForProject(ctx context.Context, eid apievent.EventID, pid apiproject.ProjectID, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventState ¶
type Store ¶
func (*Store) GetProjectWaitingEvents ¶
func (*Store) GetStateForProject ¶
func (s *Store) GetStateForProject(ctx context.Context, eid apievent.EventID, pid apiproject.ProjectID) ([]*apievent.ProjectEventStateRecord, error)
func (*Store) List ¶
func (s *Store) List(ctx context.Context, pid *apiproject.ProjectID, ofs, l uint32) ([]*eventsstore.ListRecord, error)
func (*Store) UpdateState ¶
func (*Store) UpdateStateForProject ¶
func (s *Store) UpdateStateForProject(ctx context.Context, eid apievent.EventID, pid apiproject.ProjectID, es *apievent.ProjectEventState) error
Click to show internal directories.
Click to hide internal directories.