# Functions
MinDuration is just max.Min, except for time.Duration values.
NewCircuitBreaker .....
NewClient returns a new Client.
NewHub returns a new Black Duck.
NewMockRawClient ...
NewModel return the Black Duck model.
NewScanSummaryFromHub .....
# Constants
.....
.....
.....
.....
.....
.....
PolicyStatusTypeInViolation denotes policy status type IN_VIOLATION.
PolicyStatusTypeInViolationOverridden denotes policy status type IN_VIOLATION_OVERRIDDEN.
PolicyStatusTypeNotInViolation denotes policy status type NOT_IN_VIOLATION.
RiskProfileCategoryActivity denotes the type ACTIVITY in Risk Profile category.
RiskProfileCategoryLicense denotes the type LICENSE in Risk Profile category.
RiskProfileCategoryOperational denotes the type OPERATIONAL in Risk Profile category.
RiskProfileCategoryVersion denotes the type VERSION in Risk Profile category.
RiskProfileCategoryVulnerability denotes the type VULNERABILITY in Risk Profile category.
RiskProfileStatusCritical denotes risk profile status CRITICAL.
RiskProfileStatusHigh denotes risk profile status HIGH.
RiskProfileStatusLow denotes risk profile status LOW.
RiskProfileStatusMedium denotes risk profile status MEDIUM.
RiskProfileStatusOK denotes risk profile status OK.
RiskProfileStatusUnknown denotes risk profile status UNKNOWN.
...
...
...
...
...
.....
.....
.....
# Variables
DefaultTimings ...
# Structs
CircuitBreaker .....
Client combines a raw hub client with a circuit breaker.
CodeLocation .....
DidFindScan ...
DidFinishScan ...
DidRefreshScan ...
Hub stores the Black Duck configuration.
MockRawClient ...
Model stores the Black Duck model.
PolicyStatus .....
Project .....
RiskProfile .....
RiskProfileStatusCounts .....
Scan is a wrapper around a Hub code location, and full scan results.
ScanResults models the results that we expect to get from the hub after scanning a docker image.
ScanSummary .....
Timings ...
Version .....
# Interfaces
ImageInterface .....
RawClientInterface provides an interface around hub-client-go's client, allowing it to be mocked for testing.
Update ...
# Type aliases
CircuitBreakerState .....
ClientStatus describes the state of a hub client.
ScanStage describes the current stage of the scan.
ScanSummaryStatus .....