Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // WebDataVar makes the WebData available WebDataVar = WebData{} )
Functions ¶
func StartMetricsServer ¶
StartMetricsServer starts the server
Types ¶
type ChartInfo ¶
type ChartInfo struct { Chart kubernetes.Chart LatestVersion string }
ChartInfo contains helm chart information with the latest version
type ContainerInfo ¶
type ContainerInfo struct { Container kubernetes.Image LatestVersion string Fetched bool Vulnerabilities []vulnerabilities.Vulnerability VulnerabilitiesNotAccepted int }
ContainerInfo contains pod information about the container, its version info, and security
func (ContainerInfo) GetCveStatus ¶
func (c ContainerInfo) GetCveStatus() string
GetCveStatus shows the status based on the cve's
func (ContainerInfo) GetStatus ¶
func (c ContainerInfo) GetStatus() string
GetStatus shows the status based on version and cve status
type GitHubInfo ¶
GitHubInfo contains information with the latest version from GitHub repo
func (GitHubInfo) GetStatus ¶
func (t GitHubInfo) GetStatus() string
GetStatus shows the status for the tool
type WebData ¶
type WebData struct { Status string LastTimeFetched string ContainerInfo []ContainerInfo ChartInfo []ChartInfo GitHubInfo []GitHubInfo }
WebData is all the information web page needs to show the data
Click to show internal directories.
Click to hide internal directories.