Versions in this module Expand all Collapse all v1 v1.0.0 Jul 24, 2018 Changes in this version + func CreateMessage(labels map[string]string) string + func NewPrintErrorAfter(errs io.Writer, prefixForError PrefixForError) func(*unstructured.Unstructured, error) bool + func NoOp(obj *unstructured.Unstructured, namespace string) (*unstructured.Unstructured, error) + type AfterFunc func(*unstructured.Unstructured, error) bool + func HaltOnError(fn AfterFunc) AfterFunc + func NewPrintNameOrErrorAfterIndent(short bool, operation string, out, errs io.Writer, dryRun bool, indent string, ...) AfterFunc + type Bulk struct + After AfterFunc + IgnoreError IgnoreErrorFunc + Op OpFunc + Retry RetryFunc + Scheme *runtime.Scheme + func (b *Bulk) Run(list *kapi.List, namespace string) []error + type BulkAction struct + Action string + Bulk Bulk + DryRun bool + Output string + StopOnError bool + func (b *BulkAction) BindForAction(flags *pflag.FlagSet) + func (b *BulkAction) BindForOutput(flags *pflag.FlagSet, skippedFlags ...string) + func (b *BulkAction) Compact() + func (b *BulkAction) DefaultIndent() string + func (b *BulkAction) Run(list *kapi.List, namespace string) []error + func (b *BulkAction) ShouldPrint() bool + func (b *BulkAction) Verbose() bool + func (b BulkAction) WithMessage(action, individual string) Runner + func (b BulkAction) WithMessageAndPrefix(action, individual string, prefixForError PrefixForError) Runner + type Creator struct + Client dynamic.Interface + RESTMapper meta.RESTMapper + func (c Creator) Create(obj *unstructured.Unstructured, namespace string) (*unstructured.Unstructured, error) + type IgnoreErrorFunc func(e error) bool + type OpFunc func(obj *unstructured.Unstructured, namespace string) (*unstructured.Unstructured, error) + type PrefixForError func(e error) string + type RetryFunc func(obj *unstructured.Unstructured, err error) *unstructured.Unstructured + type Runner interface + Run func(list *kapi.List, namespace string) []error