Documentation ¶
Overview ¶
Package mock_client is a generated GoMock package.
Index ¶
- type MockPagerDutyClient
- func (m *MockPagerDutyClient) EXPECT() *MockPagerDutyClientMockRecorder
- func (m *MockPagerDutyClient) GetCurrentUser(arg0 pagerduty.GetCurrentUserOptions) (*pagerduty.User, error)
- func (m *MockPagerDutyClient) GetIncidentAlert(incidentID, alertID string) (*pagerduty.IncidentAlertResponse, *http.Response, error)
- func (m *MockPagerDutyClient) GetService(serviceID string, opts *pagerduty.GetServiceOptions) (*pagerduty.Service, error)
- func (m *MockPagerDutyClient) ListIncidentAlerts(incidentId string) (*pagerduty.ListAlertsResponse, error)
- func (m *MockPagerDutyClient) ListIncidents(arg0 pagerduty.ListIncidentsOptions) (*pagerduty.ListIncidentsResponse, error)
- func (m *MockPagerDutyClient) ListOnCalls(opts pagerduty.ListOnCallOptions) (*pagerduty.ListOnCallsResponse, error)
- func (m *MockPagerDutyClient) ManageIncidents(from string, incidents []pagerduty.ManageIncidentsOptions) (*pagerduty.ListIncidentsResponse, error)
- type MockPagerDutyClientMockRecorder
- func (mr *MockPagerDutyClientMockRecorder) GetCurrentUser(arg0 interface{}) *gomock.Call
- func (mr *MockPagerDutyClientMockRecorder) GetIncidentAlert(incidentID, alertID interface{}) *gomock.Call
- func (mr *MockPagerDutyClientMockRecorder) GetService(serviceID, opts interface{}) *gomock.Call
- func (mr *MockPagerDutyClientMockRecorder) ListIncidentAlerts(incidentId interface{}) *gomock.Call
- func (mr *MockPagerDutyClientMockRecorder) ListIncidents(arg0 interface{}) *gomock.Call
- func (mr *MockPagerDutyClientMockRecorder) ListOnCalls(opts interface{}) *gomock.Call
- func (mr *MockPagerDutyClientMockRecorder) ManageIncidents(from, incidents 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) EXPECT ¶
func (m *MockPagerDutyClient) EXPECT() *MockPagerDutyClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPagerDutyClient) GetCurrentUser ¶
func (m *MockPagerDutyClient) GetCurrentUser(arg0 pagerduty.GetCurrentUserOptions) (*pagerduty.User, error)
GetCurrentUser mocks base method.
func (*MockPagerDutyClient) GetIncidentAlert ¶
func (m *MockPagerDutyClient) GetIncidentAlert(incidentID, alertID string) (*pagerduty.IncidentAlertResponse, *http.Response, error)
GetIncidentAlert mocks base method.
func (*MockPagerDutyClient) GetService ¶
func (m *MockPagerDutyClient) GetService(serviceID string, opts *pagerduty.GetServiceOptions) (*pagerduty.Service, error)
GetService mocks base method.
func (*MockPagerDutyClient) ListIncidentAlerts ¶
func (m *MockPagerDutyClient) ListIncidentAlerts(incidentId 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.
func (*MockPagerDutyClient) ListOnCalls ¶
func (m *MockPagerDutyClient) ListOnCalls(opts pagerduty.ListOnCallOptions) (*pagerduty.ListOnCallsResponse, error)
ListOnCalls mocks base method.
func (*MockPagerDutyClient) ManageIncidents ¶
func (m *MockPagerDutyClient) ManageIncidents(from string, incidents []pagerduty.ManageIncidentsOptions) (*pagerduty.ListIncidentsResponse, error)
ManageIncidents mocks base method.
type MockPagerDutyClientMockRecorder ¶
type MockPagerDutyClientMockRecorder struct {
// contains filtered or unexported fields
}
MockPagerDutyClientMockRecorder is the mock recorder for MockPagerDutyClient.
func (*MockPagerDutyClientMockRecorder) GetCurrentUser ¶
func (mr *MockPagerDutyClientMockRecorder) GetCurrentUser(arg0 interface{}) *gomock.Call
GetCurrentUser indicates an expected call of GetCurrentUser.
func (*MockPagerDutyClientMockRecorder) GetIncidentAlert ¶
func (mr *MockPagerDutyClientMockRecorder) GetIncidentAlert(incidentID, alertID interface{}) *gomock.Call
GetIncidentAlert indicates an expected call of GetIncidentAlert.
func (*MockPagerDutyClientMockRecorder) GetService ¶
func (mr *MockPagerDutyClientMockRecorder) GetService(serviceID, opts interface{}) *gomock.Call
GetService indicates an expected call of GetService.
func (*MockPagerDutyClientMockRecorder) ListIncidentAlerts ¶
func (mr *MockPagerDutyClientMockRecorder) ListIncidentAlerts(incidentId 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.
func (*MockPagerDutyClientMockRecorder) ListOnCalls ¶
func (mr *MockPagerDutyClientMockRecorder) ListOnCalls(opts interface{}) *gomock.Call
ListOnCalls indicates an expected call of ListOnCalls.
func (*MockPagerDutyClientMockRecorder) ManageIncidents ¶
func (mr *MockPagerDutyClientMockRecorder) ManageIncidents(from, incidents interface{}) *gomock.Call
ManageIncidents indicates an expected call of ManageIncidents.