mock_authorize

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_authorize is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAuthorizerClient

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

MockAuthorizerClient is a mock of AuthorizerClient interface

func NewMockAuthorizerClient

func NewMockAuthorizerClient(ctrl *gomock.Controller) *MockAuthorizerClient

NewMockAuthorizerClient creates a new mock instance

func (*MockAuthorizerClient) Authorize

Authorize mocks base method

func (*MockAuthorizerClient) EXPECT

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

func (*MockAuthorizerClient) IsAdmin added in v0.0.5

IsAdmin mocks base method

type MockAuthorizerClientMockRecorder

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

MockAuthorizerClientMockRecorder is the mock recorder for MockAuthorizerClient

func (*MockAuthorizerClientMockRecorder) Authorize

func (mr *MockAuthorizerClientMockRecorder) Authorize(ctx, in interface{}, opts ...interface{}) *gomock.Call

Authorize indicates an expected call of Authorize

func (*MockAuthorizerClientMockRecorder) IsAdmin added in v0.0.5

func (mr *MockAuthorizerClientMockRecorder) IsAdmin(ctx, in interface{}, opts ...interface{}) *gomock.Call

IsAdmin indicates an expected call of IsAdmin

type MockAuthorizerServer added in v0.0.5

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

MockAuthorizerServer is a mock of AuthorizerServer interface

func NewMockAuthorizerServer added in v0.0.5

func NewMockAuthorizerServer(ctrl *gomock.Controller) *MockAuthorizerServer

NewMockAuthorizerServer creates a new mock instance

func (*MockAuthorizerServer) Authorize added in v0.0.5

Authorize mocks base method

func (*MockAuthorizerServer) EXPECT added in v0.0.5

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

func (*MockAuthorizerServer) IsAdmin added in v0.0.5

IsAdmin mocks base method

type MockAuthorizerServerMockRecorder added in v0.0.5

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

MockAuthorizerServerMockRecorder is the mock recorder for MockAuthorizerServer

func (*MockAuthorizerServerMockRecorder) Authorize added in v0.0.5

func (mr *MockAuthorizerServerMockRecorder) Authorize(arg0, arg1 interface{}) *gomock.Call

Authorize indicates an expected call of Authorize

func (*MockAuthorizerServerMockRecorder) IsAdmin added in v0.0.5

func (mr *MockAuthorizerServerMockRecorder) IsAdmin(arg0, arg1 interface{}) *gomock.Call

IsAdmin indicates an expected call of IsAdmin

Jump to

Keyboard shortcuts

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