Documentation ¶
Overview ¶
Package insightstoretest is a generated GoMock package.
Index ¶
- type MockStore
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) List(arg0 context.Context, arg1 string, arg2, arg3 int64, ...) ([]*model.InsightDeployment, error)
- func (m *MockStore) LoadApplicationCounts(arg0 context.Context, arg1 string) (*insight.ApplicationCounts, error)
- func (m *MockStore) LoadMilestone(arg0 context.Context) (*insight.Milestone, error)
- func (m *MockStore) Put(arg0 context.Context, arg1 string, arg2 []*model.InsightDeployment, ...) error
- func (m *MockStore) PutApplicationCounts(arg0 context.Context, arg1 string, arg2 insight.ApplicationCounts) error
- func (m *MockStore) PutMilestone(arg0 context.Context, arg1 *insight.Milestone) error
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) List(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) LoadApplicationCounts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) LoadMilestone(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Put(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) PutApplicationCounts(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) PutMilestone(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
MockStore is a mock of Store interface.
func NewMockStore ¶
func NewMockStore(ctrl *gomock.Controller) *MockStore
NewMockStore creates a new mock instance.
func (*MockStore) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStore) List ¶ added in v0.27.2
func (m *MockStore) List(arg0 context.Context, arg1 string, arg2, arg3 int64, arg4 model.InsightDeploymentVersion) ([]*model.InsightDeployment, error)
List mocks base method.
func (*MockStore) LoadApplicationCounts ¶
func (m *MockStore) LoadApplicationCounts(arg0 context.Context, arg1 string) (*insight.ApplicationCounts, error)
LoadApplicationCounts mocks base method.
func (*MockStore) LoadMilestone ¶ added in v0.27.2
LoadMilestone mocks base method.
func (*MockStore) Put ¶ added in v0.27.2
func (m *MockStore) Put(arg0 context.Context, arg1 string, arg2 []*model.InsightDeployment, arg3 model.InsightDeploymentVersion) error
Put mocks base method.
func (*MockStore) PutApplicationCounts ¶
func (m *MockStore) PutApplicationCounts(arg0 context.Context, arg1 string, arg2 insight.ApplicationCounts) error
PutApplicationCounts mocks base method.
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore.
func (*MockStoreMockRecorder) List ¶ added in v0.27.2
func (mr *MockStoreMockRecorder) List(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockStoreMockRecorder) LoadApplicationCounts ¶
func (mr *MockStoreMockRecorder) LoadApplicationCounts(arg0, arg1 interface{}) *gomock.Call
LoadApplicationCounts indicates an expected call of LoadApplicationCounts.
func (*MockStoreMockRecorder) LoadMilestone ¶ added in v0.27.2
func (mr *MockStoreMockRecorder) LoadMilestone(arg0 interface{}) *gomock.Call
LoadMilestone indicates an expected call of LoadMilestone.
func (*MockStoreMockRecorder) Put ¶ added in v0.27.2
func (mr *MockStoreMockRecorder) Put(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Put indicates an expected call of Put.
func (*MockStoreMockRecorder) PutApplicationCounts ¶
func (mr *MockStoreMockRecorder) PutApplicationCounts(arg0, arg1, arg2 interface{}) *gomock.Call
PutApplicationCounts indicates an expected call of PutApplicationCounts.
func (*MockStoreMockRecorder) PutMilestone ¶ added in v0.27.2
func (mr *MockStoreMockRecorder) PutMilestone(arg0, arg1 interface{}) *gomock.Call
PutMilestone indicates an expected call of PutMilestone.