mock

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: Apache-2.0 Imports: 4 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) 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) RunKubernetesManifest

func (m *MockClient) RunKubernetesManifest(arg0 context.Context, arg1 *mondooclient.KubernetesManifestJob) (*mondooclient.ScanResult, error)

RunKubernetesManifest mocks base method.

func (*MockClient) ScanKubernetesResources added in v0.4.0

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

ScanKubernetesResources 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) 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) RunKubernetesManifest

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

RunKubernetesManifest indicates an expected call of RunKubernetesManifest.

func (*MockClientMockRecorder) ScanKubernetesResources added in v0.4.0

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

ScanKubernetesResources indicates an expected call of ScanKubernetesResources.

Jump to

Keyboard shortcuts

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