mock_business_unit

package
v0.0.0-...-fe4d2ff Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package mock_business_unit is a generated GoMock package.

Package mock_business_unit is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBusinessUnitManager

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

MockBusinessUnitManager is a mock of BusinessUnitManager interface.

func NewMockBusinessUnitManager

func NewMockBusinessUnitManager(ctrl *gomock.Controller) *MockBusinessUnitManager

NewMockBusinessUnitManager creates a new mock instance.

func (*MockBusinessUnitManager) ActivateAuthentication

func (m *MockBusinessUnitManager) ActivateAuthentication(ctx context.Context, ts int64, certRaw []byte) (model.BusinessUnitAuthentication, error)

ActivateAuthentication mocks base method.

func (*MockBusinessUnitManager) AddAuthentication

AddAuthentication mocks base method.

func (*MockBusinessUnitManager) CreateBusinessUnit

CreateBusinessUnit mocks base method.

func (*MockBusinessUnitManager) EXPECT

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

func (*MockBusinessUnitManager) GetJWEEncryptors

GetJWEEncryptors mocks base method.

func (*MockBusinessUnitManager) GetJWSSigner

GetJWSSigner mocks base method.

func (*MockBusinessUnitManager) ListAuthentication

ListAuthentication mocks base method.

func (*MockBusinessUnitManager) ListBusinessUnits

ListBusinessUnits mocks base method.

func (*MockBusinessUnitManager) RevokeAuthentication

RevokeAuthentication mocks base method.

func (*MockBusinessUnitManager) SetStatus

SetStatus mocks base method.

func (*MockBusinessUnitManager) UpdateBusinessUnit

UpdateBusinessUnit mocks base method.

type MockBusinessUnitManagerMockRecorder

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

MockBusinessUnitManagerMockRecorder is the mock recorder for MockBusinessUnitManager.

func (*MockBusinessUnitManagerMockRecorder) ActivateAuthentication

func (mr *MockBusinessUnitManagerMockRecorder) ActivateAuthentication(ctx, ts, certRaw interface{}) *gomock.Call

ActivateAuthentication indicates an expected call of ActivateAuthentication.

func (*MockBusinessUnitManagerMockRecorder) AddAuthentication

func (mr *MockBusinessUnitManagerMockRecorder) AddAuthentication(ctx, ts, req interface{}) *gomock.Call

AddAuthentication indicates an expected call of AddAuthentication.

func (*MockBusinessUnitManagerMockRecorder) CreateBusinessUnit

func (mr *MockBusinessUnitManagerMockRecorder) CreateBusinessUnit(ctx, ts, req interface{}) *gomock.Call

CreateBusinessUnit indicates an expected call of CreateBusinessUnit.

func (*MockBusinessUnitManagerMockRecorder) GetJWEEncryptors

func (mr *MockBusinessUnitManagerMockRecorder) GetJWEEncryptors(ctx, req interface{}) *gomock.Call

GetJWEEncryptors indicates an expected call of GetJWEEncryptors.

func (*MockBusinessUnitManagerMockRecorder) GetJWSSigner

func (mr *MockBusinessUnitManagerMockRecorder) GetJWSSigner(ctx, req interface{}) *gomock.Call

GetJWSSigner indicates an expected call of GetJWSSigner.

func (*MockBusinessUnitManagerMockRecorder) ListAuthentication

func (mr *MockBusinessUnitManagerMockRecorder) ListAuthentication(ctx, req interface{}) *gomock.Call

ListAuthentication indicates an expected call of ListAuthentication.

func (*MockBusinessUnitManagerMockRecorder) ListBusinessUnits

func (mr *MockBusinessUnitManagerMockRecorder) ListBusinessUnits(ctx, req interface{}) *gomock.Call

ListBusinessUnits indicates an expected call of ListBusinessUnits.

func (*MockBusinessUnitManagerMockRecorder) RevokeAuthentication

func (mr *MockBusinessUnitManagerMockRecorder) RevokeAuthentication(ctx, ts, req interface{}) *gomock.Call

RevokeAuthentication indicates an expected call of RevokeAuthentication.

func (*MockBusinessUnitManagerMockRecorder) SetStatus

func (mr *MockBusinessUnitManagerMockRecorder) SetStatus(ctx, ts, req interface{}) *gomock.Call

SetStatus indicates an expected call of SetStatus.

func (*MockBusinessUnitManagerMockRecorder) UpdateBusinessUnit

func (mr *MockBusinessUnitManagerMockRecorder) UpdateBusinessUnit(ctx, ts, req interface{}) *gomock.Call

UpdateBusinessUnit indicates an expected call of UpdateBusinessUnit.

type MockJWEEncryptor

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

MockJWEEncryptor is a mock of JWEEncryptor interface.

func NewMockJWEEncryptor

func NewMockJWEEncryptor(ctrl *gomock.Controller) *MockJWEEncryptor

NewMockJWEEncryptor creates a new mock instance.

func (*MockJWEEncryptor) AvailableJWEEncryptAlgorithms

func (m *MockJWEEncryptor) AvailableJWEEncryptAlgorithms() []envelope.KeyEncryptionAlgorithm

AvailableJWEEncryptAlgorithms mocks base method.

func (*MockJWEEncryptor) EXPECT

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

func (*MockJWEEncryptor) Public

func (m *MockJWEEncryptor) Public() crypto.PublicKey

Public mocks base method.

type MockJWEEncryptorMockRecorder

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

MockJWEEncryptorMockRecorder is the mock recorder for MockJWEEncryptor.

func (*MockJWEEncryptorMockRecorder) AvailableJWEEncryptAlgorithms

func (mr *MockJWEEncryptorMockRecorder) AvailableJWEEncryptAlgorithms() *gomock.Call

AvailableJWEEncryptAlgorithms indicates an expected call of AvailableJWEEncryptAlgorithms.

func (*MockJWEEncryptorMockRecorder) Public

Public indicates an expected call of Public.

type MockJWSSigner

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

MockJWSSigner is a mock of JWSSigner interface.

func NewMockJWSSigner

func NewMockJWSSigner(ctrl *gomock.Controller) *MockJWSSigner

NewMockJWSSigner creates a new mock instance.

func (*MockJWSSigner) AvailableJWSSignAlgorithms

func (m *MockJWSSigner) AvailableJWSSignAlgorithms() []envelope.SignatureAlgorithm

AvailableJWSSignAlgorithms mocks base method.

func (*MockJWSSigner) Cert

func (m *MockJWSSigner) Cert() []*x509.Certificate

Cert mocks base method.

func (*MockJWSSigner) EXPECT

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

func (*MockJWSSigner) Public

func (m *MockJWSSigner) Public() crypto.PublicKey

Public mocks base method.

func (*MockJWSSigner) Sign

func (m *MockJWSSigner) Sign(rand io.Reader, digest []byte, opts crypto.SignerOpts) ([]byte, error)

Sign mocks base method.

type MockJWSSignerMockRecorder

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

MockJWSSignerMockRecorder is the mock recorder for MockJWSSigner.

func (*MockJWSSignerMockRecorder) AvailableJWSSignAlgorithms

func (mr *MockJWSSignerMockRecorder) AvailableJWSSignAlgorithms() *gomock.Call

AvailableJWSSignAlgorithms indicates an expected call of AvailableJWSSignAlgorithms.

func (*MockJWSSignerMockRecorder) Cert

Cert indicates an expected call of Cert.

func (*MockJWSSignerMockRecorder) Public

func (mr *MockJWSSignerMockRecorder) Public() *gomock.Call

Public indicates an expected call of Public.

func (*MockJWSSignerMockRecorder) Sign

func (mr *MockJWSSignerMockRecorder) Sign(rand, digest, opts interface{}) *gomock.Call

Sign indicates an expected call of Sign.

type MockJWTFactory

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

MockJWTFactory is a mock of JWTFactory interface.

func NewMockJWTFactory

func NewMockJWTFactory(ctrl *gomock.Controller) *MockJWTFactory

NewMockJWTFactory creates a new mock instance.

func (*MockJWTFactory) EXPECT

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

func (*MockJWTFactory) NewJWEEncryptor

func (m *MockJWTFactory) NewJWEEncryptor(authentication model.BusinessUnitAuthentication) (business_unit.JWEEncryptor, error)

NewJWEEncryptor mocks base method.

func (*MockJWTFactory) NewJWSSigner

func (m *MockJWTFactory) NewJWSSigner(authentication model.BusinessUnitAuthentication) (business_unit.JWSSigner, error)

NewJWSSigner mocks base method.

type MockJWTFactoryMockRecorder

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

MockJWTFactoryMockRecorder is the mock recorder for MockJWTFactory.

func (*MockJWTFactoryMockRecorder) NewJWEEncryptor

func (mr *MockJWTFactoryMockRecorder) NewJWEEncryptor(authentication interface{}) *gomock.Call

NewJWEEncryptor indicates an expected call of NewJWEEncryptor.

func (*MockJWTFactoryMockRecorder) NewJWSSigner

func (mr *MockJWTFactoryMockRecorder) NewJWSSigner(authentication interface{}) *gomock.Call

NewJWSSigner indicates an expected call of NewJWSSigner.

Jump to

Keyboard shortcuts

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