Documentation ¶
Overview ¶
Once In-Use Image data has been gathered, this package reports the data to Anchore
Index ¶
Constants ¶
View Source
const (
AnchoreAccountMissingError = "User account not found"
)
Variables ¶
View Source
var (
ErrAnchoreAccountDoesNotExist = fmt.Errorf("user account not found")
)
Functions ¶
func Normalize ¶ added in v1.3.0
Only send a report that contains all required references in the report. E.g. if a container references a pod that is not in the report, remove the container from the report and log it. This is likely due to timing issues gathering the inventory but we should not send incomplete data to Anchore. Returns the normalized report and a boolean indicating if the report was modified.
Types ¶
type AnchoreResponse ¶ added in v1.5.0
type AnchoreVersion ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.