Documentation ¶
Index ¶
- type Store
- func (_m *Store) AddAnomalyID(ctx context.Context, group_id string, anomaly_id string) error
- func (_m *Store) AddCulpritIDs(ctx context.Context, group_id string, culprit_ids []string) error
- func (_m *Store) Create(ctx context.Context, subscription_name string, subscription_revision string, ...) (string, error)
- func (_m *Store) FindExistingGroup(ctx context.Context, subscription_name string, subscription_revision string, ...) ([]*v1.AnomalyGroup, error)
- func (_m *Store) LoadById(ctx context.Context, group_id string) (*v1.AnomalyGroup, error)
- func (_m *Store) UpdateBisectID(ctx context.Context, group_id string, bisection_id string) error
- func (_m *Store) UpdateReportedIssueID(ctx context.Context, group_id string, reported_issue_id string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
Store is an autogenerated mock type for the Store type
func NewStore ¶
NewStore creates a new instance of Store. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Store) AddAnomalyID ¶
AddAnomalyID provides a mock function with given fields: ctx, group_id, anomaly_id
func (*Store) AddCulpritIDs ¶
AddCulpritIDs provides a mock function with given fields: ctx, group_id, culprit_ids
func (*Store) Create ¶
func (_m *Store) Create(ctx context.Context, subscription_name string, subscription_revision string, domain_name string, benchmark_name string, start_commit int64, end_commit int64, action string) (string, error)
Create provides a mock function with given fields: ctx, subscription_name, subscription_revision, domain_name, benchmark_name, start_commit, end_commit, action
func (*Store) FindExistingGroup ¶
func (_m *Store) FindExistingGroup(ctx context.Context, subscription_name string, subscription_revision string, domain_name string, benchmark_name string, start_commit int64, end_commit int64, action string) ([]*v1.AnomalyGroup, error)
FindExistingGroup provides a mock function with given fields: ctx, subscription_name, subscription_revision, domain_name, benchmark_name, start_commit, end_commit, action
func (*Store) UpdateBisectID ¶
UpdateBisectID provides a mock function with given fields: ctx, group_id, bisection_id