Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockPagerDutyClient
- func (m *MockPagerDutyClient) Connect(arg0 string, arg1 ...pagerduty.ClientOptions) error
- func (m *MockPagerDutyClient) EXPECT() *MockPagerDutyClientMockRecorder
- func (m *MockPagerDutyClient) GetServiceWithContext(arg0 context.Context, arg1 string, arg2 *pagerduty.GetServiceOptions) (*pagerduty.Service, error)
- func (m *MockPagerDutyClient) ListIncidentAlerts(arg0 string) (*pagerduty.ListAlertsResponse, error)
- func (m *MockPagerDutyClient) ListIncidents(arg0 pagerduty.ListIncidentsOptions) (*pagerduty.ListIncidentsResponse, error)
- type MockPagerDutyClientMockRecorder
- func (mr *MockPagerDutyClientMockRecorder) Connect(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockPagerDutyClientMockRecorder) GetServiceWithContext(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPagerDutyClientMockRecorder) ListIncidentAlerts(arg0 interface{}) *gomock.Call
- func (mr *MockPagerDutyClientMockRecorder) ListIncidents(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPagerDutyClient ¶
type MockPagerDutyClient struct {
// contains filtered or unexported fields
}
MockPagerDutyClient is a mock of PagerDutyClient interface.
func NewMockPagerDutyClient ¶
func NewMockPagerDutyClient(ctrl *gomock.Controller) *MockPagerDutyClient
NewMockPagerDutyClient creates a new mock instance.
func (*MockPagerDutyClient) Connect ¶
func (m *MockPagerDutyClient) Connect(arg0 string, arg1 ...pagerduty.ClientOptions) error
Connect mocks base method.
func (*MockPagerDutyClient) EXPECT ¶
func (m *MockPagerDutyClient) EXPECT() *MockPagerDutyClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPagerDutyClient) GetServiceWithContext ¶
func (m *MockPagerDutyClient) GetServiceWithContext(arg0 context.Context, arg1 string, arg2 *pagerduty.GetServiceOptions) (*pagerduty.Service, error)
GetServiceWithContext mocks base method.
func (*MockPagerDutyClient) ListIncidentAlerts ¶
func (m *MockPagerDutyClient) ListIncidentAlerts(arg0 string) (*pagerduty.ListAlertsResponse, error)
ListIncidentAlerts mocks base method.
func (*MockPagerDutyClient) ListIncidents ¶
func (m *MockPagerDutyClient) ListIncidents(arg0 pagerduty.ListIncidentsOptions) (*pagerduty.ListIncidentsResponse, error)
ListIncidents mocks base method.
type MockPagerDutyClientMockRecorder ¶
type MockPagerDutyClientMockRecorder struct {
// contains filtered or unexported fields
}
MockPagerDutyClientMockRecorder is the mock recorder for MockPagerDutyClient.
func (*MockPagerDutyClientMockRecorder) Connect ¶
func (mr *MockPagerDutyClientMockRecorder) Connect(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Connect indicates an expected call of Connect.
func (*MockPagerDutyClientMockRecorder) GetServiceWithContext ¶
func (mr *MockPagerDutyClientMockRecorder) GetServiceWithContext(arg0, arg1, arg2 interface{}) *gomock.Call
GetServiceWithContext indicates an expected call of GetServiceWithContext.
func (*MockPagerDutyClientMockRecorder) ListIncidentAlerts ¶
func (mr *MockPagerDutyClientMockRecorder) ListIncidentAlerts(arg0 interface{}) *gomock.Call
ListIncidentAlerts indicates an expected call of ListIncidentAlerts.
func (*MockPagerDutyClientMockRecorder) ListIncidents ¶
func (mr *MockPagerDutyClientMockRecorder) ListIncidents(arg0 interface{}) *gomock.Call
ListIncidents indicates an expected call of ListIncidents.