mock_client

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_client is a generated GoMock package.

Index

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPagerDutyClient) GetCurrentUser

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

ListIncidents mocks base method.

func (*MockPagerDutyClient) ListOnCalls

ListOnCalls mocks base method.

func (*MockPagerDutyClient) ManageIncidents

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL