mock

package
v0.1.26 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 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 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.

type MockUserClient

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

MockUserClient is a mock of UserClient interface.

func NewMockUserClient

func NewMockUserClient(ctrl *gomock.Controller) *MockUserClient

NewMockUserClient creates a new mock instance.

func (*MockUserClient) AuthenticateWithDid

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

AuthenticateWithDid mocks base method.

func (*MockUserClient) AuthenticateWithPassword

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

AuthenticateWithPassword mocks base method.

func (*MockUserClient) AuthnWithDidRegister

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

AuthnWithDidRegister mocks base method.

func (*MockUserClient) Close

func (m *MockUserClient) Close()

Close mocks base method.

func (*MockUserClient) CreateDidAuthenticationChallenge

func (m *MockUserClient) CreateDidAuthenticationChallenge(did string) (*user_client.DidAuthenticationChallenge, error)

CreateDidAuthenticationChallenge mocks base method.

func (*MockUserClient) CreateDidRegistrationChallenge

func (m *MockUserClient) CreateDidRegistrationChallenge(auth_token string) (*user_client.DidRegistrationChallenge, user_client.StreamClient, error)

CreateDidRegistrationChallenge mocks base method.

func (*MockUserClient) EXPECT

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

type MockUserClientMockRecorder

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

MockUserClientMockRecorder is the mock recorder for MockUserClient.

func (*MockUserClientMockRecorder) AuthenticateWithDid

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

AuthenticateWithDid indicates an expected call of AuthenticateWithDid.

func (*MockUserClientMockRecorder) AuthenticateWithPassword

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

AuthenticateWithPassword indicates an expected call of AuthenticateWithPassword.

func (*MockUserClientMockRecorder) AuthnWithDidRegister

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

AuthnWithDidRegister indicates an expected call of AuthnWithDidRegister.

func (*MockUserClientMockRecorder) Close

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

Close indicates an expected call of Close.

func (*MockUserClientMockRecorder) CreateDidAuthenticationChallenge

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

CreateDidAuthenticationChallenge indicates an expected call of CreateDidAuthenticationChallenge.

func (*MockUserClientMockRecorder) CreateDidRegistrationChallenge

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

CreateDidRegistrationChallenge indicates an expected call of CreateDidRegistrationChallenge.

Jump to

Keyboard shortcuts

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