add create and get CLI commands for backup locations

Signed-off-by: Steve Kriss <steve@heptio.com>
This commit is contained in:
Steve Kriss
2018-08-28 13:19:19 -07:00
parent adbcd3703b
commit 06b5af449f
16 changed files with 530 additions and 0 deletions
+2
View File
@@ -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