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) 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) RunKubernetesManifest(arg0 context.Context, arg1 *mondooclient.KubernetesManifestJob) (*mondooclient.ScanResult, error)
- func (m *MockClient) ScanKubernetesResources(ctx context.Context, integrationMrn string, scanContainerImages bool) (*mondooclient.ScanResult, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) ExchangeRegistrationToken(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) RunKubernetesManifest(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ScanKubernetesResources(ctx, integrationMrn, scanContainerImages 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) 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) 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.