Documentation ¶
Overview ¶
Package mock_services is a generated GoMock package.
Index ¶
- type MockAuthenticationTokenContainerEncoder
- func (m *MockAuthenticationTokenContainerEncoder) Decode(rawTokenContainer string) (*services.NutsAuthenticationTokenContainer, error)
- func (m *MockAuthenticationTokenContainerEncoder) EXPECT() *MockAuthenticationTokenContainerEncoderMockRecorder
- func (m *MockAuthenticationTokenContainerEncoder) Encode(authTokenContainer services.NutsAuthenticationTokenContainer) (string, error)
- type MockAuthenticationTokenContainerEncoderMockRecorder
- type MockContractClient
- func (m *MockContractClient) Configure() error
- func (m *MockContractClient) ContractSessionStatus(sessionID string) (*services.SessionStatusResult, error)
- func (m *MockContractClient) CreateSigningSession(sessionRequest services.CreateSessionRequest) (contract.SessionPointer, error)
- func (m *MockContractClient) EXPECT() *MockContractClientMockRecorder
- func (m *MockContractClient) HandlerFunc() http.HandlerFunc
- func (m *MockContractClient) SigningSessionStatus(sessionID string) (contract.SigningSessionResult, error)
- func (m *MockContractClient) ValidateContract(request services.ValidationRequest) (*services.ContractValidationResult, error)
- func (m *MockContractClient) VerifyVP(rawVerifiablePresentation []byte, checkTime *time.Time) (*contract.VPVerificationResult, error)
- type MockContractClientMockRecorder
- func (mr *MockContractClientMockRecorder) Configure() *gomock.Call
- func (mr *MockContractClientMockRecorder) ContractSessionStatus(sessionID interface{}) *gomock.Call
- func (mr *MockContractClientMockRecorder) CreateSigningSession(sessionRequest interface{}) *gomock.Call
- func (mr *MockContractClientMockRecorder) HandlerFunc() *gomock.Call
- func (mr *MockContractClientMockRecorder) SigningSessionStatus(sessionID interface{}) *gomock.Call
- func (mr *MockContractClientMockRecorder) ValidateContract(request interface{}) *gomock.Call
- func (mr *MockContractClientMockRecorder) VerifyVP(rawVerifiablePresentation, checkTime interface{}) *gomock.Call
- type MockContractNotary
- func (m *MockContractNotary) DrawUpContract(template contract.Template, orgID core.PartyID, validFrom time.Time, ...) (*contract.Contract, error)
- func (m *MockContractNotary) EXPECT() *MockContractNotaryMockRecorder
- func (m *MockContractNotary) ValidateContract(contractToValidate contract.Contract, orgID core.PartyID, checkTime time.Time) (bool, error)
- type MockContractNotaryMockRecorder
- type MockContractSessionHandler
- func (m *MockContractSessionHandler) EXPECT() *MockContractSessionHandlerMockRecorder
- func (m *MockContractSessionHandler) SessionStatus(session services.SessionID) (*services.SessionStatusResult, error)
- func (m *MockContractSessionHandler) StartSession(request interface{}, handler server.SessionHandler) (*irma.Qr, string, error)
- type MockContractSessionHandlerMockRecorder
- type MockContractValidator
- func (m *MockContractValidator) EXPECT() *MockContractValidatorMockRecorder
- func (m *MockContractValidator) IsInitialized() bool
- func (m *MockContractValidator) ValidateContract(contract string, format services.ContractFormat, actingPartyCN *string, ...) (*services.ContractValidationResult, error)
- func (m *MockContractValidator) ValidateJwt(contract string, actingPartyCN *string, checkTime *time.Time) (*services.ContractValidationResult, error)
- type MockContractValidatorMockRecorder
- func (mr *MockContractValidatorMockRecorder) IsInitialized() *gomock.Call
- func (mr *MockContractValidatorMockRecorder) ValidateContract(contract, format, actingPartyCN, checkTime interface{}) *gomock.Call
- func (mr *MockContractValidatorMockRecorder) ValidateJwt(contract, actingPartyCN, checkTime interface{}) *gomock.Call
- type MockOAuthClient
- func (m *MockOAuthClient) Configure() error
- func (m *MockOAuthClient) CreateAccessToken(request services.CreateAccessTokenRequest) (*services.AccessTokenResult, error)
- func (m *MockOAuthClient) CreateJwtBearerToken(request services.CreateJwtBearerTokenRequest) (*services.JwtBearerTokenResult, error)
- func (m *MockOAuthClient) EXPECT() *MockOAuthClientMockRecorder
- func (m *MockOAuthClient) IntrospectAccessToken(token string) (*services.NutsAccessToken, error)
- type MockOAuthClientMockRecorder
- func (mr *MockOAuthClientMockRecorder) Configure() *gomock.Call
- func (mr *MockOAuthClientMockRecorder) CreateAccessToken(request interface{}) *gomock.Call
- func (mr *MockOAuthClientMockRecorder) CreateJwtBearerToken(request interface{}) *gomock.Call
- func (mr *MockOAuthClientMockRecorder) IntrospectAccessToken(token interface{}) *gomock.Call
- type MockSignedToken
- type MockSignedTokenMockRecorder
- type MockVPProofValueParser
- type MockVPProofValueParserMockRecorder
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 ¶
func (m *MockAuthenticationTokenContainerEncoder) Decode(rawTokenContainer string) (*services.NutsAuthenticationTokenContainer, error)
Decode mocks base method
func (*MockAuthenticationTokenContainerEncoder) EXPECT ¶
func (m *MockAuthenticationTokenContainerEncoder) EXPECT() *MockAuthenticationTokenContainerEncoderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAuthenticationTokenContainerEncoder) Encode ¶
func (m *MockAuthenticationTokenContainerEncoder) Encode(authTokenContainer services.NutsAuthenticationTokenContainer) (string, error)
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 ¶
func (m *MockContractClient) EXPECT() *MockContractClientMockRecorder
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 ¶
func (m *MockContractClient) ValidateContract(request services.ValidationRequest) (*services.ContractValidationResult, error)
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 ¶
func (m *MockContractNotary) EXPECT() *MockContractNotaryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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 ¶
func (m *MockContractSessionHandler) EXPECT() *MockContractSessionHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockContractSessionHandler) SessionStatus ¶
func (m *MockContractSessionHandler) SessionStatus(session services.SessionID) (*services.SessionStatusResult, error)
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 ¶
func (m *MockContractValidator) EXPECT() *MockContractValidatorMockRecorder
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 ¶
func (m *MockOAuthClient) CreateAccessToken(request services.CreateAccessTokenRequest) (*services.AccessTokenResult, error)
CreateAccessToken mocks base method
func (*MockOAuthClient) CreateJwtBearerToken ¶
func (m *MockOAuthClient) CreateJwtBearerToken(request services.CreateJwtBearerTokenRequest) (*services.JwtBearerTokenResult, error)
CreateJwtBearerToken mocks base method
func (*MockOAuthClient) EXPECT ¶
func (m *MockOAuthClient) EXPECT() *MockOAuthClientMockRecorder
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 ¶
func (m *MockSignedToken) EXPECT() *MockSignedTokenMockRecorder
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 ¶
func (m *MockVPProofValueParser) EXPECT() *MockVPProofValueParserMockRecorder
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 ¶
func (m *MockVPProofValueParser) Verify(token services.SignedToken) error
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