Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) ExchangeRegistrationToken(arg0 context.Context, arg1 *mondooclient.ExchangeRegistrationTokenInput) (*mondooclient.ExchangeRegistrationTokenOutput, error)
- func (m *MockClient) GarbageCollectAssets(arg0 context.Context, arg1 *garbagecollection.GarbageCollectOptions) error
- func (m *MockClient) HealthCheck(arg0 context.Context, arg1 *mondooclient.HealthCheckRequest) (*mondooclient.HealthCheckResponse, error)
- func (m *MockClient) IntegrationCheckIn(arg0 context.Context, arg1 *mondooclient.IntegrationCheckInInput) (*mondooclient.IntegrationCheckInOutput, error)
- func (m *MockClient) IntegrationRegister(arg0 context.Context, arg1 *mondooclient.IntegrationRegisterInput) (*mondooclient.IntegrationRegisterOutput, error)
- func (m *MockClient) IntegrationReportStatus(arg0 context.Context, arg1 *mondooclient.ReportStatusRequest) error
- func (m *MockClient) RunAdmissionReview(arg0 context.Context, arg1 *mondooclient.AdmissionReviewJob) (*mondooclient.ScanResult, error)
- func (m *MockClient) ScanKubernetesResources(ctx context.Context, integrationMrn string, scanContainerImages bool, ...) (*mondooclient.ScanResult, error)
- func (m *MockClient) ScheduleKubernetesResourceScan(ctx context.Context, integrationMrn, resourceKey, managedBy string) (*mondooclient.Empty, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) ExchangeRegistrationToken(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GarbageCollectAssets(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) HealthCheck(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) IntegrationCheckIn(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) IntegrationRegister(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) IntegrationReportStatus(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) RunAdmissionReview(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ScanKubernetesResources(ctx, integrationMrn, scanContainerImages, managedBy interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ScheduleKubernetesResourceScan(ctx, integrationMrn, resourceKey, managedBy interface{}) *gomock.Call
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 ¶
func (m *MockClient) ExchangeRegistrationToken(arg0 context.Context, arg1 *mondooclient.ExchangeRegistrationTokenInput) (*mondooclient.ExchangeRegistrationTokenOutput, error)
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 ¶
func (m *MockClient) HealthCheck(arg0 context.Context, arg1 *mondooclient.HealthCheckRequest) (*mondooclient.HealthCheckResponse, error)
HealthCheck mocks base method.
func (*MockClient) IntegrationCheckIn ¶ added in v0.2.10
func (m *MockClient) IntegrationCheckIn(arg0 context.Context, arg1 *mondooclient.IntegrationCheckInInput) (*mondooclient.IntegrationCheckInOutput, error)
IntegrationCheckIn mocks base method.
func (*MockClient) IntegrationRegister ¶ added in v0.2.10
func (m *MockClient) IntegrationRegister(arg0 context.Context, arg1 *mondooclient.IntegrationRegisterInput) (*mondooclient.IntegrationRegisterOutput, error)
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.