v1migration

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2020 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeleteObjectsCommand

func NewDeleteObjectsCommand() *cobra.Command

NewDeleteObjectsCommand creates a command that executes the migration utility to delete Hive objects stored in a file.

func NewDiscoverOwnedCommand

func NewDiscoverOwnedCommand() *cobra.Command

NewDiscoverOwnedCommand creates a command that executes the migration utility to discover resources with owner references to Hive resources.

func NewRecreateObjectsCommand

func NewRecreateObjectsCommand() *cobra.Command

NewRecreateObjectsCommand creates a command that executes the migration utility to re-create Hive objects stored in a file.

func NewRestoreOwnerRefsCommand

func NewRestoreOwnerRefsCommand() *cobra.Command

NewRestoreOwnerRefsCommand creates a command that executes the migration utility to restore owner references to Hive resources.

func NewSaveOwnerRefsCommand

func NewSaveOwnerRefsCommand() *cobra.Command

NewSaveOwnerRefsCommand creates a command that executes the migration utility to save owner references to Hive resources.

func NewV1MigrationCommand

func NewV1MigrationCommand() *cobra.Command

NewV1MigrationCommand creates a command that executes the migration utilities.

Types

type DeleteObjectsOptions

type DeleteObjectsOptions struct {
	// contains filtered or unexported fields
}

DeleteObjectsOptions is the set of options for the deleting Hive objects.

func (*DeleteObjectsOptions) Complete

func (o *DeleteObjectsOptions) Complete(cmd *cobra.Command, args []string) error

Complete finishes parsing arguments for the command

func (*DeleteObjectsOptions) Run

func (o *DeleteObjectsOptions) Run() error

Run executes the command

func (*DeleteObjectsOptions) Validate

func (o *DeleteObjectsOptions) Validate(cmd *cobra.Command) error

Validate ensures that option values make sense

type DiscoverOwnedOptions

type DiscoverOwnedOptions struct {
	// contains filtered or unexported fields
}

DiscoverOwnedOptions is the set of options for discovering resources with owner references to Hive resources.

func (*DiscoverOwnedOptions) Run

func (o *DiscoverOwnedOptions) Run() error

Run executes the command

type RecreateObjectsOptions

type RecreateObjectsOptions struct {
	// contains filtered or unexported fields
}

RecreateObjectsOptions is the set of options for the re-creating Hive objects.

func (*RecreateObjectsOptions) Complete

func (o *RecreateObjectsOptions) Complete(cmd *cobra.Command, args []string) error

Complete finishes parsing arguments for the command

func (*RecreateObjectsOptions) Run

func (o *RecreateObjectsOptions) Run() error

Run executes the command

func (*RecreateObjectsOptions) Validate

func (o *RecreateObjectsOptions) Validate(cmd *cobra.Command) error

Validate ensures that option values make sense

type RestoreOwnerRefsOptions

type RestoreOwnerRefsOptions struct {
	// contains filtered or unexported fields
}

RestoreOwnerRefsOptions is the set of options for the restoring owner references.

func (*RestoreOwnerRefsOptions) Complete

func (o *RestoreOwnerRefsOptions) Complete(cmd *cobra.Command, args []string) error

Complete finishes parsing arguments for the command

func (*RestoreOwnerRefsOptions) Run

func (o *RestoreOwnerRefsOptions) Run() error

Run executes the command

func (*RestoreOwnerRefsOptions) Validate

func (o *RestoreOwnerRefsOptions) Validate(cmd *cobra.Command) error

Validate ensures that option values make sense

type SaveOwnerRefsOptions

type SaveOwnerRefsOptions struct {
	// contains filtered or unexported fields
}

SaveOwnerRefsOptions is the set of options for the saving owner references.

func (*SaveOwnerRefsOptions) Complete

func (o *SaveOwnerRefsOptions) Complete(cmd *cobra.Command, args []string) error

Complete finishes parsing arguments for the command

func (*SaveOwnerRefsOptions) Run

func (o *SaveOwnerRefsOptions) Run() error

Run executes the command

func (*SaveOwnerRefsOptions) Validate

func (o *SaveOwnerRefsOptions) Validate(cmd *cobra.Command) error

Validate ensures that option values make sense

Jump to

Keyboard shortcuts

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