Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockMetadataProvider
- func (m *MockMetadataProvider) EXPECT() *MockMetadataProviderMockRecorder
- func (m *MockMetadataProvider) GetEntry(ctx context.Context, aaguid uuid.UUID) (*metadata.Entry, error)
- func (m *MockMetadataProvider) GetValidateAttestationTypes(ctx context.Context) bool
- func (m *MockMetadataProvider) GetValidateEntry(ctx context.Context) bool
- func (m *MockMetadataProvider) GetValidateEntryPermitZeroAAGUID(ctx context.Context) bool
- func (m *MockMetadataProvider) GetValidateStatus(ctx context.Context) bool
- func (m *MockMetadataProvider) GetValidateTrustAnchor(ctx context.Context) bool
- func (m *MockMetadataProvider) ValidateStatusReports(ctx context.Context, reports []metadata.StatusReport) error
- type MockMetadataProviderMockRecorder
- func (mr *MockMetadataProviderMockRecorder) GetEntry(ctx, aaguid any) *gomock.Call
- func (mr *MockMetadataProviderMockRecorder) GetValidateAttestationTypes(ctx any) *gomock.Call
- func (mr *MockMetadataProviderMockRecorder) GetValidateEntry(ctx any) *gomock.Call
- func (mr *MockMetadataProviderMockRecorder) GetValidateEntryPermitZeroAAGUID(ctx any) *gomock.Call
- func (mr *MockMetadataProviderMockRecorder) GetValidateStatus(ctx any) *gomock.Call
- func (mr *MockMetadataProviderMockRecorder) GetValidateTrustAnchor(ctx any) *gomock.Call
- func (mr *MockMetadataProviderMockRecorder) ValidateStatusReports(ctx, reports any) *gomock.Call
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 ¶
func (m *MockMetadataProvider) EXPECT() *MockMetadataProviderMockRecorder
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.