Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
Types ¶
type ConfigureInventoryInfo ¶
type ConfigureInventoryInfo struct {
Pkg *pkg.Pkg
Factory cmdutil.Factory
Quiet bool
Name string
InventoryID string
Force bool
}
ConfigureInventoryInfo contains the functionality for adding and updating the inventory information in the Kptfile.
type InvExistsError ¶
type InvExistsError struct{}
InvExistsError defines new error when the inventory values have already been set on the Kptfile.
func (*InvExistsError) Error ¶
func (i *InvExistsError) Error() string
type Runner ¶
type Runner struct {
Command *cobra.Command
Force bool // Set inventory values even if already set in Kptfile
Name string // Inventory object name
InventoryID string // Inventory object unique identifier label
Quiet bool // Output message during initialization
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.