inventory

package
v1.5.0 Latest Latest
Warning

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

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

Documentation

Overview

Package inventory collects maturity metadata from command and resource registries.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Record

type Record struct {
	Kind      maturity.Kind      `json:"kind"`
	Path      string             `json:"path"`
	Name      string             `json:"name,omitempty"`
	Value     string             `json:"value,omitempty"`
	Declared  *maturity.Metadata `json:"declared,omitempty"`
	Effective maturity.Metadata  `json:"effective"`
	Source    maturity.Source    `json:"source"`
}

Record describes one inventoried capability and its resolved maturity.

func Collect

func Collect(root *cobra.Command) ([]Record, error)

Collect inventories the complete command tree and declarative resource registry.

Jump to

Keyboard shortcuts

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