mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-20 15:04:17 +00:00
add create and get CLI commands for backup locations
Signed-off-by: Steve Kriss <steve@heptio.com>
This commit is contained in:
@@ -21,6 +21,7 @@ import (
|
||||
|
||||
"github.com/heptio/ark/pkg/client"
|
||||
"github.com/heptio/ark/pkg/cmd/cli/backup"
|
||||
"github.com/heptio/ark/pkg/cmd/cli/backuplocation"
|
||||
"github.com/heptio/ark/pkg/cmd/cli/restore"
|
||||
"github.com/heptio/ark/pkg/cmd/cli/schedule"
|
||||
)
|
||||
@@ -36,6 +37,7 @@ func NewCommand(f client.Factory) *cobra.Command {
|
||||
backup.NewCreateCommand(f, "backup"),
|
||||
schedule.NewCreateCommand(f, "schedule"),
|
||||
restore.NewCreateCommand(f, "restore"),
|
||||
backuplocation.NewCreateCommand(f, "backup-location"),
|
||||
)
|
||||
|
||||
return c
|
||||
|
||||
Reference in New Issue
Block a user