Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunScanner ¶
func RunScanner(configPath string, stop <-chan struct{})
Types ¶
type Config ¶
type Config struct {
Hub *HubConfig
ImageFacade *ImageFacadeConfig
Perceptor *PerceptorConfig
LogLevel string
Port int
}
type HubScanClient ¶
type HubScanClient struct {
// contains filtered or unexported fields
}
HubScanClient implements ScanClientInterface using the Black Duck hub and scan client programs.
func NewHubScanClient ¶
func NewHubScanClient(username string, port int, scanClientInfo *scanClientInfo, imagePuller ImagePullerInterface) (*HubScanClient, error)
NewHubScanClient requires hub login credentials
func (*HubScanClient) Scan ¶
func (hsc *HubScanClient) Scan(job ScanJob) error
type ImageFacadeConfig ¶
func (*ImageFacadeConfig) GetHost ¶
func (ifc *ImageFacadeConfig) GetHost() string
type ImageFacadePuller ¶
type ImageFacadePuller struct {
ImageFacadeHost string
ImageFacadePort int
// contains filtered or unexported fields
}
func NewImageFacadePuller ¶
func NewImageFacadePuller(imageFacadeHost string, imageFacadePort int) *ImageFacadePuller
type ImagePullerInterface ¶
type PerceptorConfig ¶
type ScanClientInterface ¶
type ScanJob ¶
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
func NewScanner ¶
func (*Scanner) StartRequestingScanJobs ¶
func (scanner *Scanner) StartRequestingScanJobs()
StartRequestingScanJobs will start asking for work
Click to show internal directories.
Click to hide internal directories.