Documentation
¶
Index ¶
- type Service
- func (s *Service) Delete(_ context.Context, id string) error
- func (s *Service) List(_ context.Context, _ ...*dao.Parameter) ([]*execution.Execution, error)
- func (s *Service) Load(_ context.Context, id string) (*execution.Execution, error)
- func (s *Service) Save(_ context.Context, e *execution.Execution) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service implements an in-memory execution storage. All operations are thread-safe and return **copies** of the underlying objects to prevent data races when callers mutate the returned instances.
func (*Service) List ¶
List returns shallow copies of all executions. Parameter filtering is not implemented for the in-memory store.
Click to show internal directories.
Click to hide internal directories.