config

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2020 License: Apache-2.0 Imports: 10 Imported by: 3

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

Jump to

Keyboard shortcuts

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