Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
func NewCommand(ctx context.Context, f k8scmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command
Types ¶
type ConfigureInventoryInfo ¶
type ConfigureInventoryInfo struct {
Pkg *pkg.Pkg
Factory k8scmdutil.Factory
Quiet bool
Name string
InventoryID string
RGFileName string
Force bool
}
ConfigureInventoryInfo contains the functionality for adding and updating the inventory information in the Kptfile.
type Runner ¶
type Runner struct {
Command *cobra.Command
Force bool // Set inventory values even if already set in Kptfile
Name string // Inventory object name
RGFileName string // resourcegroup object filename
InventoryID string // Inventory object unique identifier label
Quiet bool // Output message during initialization
// contains filtered or unexported fields
}
func NewRunner ¶
func NewRunner(ctx context.Context, factory k8scmdutil.Factory, ioStreams genericclioptions.IOStreams) *Runner
Click to show internal directories.
Click to hide internal directories.