Documentation
¶
Overview ¶
Package inventory exports read-only observed dependency facts for external scanners. It never resolves packages or changes Kubernetes workloads.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct {
Pod ObjectIdentity `json:"pod"`
Workload ObjectIdentity `json:"workload"`
NodeName string `json:"nodeName"`
Name string `json:"name"`
ContainerID string `json:"containerID"`
ObservedImageID string `json:"observedImageID"`
Status string `json:"status"`
Reason string `json:"reason,omitempty"`
Binding *node.RuntimeBinding `json:"binding,omitempty"`
EvidenceKey string `json:"evidenceKey,omitempty"`
}
type ObjectIdentity ¶
type Report ¶
type Report struct {
SchemaVersion int `json:"schemaVersion"`
Cluster string `json:"cluster"`
StartedAt time.Time `json:"startedAt"`
FinishedAt time.Time `json:"finishedAt"`
Namespaces []string `json:"namespaces"`
Workloads []string `json:"workloads,omitempty"`
Complete bool `json:"complete"`
Containers []Container `json:"containers"`
Artifacts map[string]artifact.DependencyReport `json:"artifacts"`
Warnings []string `json:"warnings"`
}
Click to show internal directories.
Click to hide internal directories.