Documentation ¶
Index ¶
- Variables
- func CombineReports(reports []*types.InventoryReport) types.InventoryReport
- func FilterReport(report *types.InventoryReport, filter ReportFilter) *types.InventoryReport
- func RemainingDays(eolDate time.Time) int
- func ReportToTable(report types.InventoryReport) [][]string
- func VersionString() (string, error)
- type ReportFilter
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "undefined" GitSha = "undefined" Release = "false" Dirty = "true" )
Functions ¶
func CombineReports ¶
func CombineReports(reports []*types.InventoryReport) types.InventoryReport
func FilterReport ¶ added in v0.15.0
func FilterReport(report *types.InventoryReport, filter ReportFilter) *types.InventoryReport
func RemainingDays ¶
func ReportToTable ¶
func ReportToTable(report types.InventoryReport) [][]string
func VersionString ¶
Types ¶
type ReportFilter ¶ added in v0.15.0
type ReportFilter struct { ResourceKinds []types.ResourceKind // TODO: Support logical operators ParentKinds []types.ResourceKind ParentIDs []string IDs []string Status []types.Status Version string }
func CreateFilter ¶ added in v0.15.0
func CreateFilter(f []string) ReportFilter
Click to show internal directories.
Click to hide internal directories.