inventory

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildOptions added in v1.0.2

type BuildOptions struct {
	Anonymize bool
}

type Snapshot

type Snapshot struct {
	ExportVersion string     `json:"export_version" yaml:"export_version"`
	ExportedAt    string     `json:"exported_at" yaml:"exported_at"`
	Org           string     `json:"org" yaml:"org"`
	Tools         []agg.Tool `json:"tools" yaml:"tools"`
}

func Build

func Build(inv agg.Inventory, now time.Time) Snapshot

func BuildWithOptions added in v1.0.2

func BuildWithOptions(inv agg.Inventory, now time.Time, opts BuildOptions) Snapshot

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL