mock_auth

package
v1.0.2 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_auth is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAuthorizer

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

MockAuthorizer is a mock of Authorizer interface.

func NewMockAuthorizer

func NewMockAuthorizer(ctrl *gomock.Controller) *MockAuthorizer

NewMockAuthorizer creates a new mock instance.

func (*MockAuthorizer) EXPECT

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

func (*MockAuthorizer) WithRPCAuthorization

func (m *MockAuthorizer) WithRPCAuthorization() credentials.PerRPCCredentials

WithRPCAuthorization mocks base method.

func (*MockAuthorizer) WithTransportAuthorization

func (m *MockAuthorizer) WithTransportAuthorization() credentials.TransportCredentials

WithTransportAuthorization mocks base method.

type MockAuthorizerMockRecorder

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

MockAuthorizerMockRecorder is the mock recorder for MockAuthorizer.

func (*MockAuthorizerMockRecorder) WithRPCAuthorization

func (mr *MockAuthorizerMockRecorder) WithRPCAuthorization() *gomock.Call

WithRPCAuthorization indicates an expected call of WithRPCAuthorization.

func (*MockAuthorizerMockRecorder) WithTransportAuthorization

func (mr *MockAuthorizerMockRecorder) WithTransportAuthorization() *gomock.Call

WithTransportAuthorization indicates an expected call of WithTransportAuthorization.

Jump to

Keyboard shortcuts

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