mocks

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: BSD-3-Clause Imports: 5 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 MockMetadataProvider

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

MockMetadataProvider is a mock of Provider interface.

func NewMockMetadataProvider

func NewMockMetadataProvider(ctrl *gomock.Controller) *MockMetadataProvider

NewMockMetadataProvider creates a new mock instance.

func (*MockMetadataProvider) EXPECT

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

func (*MockMetadataProvider) GetEntry

func (m *MockMetadataProvider) GetEntry(ctx context.Context, aaguid uuid.UUID) (*metadata.Entry, error)

GetEntry mocks base method.

func (*MockMetadataProvider) GetValidateAttestationTypes

func (m *MockMetadataProvider) GetValidateAttestationTypes(ctx context.Context) bool

GetValidateAttestationTypes mocks base method.

func (*MockMetadataProvider) GetValidateEntry

func (m *MockMetadataProvider) GetValidateEntry(ctx context.Context) bool

GetValidateEntry mocks base method.

func (*MockMetadataProvider) GetValidateEntryPermitZeroAAGUID

func (m *MockMetadataProvider) GetValidateEntryPermitZeroAAGUID(ctx context.Context) bool

GetValidateEntryPermitZeroAAGUID mocks base method.

func (*MockMetadataProvider) GetValidateStatus

func (m *MockMetadataProvider) GetValidateStatus(ctx context.Context) bool

GetValidateStatus mocks base method.

func (*MockMetadataProvider) GetValidateTrustAnchor

func (m *MockMetadataProvider) GetValidateTrustAnchor(ctx context.Context) bool

GetValidateTrustAnchor mocks base method.

func (*MockMetadataProvider) ValidateStatusReports

func (m *MockMetadataProvider) ValidateStatusReports(ctx context.Context, reports []metadata.StatusReport) error

ValidateStatusReports mocks base method.

type MockMetadataProviderMockRecorder

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

MockMetadataProviderMockRecorder is the mock recorder for MockMetadataProvider.

func (*MockMetadataProviderMockRecorder) GetEntry

func (mr *MockMetadataProviderMockRecorder) GetEntry(ctx, aaguid any) *gomock.Call

GetEntry indicates an expected call of GetEntry.

func (*MockMetadataProviderMockRecorder) GetValidateAttestationTypes

func (mr *MockMetadataProviderMockRecorder) GetValidateAttestationTypes(ctx any) *gomock.Call

GetValidateAttestationTypes indicates an expected call of GetValidateAttestationTypes.

func (*MockMetadataProviderMockRecorder) GetValidateEntry

func (mr *MockMetadataProviderMockRecorder) GetValidateEntry(ctx any) *gomock.Call

GetValidateEntry indicates an expected call of GetValidateEntry.

func (*MockMetadataProviderMockRecorder) GetValidateEntryPermitZeroAAGUID

func (mr *MockMetadataProviderMockRecorder) GetValidateEntryPermitZeroAAGUID(ctx any) *gomock.Call

GetValidateEntryPermitZeroAAGUID indicates an expected call of GetValidateEntryPermitZeroAAGUID.

func (*MockMetadataProviderMockRecorder) GetValidateStatus

func (mr *MockMetadataProviderMockRecorder) GetValidateStatus(ctx any) *gomock.Call

GetValidateStatus indicates an expected call of GetValidateStatus.

func (*MockMetadataProviderMockRecorder) GetValidateTrustAnchor

func (mr *MockMetadataProviderMockRecorder) GetValidateTrustAnchor(ctx any) *gomock.Call

GetValidateTrustAnchor indicates an expected call of GetValidateTrustAnchor.

func (*MockMetadataProviderMockRecorder) ValidateStatusReports

func (mr *MockMetadataProviderMockRecorder) ValidateStatusReports(ctx, reports any) *gomock.Call

ValidateStatusReports indicates an expected call of ValidateStatusReports.

Jump to

Keyboard shortcuts

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