grpcmock

package
v0.0.0-...-cafc5b9 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package grpcmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPerRPCCredentials

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

MockPerRPCCredentials is a mock of PerRPCCredentials interface.

func NewMockPerRPCCredentials

func NewMockPerRPCCredentials(ctrl *gomock.Controller) *MockPerRPCCredentials

NewMockPerRPCCredentials creates a new mock instance.

func (*MockPerRPCCredentials) EXPECT

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

func (*MockPerRPCCredentials) GetRequestMetadata

func (m *MockPerRPCCredentials) GetRequestMetadata(arg0 context.Context, arg1 ...string) (map[string]string, error)

GetRequestMetadata mocks base method.

func (*MockPerRPCCredentials) RequireTransportSecurity

func (m *MockPerRPCCredentials) RequireTransportSecurity() bool

RequireTransportSecurity mocks base method.

type MockPerRPCCredentialsMockRecorder

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

MockPerRPCCredentialsMockRecorder is the mock recorder for MockPerRPCCredentials.

func (*MockPerRPCCredentialsMockRecorder) GetRequestMetadata

func (mr *MockPerRPCCredentialsMockRecorder) GetRequestMetadata(arg0 interface{}, arg1 ...interface{}) *gomock.Call

GetRequestMetadata indicates an expected call of GetRequestMetadata.

func (*MockPerRPCCredentialsMockRecorder) RequireTransportSecurity

func (mr *MockPerRPCCredentialsMockRecorder) RequireTransportSecurity() *gomock.Call

RequireTransportSecurity indicates an expected call of RequireTransportSecurity.

Jump to

Keyboard shortcuts

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