mocks

package
v0.1.38 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks 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) Connect

func (m *MockPagerDutyClient) Connect(arg0 string, arg1 ...pagerduty.ClientOptions) error

Connect mocks base method.

func (*MockPagerDutyClient) EXPECT

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

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.

Jump to

Keyboard shortcuts

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