cmd

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPrintNameOrErrorAfter

func NewPrintNameOrErrorAfter(out, errs io.Writer) func(*resource.Info, error)

Types

type Bulk

type Bulk struct {
	Factory *kubecmd.Factory
	Command *cobra.Command
	After   func(*resource.Info, error)
}

Bulk provides helpers for iterating over a list of items

func (*Bulk) Create

func (b *Bulk) Create(list *kapi.List, namespace string) []error

Create attempts to create each item generically, gathering all errors in the event a failure occurs. The contents of list will be updated to include the version from the server.

Jump to

Keyboard shortcuts

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