mock_services

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mock_services is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAuthenticationTokenContainerEncoder

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

MockAuthenticationTokenContainerEncoder is a mock of AuthenticationTokenContainerEncoder interface

func NewMockAuthenticationTokenContainerEncoder

func NewMockAuthenticationTokenContainerEncoder(ctrl *gomock.Controller) *MockAuthenticationTokenContainerEncoder

NewMockAuthenticationTokenContainerEncoder creates a new mock instance

func (*MockAuthenticationTokenContainerEncoder) Decode

Decode mocks base method

func (*MockAuthenticationTokenContainerEncoder) EXPECT

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

func (*MockAuthenticationTokenContainerEncoder) Encode

Encode mocks base method

type MockAuthenticationTokenContainerEncoderMockRecorder

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

MockAuthenticationTokenContainerEncoderMockRecorder is the mock recorder for MockAuthenticationTokenContainerEncoder

func (*MockAuthenticationTokenContainerEncoderMockRecorder) Decode

func (mr *MockAuthenticationTokenContainerEncoderMockRecorder) Decode(rawTokenContainer interface{}) *gomock.Call

Decode indicates an expected call of Decode

func (*MockAuthenticationTokenContainerEncoderMockRecorder) Encode

func (mr *MockAuthenticationTokenContainerEncoderMockRecorder) Encode(authTokenContainer interface{}) *gomock.Call

Encode indicates an expected call of Encode

type MockContractClient

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

MockContractClient is a mock of ContractClient interface

func NewMockContractClient

func NewMockContractClient(ctrl *gomock.Controller) *MockContractClient

NewMockContractClient creates a new mock instance

func (*MockContractClient) Configure

func (m *MockContractClient) Configure() error

Configure mocks base method

func (*MockContractClient) ContractSessionStatus

func (m *MockContractClient) ContractSessionStatus(sessionID string) (*services.SessionStatusResult, error)

ContractSessionStatus mocks base method

func (*MockContractClient) CreateSigningSession

func (m *MockContractClient) CreateSigningSession(sessionRequest services.CreateSessionRequest) (contract.SessionPointer, error)

CreateSigningSession mocks base method

func (*MockContractClient) EXPECT

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

func (*MockContractClient) HandlerFunc

func (m *MockContractClient) HandlerFunc() http.HandlerFunc

HandlerFunc mocks base method

func (*MockContractClient) SigningSessionStatus

func (m *MockContractClient) SigningSessionStatus(sessionID string) (contract.SigningSessionResult, error)

SigningSessionStatus mocks base method

func (*MockContractClient) ValidateContract

ValidateContract mocks base method

func (*MockContractClient) VerifyVP

func (m *MockContractClient) VerifyVP(rawVerifiablePresentation []byte, checkTime *time.Time) (*contract.VPVerificationResult, error)

VerifyVP mocks base method

type MockContractClientMockRecorder

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

MockContractClientMockRecorder is the mock recorder for MockContractClient

func (*MockContractClientMockRecorder) Configure

func (mr *MockContractClientMockRecorder) Configure() *gomock.Call

Configure indicates an expected call of Configure

func (*MockContractClientMockRecorder) ContractSessionStatus

func (mr *MockContractClientMockRecorder) ContractSessionStatus(sessionID interface{}) *gomock.Call

ContractSessionStatus indicates an expected call of ContractSessionStatus

func (*MockContractClientMockRecorder) CreateSigningSession

func (mr *MockContractClientMockRecorder) CreateSigningSession(sessionRequest interface{}) *gomock.Call

CreateSigningSession indicates an expected call of CreateSigningSession

func (*MockContractClientMockRecorder) HandlerFunc

func (mr *MockContractClientMockRecorder) HandlerFunc() *gomock.Call

HandlerFunc indicates an expected call of HandlerFunc

func (*MockContractClientMockRecorder) SigningSessionStatus

func (mr *MockContractClientMockRecorder) SigningSessionStatus(sessionID interface{}) *gomock.Call

SigningSessionStatus indicates an expected call of SigningSessionStatus

func (*MockContractClientMockRecorder) ValidateContract

func (mr *MockContractClientMockRecorder) ValidateContract(request interface{}) *gomock.Call

ValidateContract indicates an expected call of ValidateContract

func (*MockContractClientMockRecorder) VerifyVP

func (mr *MockContractClientMockRecorder) VerifyVP(rawVerifiablePresentation, checkTime interface{}) *gomock.Call

VerifyVP indicates an expected call of VerifyVP

type MockContractNotary

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

MockContractNotary is a mock of ContractNotary interface

func NewMockContractNotary

func NewMockContractNotary(ctrl *gomock.Controller) *MockContractNotary

NewMockContractNotary creates a new mock instance

func (*MockContractNotary) DrawUpContract

func (m *MockContractNotary) DrawUpContract(template contract.Template, orgID core.PartyID, validFrom time.Time, validDuration time.Duration) (*contract.Contract, error)

DrawUpContract mocks base method

func (*MockContractNotary) EXPECT

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

func (*MockContractNotary) ValidateContract

func (m *MockContractNotary) ValidateContract(contractToValidate contract.Contract, orgID core.PartyID, checkTime time.Time) (bool, error)

ValidateContract mocks base method

type MockContractNotaryMockRecorder

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

MockContractNotaryMockRecorder is the mock recorder for MockContractNotary

func (*MockContractNotaryMockRecorder) DrawUpContract

func (mr *MockContractNotaryMockRecorder) DrawUpContract(template, orgID, validFrom, validDuration interface{}) *gomock.Call

DrawUpContract indicates an expected call of DrawUpContract

func (*MockContractNotaryMockRecorder) ValidateContract

func (mr *MockContractNotaryMockRecorder) ValidateContract(contractToValidate, orgID, checkTime interface{}) *gomock.Call

ValidateContract indicates an expected call of ValidateContract

type MockContractSessionHandler

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

MockContractSessionHandler is a mock of ContractSessionHandler interface

func NewMockContractSessionHandler

func NewMockContractSessionHandler(ctrl *gomock.Controller) *MockContractSessionHandler

NewMockContractSessionHandler creates a new mock instance

func (*MockContractSessionHandler) EXPECT

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

func (*MockContractSessionHandler) SessionStatus

SessionStatus mocks base method

func (*MockContractSessionHandler) StartSession

func (m *MockContractSessionHandler) StartSession(request interface{}, handler server.SessionHandler) (*irma.Qr, string, error)

StartSession mocks base method

type MockContractSessionHandlerMockRecorder

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

MockContractSessionHandlerMockRecorder is the mock recorder for MockContractSessionHandler

func (*MockContractSessionHandlerMockRecorder) SessionStatus

func (mr *MockContractSessionHandlerMockRecorder) SessionStatus(session interface{}) *gomock.Call

SessionStatus indicates an expected call of SessionStatus

func (*MockContractSessionHandlerMockRecorder) StartSession

func (mr *MockContractSessionHandlerMockRecorder) StartSession(request, handler interface{}) *gomock.Call

StartSession indicates an expected call of StartSession

type MockContractValidator

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

MockContractValidator is a mock of ContractValidator interface

func NewMockContractValidator

func NewMockContractValidator(ctrl *gomock.Controller) *MockContractValidator

NewMockContractValidator creates a new mock instance

func (*MockContractValidator) EXPECT

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

func (*MockContractValidator) IsInitialized

func (m *MockContractValidator) IsInitialized() bool

IsInitialized mocks base method

func (*MockContractValidator) ValidateContract

func (m *MockContractValidator) ValidateContract(contract string, format services.ContractFormat, actingPartyCN *string, checkTime *time.Time) (*services.ContractValidationResult, error)

ValidateContract mocks base method

func (*MockContractValidator) ValidateJwt

func (m *MockContractValidator) ValidateJwt(contract string, actingPartyCN *string, checkTime *time.Time) (*services.ContractValidationResult, error)

ValidateJwt mocks base method

type MockContractValidatorMockRecorder

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

MockContractValidatorMockRecorder is the mock recorder for MockContractValidator

func (*MockContractValidatorMockRecorder) IsInitialized

func (mr *MockContractValidatorMockRecorder) IsInitialized() *gomock.Call

IsInitialized indicates an expected call of IsInitialized

func (*MockContractValidatorMockRecorder) ValidateContract

func (mr *MockContractValidatorMockRecorder) ValidateContract(contract, format, actingPartyCN, checkTime interface{}) *gomock.Call

ValidateContract indicates an expected call of ValidateContract

func (*MockContractValidatorMockRecorder) ValidateJwt

func (mr *MockContractValidatorMockRecorder) ValidateJwt(contract, actingPartyCN, checkTime interface{}) *gomock.Call

ValidateJwt indicates an expected call of ValidateJwt

type MockOAuthClient

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

MockOAuthClient is a mock of OAuthClient interface

func NewMockOAuthClient

func NewMockOAuthClient(ctrl *gomock.Controller) *MockOAuthClient

NewMockOAuthClient creates a new mock instance

func (*MockOAuthClient) Configure

func (m *MockOAuthClient) Configure() error

Configure mocks base method

func (*MockOAuthClient) CreateAccessToken

CreateAccessToken mocks base method

func (*MockOAuthClient) CreateJwtBearerToken

CreateJwtBearerToken mocks base method

func (*MockOAuthClient) EXPECT

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

func (*MockOAuthClient) IntrospectAccessToken

func (m *MockOAuthClient) IntrospectAccessToken(token string) (*services.NutsAccessToken, error)

IntrospectAccessToken mocks base method

type MockOAuthClientMockRecorder

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

MockOAuthClientMockRecorder is the mock recorder for MockOAuthClient

func (*MockOAuthClientMockRecorder) Configure

func (mr *MockOAuthClientMockRecorder) Configure() *gomock.Call

Configure indicates an expected call of Configure

func (*MockOAuthClientMockRecorder) CreateAccessToken

func (mr *MockOAuthClientMockRecorder) CreateAccessToken(request interface{}) *gomock.Call

CreateAccessToken indicates an expected call of CreateAccessToken

func (*MockOAuthClientMockRecorder) CreateJwtBearerToken

func (mr *MockOAuthClientMockRecorder) CreateJwtBearerToken(request interface{}) *gomock.Call

CreateJwtBearerToken indicates an expected call of CreateJwtBearerToken

func (*MockOAuthClientMockRecorder) IntrospectAccessToken

func (mr *MockOAuthClientMockRecorder) IntrospectAccessToken(token interface{}) *gomock.Call

IntrospectAccessToken indicates an expected call of IntrospectAccessToken

type MockSignedToken

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

MockSignedToken is a mock of SignedToken interface

func NewMockSignedToken

func NewMockSignedToken(ctrl *gomock.Controller) *MockSignedToken

NewMockSignedToken creates a new mock instance

func (*MockSignedToken) Contract

func (m *MockSignedToken) Contract() contract.Contract

Contract mocks base method

func (*MockSignedToken) EXPECT

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

func (*MockSignedToken) SignerAttributes

func (m *MockSignedToken) SignerAttributes() (map[string]string, error)

SignerAttributes mocks base method

type MockSignedTokenMockRecorder

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

MockSignedTokenMockRecorder is the mock recorder for MockSignedToken

func (*MockSignedTokenMockRecorder) Contract

func (mr *MockSignedTokenMockRecorder) Contract() *gomock.Call

Contract indicates an expected call of Contract

func (*MockSignedTokenMockRecorder) SignerAttributes

func (mr *MockSignedTokenMockRecorder) SignerAttributes() *gomock.Call

SignerAttributes indicates an expected call of SignerAttributes

type MockVPProofValueParser

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

MockVPProofValueParser is a mock of VPProofValueParser interface

func NewMockVPProofValueParser

func NewMockVPProofValueParser(ctrl *gomock.Controller) *MockVPProofValueParser

NewMockVPProofValueParser creates a new mock instance

func (*MockVPProofValueParser) EXPECT

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

func (*MockVPProofValueParser) Parse

func (m *MockVPProofValueParser) Parse(rawAuthToken string) (services.SignedToken, error)

Parse mocks base method

func (*MockVPProofValueParser) Verify

Verify mocks base method

type MockVPProofValueParserMockRecorder

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

MockVPProofValueParserMockRecorder is the mock recorder for MockVPProofValueParser

func (*MockVPProofValueParserMockRecorder) Parse

func (mr *MockVPProofValueParserMockRecorder) Parse(rawAuthToken interface{}) *gomock.Call

Parse indicates an expected call of Parse

func (*MockVPProofValueParserMockRecorder) Verify

func (mr *MockVPProofValueParserMockRecorder) Verify(token interface{}) *gomock.Call

Verify indicates an expected call of Verify

Jump to

Keyboard shortcuts

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