Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInventoryInfo ¶
func GetInventoryInfo(path string) (*unstructured.Unstructured, error)
func InventoryPath ¶
Types ¶
type Config ¶
type Config struct {
// Template string; must be a valid k8s resource.
Template string
// Package directory argument; must be valid directory.
Dir string
// Namespace for inventory object; Kform is fixed to kform-system.
Namespace string
// Inventory object label value; must be a valid k8s label value.
InventoryID string
// contains filtered or unexported fields
}
InitOptions contains the fields necessary to generate a inventory object template ConfigMap.
func New ¶
func New(ioStreams genericclioptions.IOStreams) *Config
Click to show internal directories.
Click to hide internal directories.