pdmock

package
v0.0.0-...-96040f1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package pdmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

type MockClient struct {
	// contains filtered or unexported fields
}

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) AddNote

func (m *MockClient) AddNote(notes string) error

AddNote mocks base method.

func (*MockClient) CreateNewAlert

func (m *MockClient) CreateNewAlert(newAlert pagerduty.NewAlert, serviceID string) error

CreateNewAlert mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) EscalateAlert

func (m *MockClient) EscalateAlert() error

EscalateAlert mocks base method.

func (*MockClient) EscalateAlertWithNote

func (m *MockClient) EscalateAlertWithNote(notes string) error

EscalateAlertWithNote mocks base method.

func (*MockClient) GetEventType

func (m *MockClient) GetEventType() string

GetEventType mocks base method.

func (*MockClient) GetServiceID

func (m *MockClient) GetServiceID() string

GetServiceID mocks base method.

func (*MockClient) SilenceAlert

func (m *MockClient) SilenceAlert() error

SilenceAlert mocks base method.

func (*MockClient) SilenceAlertWithNote

func (m *MockClient) SilenceAlertWithNote(notes string) error

SilenceAlertWithNote mocks base method.

type MockClientMockRecorder

type MockClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) AddNote

func (mr *MockClientMockRecorder) AddNote(notes interface{}) *gomock.Call

AddNote indicates an expected call of AddNote.

func (*MockClientMockRecorder) CreateNewAlert

func (mr *MockClientMockRecorder) CreateNewAlert(newAlert, serviceID interface{}) *gomock.Call

CreateNewAlert indicates an expected call of CreateNewAlert.

func (*MockClientMockRecorder) EscalateAlert

func (mr *MockClientMockRecorder) EscalateAlert() *gomock.Call

EscalateAlert indicates an expected call of EscalateAlert.

func (*MockClientMockRecorder) EscalateAlertWithNote

func (mr *MockClientMockRecorder) EscalateAlertWithNote(notes interface{}) *gomock.Call

EscalateAlertWithNote indicates an expected call of EscalateAlertWithNote.

func (*MockClientMockRecorder) GetEventType

func (mr *MockClientMockRecorder) GetEventType() *gomock.Call

GetEventType indicates an expected call of GetEventType.

func (*MockClientMockRecorder) GetServiceID

func (mr *MockClientMockRecorder) GetServiceID() *gomock.Call

GetServiceID indicates an expected call of GetServiceID.

func (*MockClientMockRecorder) SilenceAlert

func (mr *MockClientMockRecorder) SilenceAlert() *gomock.Call

SilenceAlert indicates an expected call of SilenceAlert.

func (*MockClientMockRecorder) SilenceAlertWithNote

func (mr *MockClientMockRecorder) SilenceAlertWithNote(notes interface{}) *gomock.Call

SilenceAlertWithNote indicates an expected call of SilenceAlertWithNote.

Jump to

Keyboard shortcuts

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