Documentation ¶
Overview ¶
Package mock_analytics is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeHandler ¶
MakeHandler returns a Rest HTTP endpoint for chef alerts Machine learning can be left as nil if you do not wish to store the request
Types ¶
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockService) SendAnalyticsAlert ¶
func (m *MockService) SendAnalyticsAlert(message string)
SendAnalyticsAlert mocks base method
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService
func (*MockServiceMockRecorder) SendAnalyticsAlert ¶
func (mr *MockServiceMockRecorder) SendAnalyticsAlert(message interface{}) *gomock.Call
SendAnalyticsAlert indicates an expected call of SendAnalyticsAlert
type Service ¶
func NewInstrumentService ¶
Click to show internal directories.
Click to hide internal directories.