mocks

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

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 MockVCSKeyManager

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

MockVCSKeyManager is a mock of VCSKeyManager interface.

func NewMockVCSKeyManager

func NewMockVCSKeyManager(ctrl *gomock.Controller) *MockVCSKeyManager

NewMockVCSKeyManager creates a new mock instance.

func (*MockVCSKeyManager) CreateCryptoKey

func (m *MockVCSKeyManager) CreateCryptoKey(keyType kms.KeyType) (string, interface{}, error)

CreateCryptoKey mocks base method.

func (*MockVCSKeyManager) CreateJWKKey

func (m *MockVCSKeyManager) CreateJWKKey(keyType kms.KeyType) (string, *jwk.JWK, error)

CreateJWKKey mocks base method.

func (*MockVCSKeyManager) EXPECT

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

func (*MockVCSKeyManager) NewVCSigner

func (m *MockVCSKeyManager) NewVCSigner(creator string, signatureType verifiable.SignatureType) (vc.SignerAlgorithm, error)

NewVCSigner mocks base method.

func (*MockVCSKeyManager) SupportedKeyTypes

func (m *MockVCSKeyManager) SupportedKeyTypes() []kms.KeyType

SupportedKeyTypes mocks base method.

type MockVCSKeyManagerMockRecorder

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

MockVCSKeyManagerMockRecorder is the mock recorder for MockVCSKeyManager.

func (*MockVCSKeyManagerMockRecorder) CreateCryptoKey

func (mr *MockVCSKeyManagerMockRecorder) CreateCryptoKey(keyType interface{}) *gomock.Call

CreateCryptoKey indicates an expected call of CreateCryptoKey.

func (*MockVCSKeyManagerMockRecorder) CreateJWKKey

func (mr *MockVCSKeyManagerMockRecorder) CreateJWKKey(keyType interface{}) *gomock.Call

CreateJWKKey indicates an expected call of CreateJWKKey.

func (*MockVCSKeyManagerMockRecorder) NewVCSigner

func (mr *MockVCSKeyManagerMockRecorder) NewVCSigner(creator, signatureType interface{}) *gomock.Call

NewVCSigner indicates an expected call of NewVCSigner.

func (*MockVCSKeyManagerMockRecorder) SupportedKeyTypes

func (mr *MockVCSKeyManagerMockRecorder) SupportedKeyTypes() *gomock.Call

SupportedKeyTypes indicates an expected call of SupportedKeyTypes.

Jump to

Keyboard shortcuts

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