mock

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: Apache-2.0 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 MockAuthClient

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

MockAuthClient is a mock of AuthClient interface.

func NewMockAuthClient

func NewMockAuthClient(ctrl *gomock.Controller) *MockAuthClient

NewMockAuthClient creates a new mock instance.

func (*MockAuthClient) AuthenticateWithDid added in v0.1.13

func (m *MockAuthClient) AuthenticateWithDid(did, nonce string, signature []byte) (*model.AuthToken, error)

AuthenticateWithDid mocks base method.

func (*MockAuthClient) AuthenticateWithPassword

func (m *MockAuthClient) AuthenticateWithPassword(email, password string) (*model.AuthToken, error)

AuthenticateWithPassword mocks base method.

func (*MockAuthClient) AuthnWithDidRegister

func (m *MockAuthClient) AuthnWithDidRegister(did, nonce string, enc []byte) error

AuthnWithDidRegister mocks base method.

func (*MockAuthClient) Close

func (m *MockAuthClient) Close()

Close mocks base method.

func (*MockAuthClient) CreateDidAuthenticationChallenge

func (m *MockAuthClient) CreateDidAuthenticationChallenge(did string) (*auth_client.DidAuthenticationChallenge, error)

CreateDidAuthenticationChallenge mocks base method.

func (*MockAuthClient) CreateDidRegistrationChallenge

func (m *MockAuthClient) CreateDidRegistrationChallenge(auth_token string) (*auth_client.DidRegistrationChallenge, auth_client.StreamClient, error)

CreateDidRegistrationChallenge mocks base method.

func (*MockAuthClient) EXPECT

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

type MockAuthClientMockRecorder

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

MockAuthClientMockRecorder is the mock recorder for MockAuthClient.

func (*MockAuthClientMockRecorder) AuthenticateWithDid added in v0.1.13

func (mr *MockAuthClientMockRecorder) AuthenticateWithDid(did, nonce, signature interface{}) *gomock.Call

AuthenticateWithDid indicates an expected call of AuthenticateWithDid.

func (*MockAuthClientMockRecorder) AuthenticateWithPassword

func (mr *MockAuthClientMockRecorder) AuthenticateWithPassword(email, password interface{}) *gomock.Call

AuthenticateWithPassword indicates an expected call of AuthenticateWithPassword.

func (*MockAuthClientMockRecorder) AuthnWithDidRegister

func (mr *MockAuthClientMockRecorder) AuthnWithDidRegister(did, nonce, enc interface{}) *gomock.Call

AuthnWithDidRegister indicates an expected call of AuthnWithDidRegister.

func (*MockAuthClientMockRecorder) Close

func (mr *MockAuthClientMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockAuthClientMockRecorder) CreateDidAuthenticationChallenge

func (mr *MockAuthClientMockRecorder) CreateDidAuthenticationChallenge(did interface{}) *gomock.Call

CreateDidAuthenticationChallenge indicates an expected call of CreateDidAuthenticationChallenge.

func (*MockAuthClientMockRecorder) CreateDidRegistrationChallenge

func (mr *MockAuthClientMockRecorder) CreateDidRegistrationChallenge(auth_token interface{}) *gomock.Call

CreateDidRegistrationChallenge indicates an expected call of CreateDidRegistrationChallenge.

type MockStreamClient

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

MockStreamClient is a mock of StreamClient interface.

func NewMockStreamClient

func NewMockStreamClient(ctrl *gomock.Controller) *MockStreamClient

NewMockStreamClient creates a new mock instance.

func (*MockStreamClient) Close

func (m *MockStreamClient) Close() error

Close mocks base method.

func (*MockStreamClient) EXPECT

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

func (*MockStreamClient) WaitForCompletion

func (m *MockStreamClient) WaitForCompletion() error

WaitForCompletion mocks base method.

type MockStreamClientMockRecorder

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

MockStreamClientMockRecorder is the mock recorder for MockStreamClient.

func (*MockStreamClientMockRecorder) Close

Close indicates an expected call of Close.

func (*MockStreamClientMockRecorder) WaitForCompletion

func (mr *MockStreamClientMockRecorder) WaitForCompletion() *gomock.Call

WaitForCompletion indicates an expected call of WaitForCompletion.

Jump to

Keyboard shortcuts

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