Versions in this module Expand all Collapse all v4 v4.1.0 May 1, 2019 Changes in this version + const MigrateRecommendedName + var ErrRecalculate = fmt.Errorf("recalculate migration") + var ErrUnchanged = fmt.Errorf("migration was not necessary") + func DefaultRetriable(info *resource.Info, err error) error + func FindAllCanonicalResources(d discovery.ServerResourcesInterface, m meta.RESTMapper) ([]schema.GroupResource, error) + func NewCommandMigrate(name, fullName string, f cmdutil.Factory, streams genericclioptions.IOStreams, ...) *cobra.Command + type Builder interface + Visitor func(fns ...resource.ErrMatchFunc) (resource.Visitor, error) + type ErrNotRetriable struct + func (ErrNotRetriable) Temporary() bool + type ErrRetriable struct + func (ErrRetriable) Temporary() bool + type MigrateActionFunc func(info *resource.Info, reporter Reporter) error + type MigrateError error + type MigrateFilterFunc func(info *resource.Info) (bool, error) + type MigrateVisitFunc func(info *resource.Info) (Reporter, error) + type Reporter interface + Changed func() bool + func AlwaysRequiresMigration(_ *resource.Info) (Reporter, error) + type ReporterBool bool + func (r ReporterBool) Changed() bool + type ResourceOptions struct + AllNamespaces bool + Builder *resource.Builder + Confirm bool + DefaultExcludes []schema.GroupResource + DryRun bool + Filenames []string + FilterFn MigrateFilterFunc + FromKey string + Include []string + Output string + OverlappingResources []sets.String + PrintFlags *genericclioptions.PrintFlags + PrintFn MigrateActionFunc + Printer printers.ResourcePrinter + SaveFn MigrateActionFunc + Summarize bool + SyncOut bool + ToKey string + Unstructured bool + Workers int + func NewResourceOptions(streams genericclioptions.IOStreams) *ResourceOptions + func (o *ResourceOptions) Bind(c *cobra.Command) + func (o *ResourceOptions) Complete(f kcmdutil.Factory, c *cobra.Command) error + func (o *ResourceOptions) Validate() error + func (o *ResourceOptions) Visitor() *ResourceVisitor + func (o *ResourceOptions) WithAllNamespaces() *ResourceOptions + func (o *ResourceOptions) WithExcludes(defaultExcludes []schema.GroupResource) *ResourceOptions + func (o *ResourceOptions) WithIncludes(include []string) *ResourceOptions + func (o *ResourceOptions) WithOverlappingResources(resources []sets.String) *ResourceOptions + func (o *ResourceOptions) WithUnstructured() *ResourceOptions + type ResourceVisitor struct + Builder Builder + DryRun bool + FilterFn MigrateFilterFunc + Out io.Writer + PrintFn MigrateActionFunc + SaveFn MigrateActionFunc + Workers int + func (o *ResourceVisitor) Visit(fn MigrateVisitFunc) error + type TemporaryError interface + Temporary func() bool v4.0.0-alpha.0 Sep 13, 2018 Other modules containing this package gopkg.in/openshift/origin.v3