orchestrator

package
v0.0.0-...-5f6b411 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 12 Imported by: 3

Documentation

Overview

Package orchestrator is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageContentAnalysisHandlerCallback

type ImageContentAnalysisHandlerCallback func(*runtime_scan_models.ImageContentAnalysis) error

type MockVulnerabilitiesScanner

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

MockVulnerabilitiesScanner is a mock of VulnerabilitiesScanner interface

func NewMockVulnerabilitiesScanner

func NewMockVulnerabilitiesScanner(ctrl *gomock.Controller) *MockVulnerabilitiesScanner

NewMockVulnerabilitiesScanner creates a new mock instance

func (*MockVulnerabilitiesScanner) Clear

func (m *MockVulnerabilitiesScanner) Clear()

Clear mocks base method

func (*MockVulnerabilitiesScanner) EXPECT

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

func (*MockVulnerabilitiesScanner) Results

Results mocks base method

func (*MockVulnerabilitiesScanner) Scan

func (m *MockVulnerabilitiesScanner) Scan(arg0 *config.ScanConfig) (chan struct{}, error)

Scan mocks base method

func (*MockVulnerabilitiesScanner) ScanProgress

func (m *MockVulnerabilitiesScanner) ScanProgress() types.ScanProgress

ScanProgress mocks base method

func (*MockVulnerabilitiesScanner) Start

func (m *MockVulnerabilitiesScanner) Start(arg0 chan struct{})

Start mocks base method

func (*MockVulnerabilitiesScanner) Stop

func (m *MockVulnerabilitiesScanner) Stop()

Stop mocks base method

type MockVulnerabilitiesScannerMockRecorder

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

MockVulnerabilitiesScannerMockRecorder is the mock recorder for MockVulnerabilitiesScanner

func (*MockVulnerabilitiesScannerMockRecorder) Clear

Clear indicates an expected call of Clear

func (*MockVulnerabilitiesScannerMockRecorder) Results

Results indicates an expected call of Results

func (*MockVulnerabilitiesScannerMockRecorder) Scan

func (mr *MockVulnerabilitiesScannerMockRecorder) Scan(arg0 interface{}) *gomock.Call

Scan indicates an expected call of Scan

func (*MockVulnerabilitiesScannerMockRecorder) ScanProgress

ScanProgress indicates an expected call of ScanProgress

func (*MockVulnerabilitiesScannerMockRecorder) Start

func (mr *MockVulnerabilitiesScannerMockRecorder) Start(arg0 interface{}) *gomock.Call

Start indicates an expected call of Start

func (*MockVulnerabilitiesScannerMockRecorder) Stop

Stop indicates an expected call of Stop

type Orchestrator

type Orchestrator struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func Create

func Create(config *_config.Config, clientset kubernetes.Interface) (*Orchestrator, error)

func (*Orchestrator) Clear

func (o *Orchestrator) Clear()

func (*Orchestrator) HandleCISDockerBenchmarkScanResults

func (o *Orchestrator) HandleCISDockerBenchmarkScanResults(params operations.PostScanScanUUIDCisDockerBenchmarkResultsParams) error

func (*Orchestrator) HandleScanContentAnalysis

func (o *Orchestrator) HandleScanContentAnalysis(params operations.PostScanScanUUIDContentAnalysisParams) error

func (*Orchestrator) HandleScanResults

func (o *Orchestrator) HandleScanResults(params operations.PostScanScanUUIDResultsParams) error

func (*Orchestrator) Results

func (o *Orchestrator) Results() *types.ScanResults

func (*Orchestrator) Scan

func (o *Orchestrator) Scan(scanConfig *_config.ScanConfig) (chan struct{}, error)

func (*Orchestrator) ScanProgress

func (o *Orchestrator) ScanProgress() types.ScanProgress

func (*Orchestrator) SetImageContentAnalysisHandlerCallback

func (o *Orchestrator) SetImageContentAnalysisHandlerCallback(callback ImageContentAnalysisHandlerCallback)

func (*Orchestrator) Start

func (o *Orchestrator) Start(errChan chan struct{})

func (*Orchestrator) Stop

func (o *Orchestrator) Stop()

type VulnerabilitiesScanner

type VulnerabilitiesScanner interface {
	Start(errChan chan struct{})
	Scan(scanConfig *_config.ScanConfig) (chan struct{}, error)
	ScanProgress() types.ScanProgress
	Results() *types.ScanResults
	Clear()
	Stop()
}

Jump to

Keyboard shortcuts

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