mocks

package
v0.0.0-...-0579e20 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlertServiceClient

type AlertServiceClient struct {
	mock.Mock
}

AlertServiceClient is an autogenerated mock type for the AlertServiceClient type

func (*AlertServiceClient) AnalyzeAlert

func (_m *AlertServiceClient) AnalyzeAlert(ctx context.Context, in *alert.AnalyzeAlertRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)

AnalyzeAlert provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) AnalyzeAlertAll

func (_m *AlertServiceClient) AnalyzeAlertAll(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)

AnalyzeAlertAll provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) DeleteAlert

DeleteAlert provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) DeleteAlertCondNotification

func (_m *AlertServiceClient) DeleteAlertCondNotification(ctx context.Context, in *alert.DeleteAlertCondNotificationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)

DeleteAlertCondNotification provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) DeleteAlertCondRule

func (_m *AlertServiceClient) DeleteAlertCondRule(ctx context.Context, in *alert.DeleteAlertCondRuleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)

DeleteAlertCondRule provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) DeleteAlertCondition

func (_m *AlertServiceClient) DeleteAlertCondition(ctx context.Context, in *alert.DeleteAlertConditionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)

DeleteAlertCondition provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) DeleteAlertHistory

func (_m *AlertServiceClient) DeleteAlertHistory(ctx context.Context, in *alert.DeleteAlertHistoryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)

DeleteAlertHistory provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) DeleteAlertRule

func (_m *AlertServiceClient) DeleteAlertRule(ctx context.Context, in *alert.DeleteAlertRuleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)

DeleteAlertRule provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) DeleteNotification

func (_m *AlertServiceClient) DeleteNotification(ctx context.Context, in *alert.DeleteNotificationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)

DeleteNotification provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) DeleteRelAlertFinding

func (_m *AlertServiceClient) DeleteRelAlertFinding(ctx context.Context, in *alert.DeleteRelAlertFindingRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)

DeleteRelAlertFinding provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) GetAlert

GetAlert provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) GetAlertCondNotification

GetAlertCondNotification provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) GetAlertCondRule

GetAlertCondRule provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) GetAlertCondition

GetAlertCondition provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) GetAlertHistory

GetAlertHistory provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) GetAlertRule

GetAlertRule provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) GetNotification

GetNotification provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) GetRelAlertFinding

GetRelAlertFinding provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) ListAlert

ListAlert provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) ListAlertCondNotification

ListAlertCondNotification provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) ListAlertCondRule

ListAlertCondRule provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) ListAlertCondition

ListAlertCondition provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) ListAlertHistory

ListAlertHistory provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) ListAlertRule

ListAlertRule provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) ListNotification

ListNotification provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) ListRelAlertFinding

ListRelAlertFinding provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) PutAlert

PutAlert provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) PutAlertCondNotification

PutAlertCondNotification provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) PutAlertCondRule

PutAlertCondRule provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) PutAlertCondition

PutAlertCondition provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) PutAlertHistory

PutAlertHistory provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) PutAlertRule

PutAlertRule provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) PutNotification

PutNotification provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) PutRelAlertFinding

PutRelAlertFinding provides a mock function with given fields: ctx, in, opts

func (*AlertServiceClient) TestNotification

func (_m *AlertServiceClient) TestNotification(ctx context.Context, in *alert.TestNotificationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)

TestNotification provides a mock function with given fields: ctx, in, opts

type AlertServiceServer

type AlertServiceServer struct {
	mock.Mock
}

AlertServiceServer is an autogenerated mock type for the AlertServiceServer type

func (*AlertServiceServer) AnalyzeAlert

AnalyzeAlert provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) AnalyzeAlertAll

func (_m *AlertServiceServer) AnalyzeAlertAll(_a0 context.Context, _a1 *emptypb.Empty) (*emptypb.Empty, error)

AnalyzeAlertAll provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) DeleteAlert

DeleteAlert provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) DeleteAlertCondNotification

func (_m *AlertServiceServer) DeleteAlertCondNotification(_a0 context.Context, _a1 *alert.DeleteAlertCondNotificationRequest) (*emptypb.Empty, error)

DeleteAlertCondNotification provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) DeleteAlertCondRule

func (_m *AlertServiceServer) DeleteAlertCondRule(_a0 context.Context, _a1 *alert.DeleteAlertCondRuleRequest) (*emptypb.Empty, error)

DeleteAlertCondRule provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) DeleteAlertCondition

func (_m *AlertServiceServer) DeleteAlertCondition(_a0 context.Context, _a1 *alert.DeleteAlertConditionRequest) (*emptypb.Empty, error)

DeleteAlertCondition provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) DeleteAlertHistory

func (_m *AlertServiceServer) DeleteAlertHistory(_a0 context.Context, _a1 *alert.DeleteAlertHistoryRequest) (*emptypb.Empty, error)

DeleteAlertHistory provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) DeleteAlertRule

func (_m *AlertServiceServer) DeleteAlertRule(_a0 context.Context, _a1 *alert.DeleteAlertRuleRequest) (*emptypb.Empty, error)

DeleteAlertRule provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) DeleteNotification

func (_m *AlertServiceServer) DeleteNotification(_a0 context.Context, _a1 *alert.DeleteNotificationRequest) (*emptypb.Empty, error)

DeleteNotification provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) DeleteRelAlertFinding

func (_m *AlertServiceServer) DeleteRelAlertFinding(_a0 context.Context, _a1 *alert.DeleteRelAlertFindingRequest) (*emptypb.Empty, error)

DeleteRelAlertFinding provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) GetAlert

GetAlert provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) GetAlertCondNotification

GetAlertCondNotification provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) GetAlertCondRule

GetAlertCondRule provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) GetAlertCondition

GetAlertCondition provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) GetAlertHistory

GetAlertHistory provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) GetAlertRule

GetAlertRule provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) GetNotification

GetNotification provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) GetRelAlertFinding

GetRelAlertFinding provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) ListAlert

ListAlert provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) ListAlertCondNotification

ListAlertCondNotification provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) ListAlertCondRule

ListAlertCondRule provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) ListAlertCondition

ListAlertCondition provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) ListAlertHistory

ListAlertHistory provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) ListAlertRule

ListAlertRule provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) ListNotification

ListNotification provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) ListRelAlertFinding

ListRelAlertFinding provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) PutAlert

PutAlert provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) PutAlertCondNotification

PutAlertCondNotification provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) PutAlertCondRule

PutAlertCondRule provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) PutAlertCondition

PutAlertCondition provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) PutAlertHistory

PutAlertHistory provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) PutAlertRule

PutAlertRule provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) PutNotification

PutNotification provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) PutRelAlertFinding

PutRelAlertFinding provides a mock function with given fields: _a0, _a1

func (*AlertServiceServer) TestNotification

func (_m *AlertServiceServer) TestNotification(_a0 context.Context, _a1 *alert.TestNotificationRequest) (*emptypb.Empty, error)

TestNotification provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

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