Documentation ¶
Index ¶
- func NewDeleteObjectsCommand() *cobra.Command
- func NewDiscoverOwnedCommand() *cobra.Command
- func NewRecreateObjectsCommand() *cobra.Command
- func NewRestoreOwnerRefsCommand() *cobra.Command
- func NewSaveOwnerRefsCommand() *cobra.Command
- func NewV1MigrationCommand() *cobra.Command
- type DeleteObjectsOptions
- type DiscoverOwnedOptions
- type RecreateObjectsOptions
- type RestoreOwnerRefsOptions
- type SaveOwnerRefsOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeleteObjectsCommand ¶
NewDeleteObjectsCommand creates a command that executes the migration utility to delete Hive objects stored in a file.
func NewDiscoverOwnedCommand ¶
NewDiscoverOwnedCommand creates a command that executes the migration utility to discover resources with owner references to Hive resources.
func NewRecreateObjectsCommand ¶
NewRecreateObjectsCommand creates a command that executes the migration utility to re-create Hive objects stored in a file.
func NewRestoreOwnerRefsCommand ¶
NewRestoreOwnerRefsCommand creates a command that executes the migration utility to restore owner references to Hive resources.
func NewSaveOwnerRefsCommand ¶
NewSaveOwnerRefsCommand creates a command that executes the migration utility to save owner references to Hive resources.
func NewV1MigrationCommand ¶
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
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
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
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