Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InitOptions ¶
type InitOptions struct { // Package directory argument; must be valid directory. Dir string // Namespace for inventory object; can not be empty. 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 NewInitOptions ¶
func NewInitOptions(ioStreams genericclioptions.IOStreams) *InitOptions
func (*InitOptions) Complete ¶
func (i *InitOptions) Complete(args []string) error
Complete fills in the InitOptions fields. TODO(seans3): Look into changing this kubectl-inspired way of organizing the InitOptions (e.g. Complete and Run methods).
func (*InitOptions) Run ¶
func (i *InitOptions) Run() error
Click to show internal directories.
Click to hide internal directories.