mock

package
v1.0.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2019 License: ISC Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAuthOracle

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

MockAuthOracle is a mock of AuthOracle interface

func NewMockAuthOracle

func NewMockAuthOracle(ctrl *gomock.Controller) *MockAuthOracle

NewMockAuthOracle creates a new mock instance

func (*MockAuthOracle) EXPECT

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

func (*MockAuthOracle) GetAuthID

func (m *MockAuthOracle) GetAuthID() string

GetAuthID mocks base method

func (*MockAuthOracle) GetRequest

func (m *MockAuthOracle) GetRequest() *http.Request

GetRequest mocks base method

func (*MockAuthOracle) InitFromRequest

func (m *MockAuthOracle) InitFromRequest(arg0 *http.Request) Terror

InitFromRequest mocks base method

func (*MockAuthOracle) IsRequestAuthenticated

func (m *MockAuthOracle) IsRequestAuthenticated() bool

IsRequestAuthenticated mocks base method

func (*MockAuthOracle) RequireAuthentication

func (m *MockAuthOracle) RequireAuthentication() Terror

RequireAuthentication mocks base method

type MockAuthOracleMockRecorder

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

MockAuthOracleMockRecorder is the mock recorder for MockAuthOracle

func (*MockAuthOracleMockRecorder) GetAuthID

func (mr *MockAuthOracleMockRecorder) GetAuthID() *gomock.Call

GetAuthID indicates an expected call of GetAuthID

func (*MockAuthOracleMockRecorder) GetRequest

func (mr *MockAuthOracleMockRecorder) GetRequest() *gomock.Call

GetRequest indicates an expected call of GetRequest

func (*MockAuthOracleMockRecorder) InitFromRequest

func (mr *MockAuthOracleMockRecorder) InitFromRequest(arg0 interface{}) *gomock.Call

InitFromRequest indicates an expected call of InitFromRequest

func (*MockAuthOracleMockRecorder) IsRequestAuthenticated

func (mr *MockAuthOracleMockRecorder) IsRequestAuthenticated() *gomock.Call

IsRequestAuthenticated indicates an expected call of IsRequestAuthenticated

func (*MockAuthOracleMockRecorder) RequireAuthentication

func (mr *MockAuthOracleMockRecorder) RequireAuthentication() *gomock.Call

RequireAuthentication indicates an expected call of RequireAuthentication

type MockClaimant

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

MockClaimant is a mock of Claimant interface

func NewMockClaimant

func NewMockClaimant(ctrl *gomock.Controller) *MockClaimant

NewMockClaimant creates a new mock instance

func (*MockClaimant) EXPECT

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

func (*MockClaimant) GetClaims

func (m *MockClaimant) GetClaims() []string

GetClaims mocks base method

func (*MockClaimant) HasAllClaims

func (m *MockClaimant) HasAllClaims(claims ...string) bool

HasAllClaims mocks base method

func (*MockClaimant) HasAnyClaim

func (m *MockClaimant) HasAnyClaim(claims ...string) bool

HasAnyClaim mocks base method

func (*MockClaimant) RequireAllClaims

func (m *MockClaimant) RequireAllClaims(claims ...string) Terror

RequireAllClaims mocks base method

func (*MockClaimant) RequireAnyClaims

func (m *MockClaimant) RequireAnyClaims()

RequireAnyClaims mocks base method

type MockClaimantMockRecorder

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

MockClaimantMockRecorder is the mock recorder for MockClaimant

func (*MockClaimantMockRecorder) GetClaims

func (mr *MockClaimantMockRecorder) GetClaims() *gomock.Call

GetClaims indicates an expected call of GetClaims

func (*MockClaimantMockRecorder) HasAllClaims

func (mr *MockClaimantMockRecorder) HasAllClaims(claims ...interface{}) *gomock.Call

HasAllClaims indicates an expected call of HasAllClaims

func (*MockClaimantMockRecorder) HasAnyClaim

func (mr *MockClaimantMockRecorder) HasAnyClaim(claims ...interface{}) *gomock.Call

HasAnyClaim indicates an expected call of HasAnyClaim

func (*MockClaimantMockRecorder) RequireAllClaims

func (mr *MockClaimantMockRecorder) RequireAllClaims(claims ...interface{}) *gomock.Call

RequireAllClaims indicates an expected call of RequireAllClaims

func (*MockClaimantMockRecorder) RequireAnyClaims

func (mr *MockClaimantMockRecorder) RequireAnyClaims() *gomock.Call

RequireAnyClaims indicates an expected call of RequireAnyClaims

Jump to

Keyboard shortcuts

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