mock

package
v1.6.8 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) ExchangeRegistrationToken

ExchangeRegistrationToken mocks base method.

func (*MockClient) GarbageCollectAssets added in v1.5.0

func (m *MockClient) GarbageCollectAssets(arg0 context.Context, arg1 *garbagecollection.GarbageCollectOptions) error

GarbageCollectAssets mocks base method.

func (*MockClient) HealthCheck

HealthCheck mocks base method.

func (*MockClient) IntegrationCheckIn added in v0.2.10

IntegrationCheckIn mocks base method.

func (*MockClient) IntegrationRegister added in v0.2.10

IntegrationRegister mocks base method.

func (*MockClient) IntegrationReportStatus added in v0.6.0

func (m *MockClient) IntegrationReportStatus(arg0 context.Context, arg1 *mondooclient.ReportStatusRequest) error

IntegrationReportStatus mocks base method.

func (*MockClient) RunAdmissionReview added in v1.6.0

func (m *MockClient) RunAdmissionReview(arg0 context.Context, arg1 *mondooclient.AdmissionReviewJob) (*mondooclient.ScanResult, error)

RunAdmissionReview mocks base method.

func (*MockClient) ScanKubernetesResources added in v0.4.0

func (m *MockClient) ScanKubernetesResources(ctx context.Context, integrationMrn string, scanContainerImages bool, managedBy string) (*mondooclient.ScanResult, error)

ScanKubernetesResources mocks base method.

func (*MockClient) ScheduleKubernetesResourceScan added in v1.5.0

func (m *MockClient) ScheduleKubernetesResourceScan(ctx context.Context, integrationMrn, resourceKey, managedBy string) (*mondooclient.Empty, error)

ScheduleKubernetesResourceScan mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) ExchangeRegistrationToken

func (mr *MockClientMockRecorder) ExchangeRegistrationToken(arg0, arg1 interface{}) *gomock.Call

ExchangeRegistrationToken indicates an expected call of ExchangeRegistrationToken.

func (*MockClientMockRecorder) GarbageCollectAssets added in v1.5.0

func (mr *MockClientMockRecorder) GarbageCollectAssets(arg0, arg1 interface{}) *gomock.Call

GarbageCollectAssets indicates an expected call of GarbageCollectAssets.

func (*MockClientMockRecorder) HealthCheck

func (mr *MockClientMockRecorder) HealthCheck(arg0, arg1 interface{}) *gomock.Call

HealthCheck indicates an expected call of HealthCheck.

func (*MockClientMockRecorder) IntegrationCheckIn added in v0.2.10

func (mr *MockClientMockRecorder) IntegrationCheckIn(arg0, arg1 interface{}) *gomock.Call

IntegrationCheckIn indicates an expected call of IntegrationCheckIn.

func (*MockClientMockRecorder) IntegrationRegister added in v0.2.10

func (mr *MockClientMockRecorder) IntegrationRegister(arg0, arg1 interface{}) *gomock.Call

IntegrationRegister indicates an expected call of IntegrationRegister.

func (*MockClientMockRecorder) IntegrationReportStatus added in v0.6.0

func (mr *MockClientMockRecorder) IntegrationReportStatus(arg0, arg1 interface{}) *gomock.Call

IntegrationReportStatus indicates an expected call of IntegrationReportStatus.

func (*MockClientMockRecorder) RunAdmissionReview added in v1.6.0

func (mr *MockClientMockRecorder) RunAdmissionReview(arg0, arg1 interface{}) *gomock.Call

RunAdmissionReview indicates an expected call of RunAdmissionReview.

func (*MockClientMockRecorder) ScanKubernetesResources added in v0.4.0

func (mr *MockClientMockRecorder) ScanKubernetesResources(ctx, integrationMrn, scanContainerImages, managedBy interface{}) *gomock.Call

ScanKubernetesResources indicates an expected call of ScanKubernetesResources.

func (*MockClientMockRecorder) ScheduleKubernetesResourceScan added in v1.5.0

func (mr *MockClientMockRecorder) ScheduleKubernetesResourceScan(ctx, integrationMrn, resourceKey, managedBy interface{}) *gomock.Call

ScheduleKubernetesResourceScan indicates an expected call of ScheduleKubernetesResourceScan.

Jump to

Keyboard shortcuts

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