mocks

package
v0.0.2503 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockISessionManager

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

MockISessionManager is a mock of ISessionManager interface.

func NewMockISessionManager

func NewMockISessionManager(ctrl *gomock.Controller) *MockISessionManager

NewMockISessionManager creates a new mock instance.

func (*MockISessionManager) Close

func (m *MockISessionManager) Close() error

Close mocks base method.

func (*MockISessionManager) DelSession

func (m *MockISessionManager) DelSession(id uuid.UUID, tenant string) error

DelSession mocks base method.

func (*MockISessionManager) EXPECT

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

func (*MockISessionManager) GetSession

func (m *MockISessionManager) GetSession(id uuid.UUID, tenant string) (json.RawMessage, error)

GetSession mocks base method.

func (*MockISessionManager) Init

func (m *MockISessionManager) Init(v *viper.Viper) error

Init mocks base method.

func (*MockISessionManager) SetSession

func (m *MockISessionManager) SetSession(id uuid.UUID, tenant string, session json.RawMessage, ttl time.Duration) error

SetSession mocks base method.

type MockISessionManagerMockRecorder

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

MockISessionManagerMockRecorder is the mock recorder for MockISessionManager.

func (*MockISessionManagerMockRecorder) Close

Close indicates an expected call of Close.

func (*MockISessionManagerMockRecorder) DelSession

func (mr *MockISessionManagerMockRecorder) DelSession(id, tenant interface{}) *gomock.Call

DelSession indicates an expected call of DelSession.

func (*MockISessionManagerMockRecorder) GetSession

func (mr *MockISessionManagerMockRecorder) GetSession(id, tenant interface{}) *gomock.Call

GetSession indicates an expected call of GetSession.

func (*MockISessionManagerMockRecorder) Init

func (mr *MockISessionManagerMockRecorder) Init(v interface{}) *gomock.Call

Init indicates an expected call of Init.

func (*MockISessionManagerMockRecorder) SetSession

func (mr *MockISessionManagerMockRecorder) SetSession(id, tenant, session, ttl interface{}) *gomock.Call

SetSession indicates an expected call of SetSession.

type MockIVerifier

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

MockIVerifier is a mock of IVerifier interface.

func NewMockIVerifier

func NewMockIVerifier(ctrl *gomock.Controller) *MockIVerifier

NewMockIVerifier creates a new mock instance.

func (*MockIVerifier) EXPECT

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

func (*MockIVerifier) GetPublicKey

func (m *MockIVerifier) GetPublicKey() (*proto.PublicKey, error)

GetPublicKey mocks base method.

func (*MockIVerifier) GetVTSState

func (m *MockIVerifier) GetVTSState() (*proto.ServiceState, error)

GetVTSState mocks base method.

func (*MockIVerifier) IsSupportedMediaType

func (m *MockIVerifier) IsSupportedMediaType(mt string) (bool, error)

IsSupportedMediaType mocks base method.

func (*MockIVerifier) ProcessEvidence

func (m *MockIVerifier) ProcessEvidence(tenantID string, nonce, data []byte, mt string) ([]byte, error)

ProcessEvidence mocks base method.

func (*MockIVerifier) SupportedMediaTypes

func (m *MockIVerifier) SupportedMediaTypes() ([]string, error)

SupportedMediaTypes mocks base method.

type MockIVerifierMockRecorder

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

MockIVerifierMockRecorder is the mock recorder for MockIVerifier.

func (*MockIVerifierMockRecorder) GetPublicKey

func (mr *MockIVerifierMockRecorder) GetPublicKey() *gomock.Call

GetPublicKey indicates an expected call of GetPublicKey.

func (*MockIVerifierMockRecorder) GetVTSState

func (mr *MockIVerifierMockRecorder) GetVTSState() *gomock.Call

GetVTSState indicates an expected call of GetVTSState.

func (*MockIVerifierMockRecorder) IsSupportedMediaType

func (mr *MockIVerifierMockRecorder) IsSupportedMediaType(mt interface{}) *gomock.Call

IsSupportedMediaType indicates an expected call of IsSupportedMediaType.

func (*MockIVerifierMockRecorder) ProcessEvidence

func (mr *MockIVerifierMockRecorder) ProcessEvidence(tenantID, nonce, data, mt interface{}) *gomock.Call

ProcessEvidence indicates an expected call of ProcessEvidence.

func (*MockIVerifierMockRecorder) SupportedMediaTypes

func (mr *MockIVerifierMockRecorder) SupportedMediaTypes() *gomock.Call

SupportedMediaTypes indicates an expected call of SupportedMediaTypes.

Jump to

Keyboard shortcuts

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