mocks

package
v0.0.2501 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 4 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 MockIManager

type MockIManager[I plugin.IPluggable] struct {
	// contains filtered or unexported fields
}

MockIManager is a mock of IManager interface.

func NewMockIManager

func NewMockIManager[I plugin.IPluggable](ctrl *gomock.Controller) *MockIManager[I]

NewMockIManager creates a new mock instance.

func (*MockIManager[I]) Close

func (m *MockIManager[I]) Close() error

Close mocks base method.

func (*MockIManager[I]) EXPECT

func (m *MockIManager[I]) EXPECT() *MockIManagerMockRecorder[I]

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

func (*MockIManager[I]) GetRegisteredAttestationSchemes

func (m *MockIManager[I]) GetRegisteredAttestationSchemes() []string

GetRegisteredAttestationSchemes mocks base method.

func (*MockIManager[I]) GetRegisteredMediaTypes

func (m *MockIManager[I]) GetRegisteredMediaTypes() []string

GetRegisteredMediaTypes mocks base method.

func (*MockIManager[I]) Init

func (m *MockIManager[I]) Init(name string, ch *plugin.RPCChannel[I]) error

Init mocks base method.

func (*MockIManager[I]) IsRegisteredMediaType

func (m *MockIManager[I]) IsRegisteredMediaType(mediaType string) bool

IsRegisteredMediaType mocks base method.

func (*MockIManager[I]) LookupByAttestationScheme

func (m *MockIManager[I]) LookupByAttestationScheme(name string) (I, error)

LookupByAttestationScheme mocks base method.

func (*MockIManager[I]) LookupByMediaType

func (m *MockIManager[I]) LookupByMediaType(mediaType string) (I, error)

LookupByMediaType mocks base method.

func (*MockIManager[I]) LookupByName

func (m *MockIManager[I]) LookupByName(name string) (I, error)

LookupByName mocks base method.

type MockIManagerMockRecorder

type MockIManagerMockRecorder[I plugin.IPluggable] struct {
	// contains filtered or unexported fields
}

MockIManagerMockRecorder is the mock recorder for MockIManager.

func (*MockIManagerMockRecorder[I]) Close

func (mr *MockIManagerMockRecorder[I]) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockIManagerMockRecorder[I]) GetRegisteredAttestationSchemes

func (mr *MockIManagerMockRecorder[I]) GetRegisteredAttestationSchemes() *gomock.Call

GetRegisteredAttestationSchemes indicates an expected call of GetRegisteredAttestationSchemes.

func (*MockIManagerMockRecorder[I]) GetRegisteredMediaTypes

func (mr *MockIManagerMockRecorder[I]) GetRegisteredMediaTypes() *gomock.Call

GetRegisteredMediaTypes indicates an expected call of GetRegisteredMediaTypes.

func (*MockIManagerMockRecorder[I]) Init

func (mr *MockIManagerMockRecorder[I]) Init(name, ch interface{}) *gomock.Call

Init indicates an expected call of Init.

func (*MockIManagerMockRecorder[I]) IsRegisteredMediaType

func (mr *MockIManagerMockRecorder[I]) IsRegisteredMediaType(mediaType interface{}) *gomock.Call

IsRegisteredMediaType indicates an expected call of IsRegisteredMediaType.

func (*MockIManagerMockRecorder[I]) LookupByAttestationScheme

func (mr *MockIManagerMockRecorder[I]) LookupByAttestationScheme(name interface{}) *gomock.Call

LookupByAttestationScheme indicates an expected call of LookupByAttestationScheme.

func (*MockIManagerMockRecorder[I]) LookupByMediaType

func (mr *MockIManagerMockRecorder[I]) LookupByMediaType(mediaType interface{}) *gomock.Call

LookupByMediaType indicates an expected call of LookupByMediaType.

func (*MockIManagerMockRecorder[I]) LookupByName

func (mr *MockIManagerMockRecorder[I]) LookupByName(name interface{}) *gomock.Call

LookupByName indicates an expected call of LookupByName.

type MockIProvisioner

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

MockIProvisioner is a mock of IProvisioner interface.

func NewMockIProvisioner

func NewMockIProvisioner(ctrl *gomock.Controller) *MockIProvisioner

NewMockIProvisioner creates a new mock instance.

func (*MockIProvisioner) EXPECT

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

func (*MockIProvisioner) GetVTSState

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

GetVTSState mocks base method.

func (*MockIProvisioner) IsSupportedMediaType

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

IsSupportedMediaType mocks base method.

func (*MockIProvisioner) SubmitEndorsements

func (m *MockIProvisioner) SubmitEndorsements(tenantID string, data []byte, mt string) error

SubmitEndorsements mocks base method.

func (*MockIProvisioner) SupportedMediaTypes

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

SupportedMediaTypes mocks base method.

type MockIProvisionerMockRecorder

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

MockIProvisionerMockRecorder is the mock recorder for MockIProvisioner.

func (*MockIProvisionerMockRecorder) GetVTSState

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

GetVTSState indicates an expected call of GetVTSState.

func (*MockIProvisionerMockRecorder) IsSupportedMediaType

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

IsSupportedMediaType indicates an expected call of IsSupportedMediaType.

func (*MockIProvisionerMockRecorder) SubmitEndorsements

func (mr *MockIProvisionerMockRecorder) SubmitEndorsements(tenantID, data, mt interface{}) *gomock.Call

SubmitEndorsements indicates an expected call of SubmitEndorsements.

func (*MockIProvisionerMockRecorder) SupportedMediaTypes

func (mr *MockIProvisionerMockRecorder) 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