From 463399b0ad4820ff2e9bb75c48ecd86e21abea35 Mon Sep 17 00:00:00 2001 From: Johannes Frey Date: Wed, 15 May 2024 09:20:58 +0200 Subject: [PATCH] chore(vclusterctl): rename pro to platform --- cmd/vclusterctl/cmd/platform/access_key.go | 4 ++-- cmd/vclusterctl/cmd/platform/connect/cluster.go | 2 +- cmd/vclusterctl/cmd/platform/connect/connect.go | 2 +- cmd/vclusterctl/cmd/platform/reset.go | 8 ++++---- cmd/vclusterctl/cmd/platform/start.go | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/cmd/vclusterctl/cmd/platform/access_key.go b/cmd/vclusterctl/cmd/platform/access_key.go index a6ba0859a..406cd1cdb 100644 --- a/cmd/vclusterctl/cmd/platform/access_key.go +++ b/cmd/vclusterctl/cmd/platform/access_key.go @@ -43,14 +43,14 @@ func NewAccessKeyCmd(globalFlags *flags.GlobalFlags) *cobra.Command { Aliases: []string{"token"}, Short: "Prints the access token to a vCluster platform instance", Long: `######################################################## -################## vcluster pro token ################## +############# vcluster platform token ################## ######################################################## Prints an access token to a vCluster platform instance. This can be used as an ExecAuthenticator for kubernetes Example: -vcluster pro token +vcluster platform token ######################################################## `, Args: cobra.NoArgs, diff --git a/cmd/vclusterctl/cmd/platform/connect/cluster.go b/cmd/vclusterctl/cmd/platform/connect/cluster.go index fbe8eaca4..8c22dd731 100644 --- a/cmd/vclusterctl/cmd/platform/connect/cluster.go +++ b/cmd/vclusterctl/cmd/platform/connect/cluster.go @@ -54,7 +54,7 @@ func NewClusterCmd(globalFlags *flags.GlobalFlags) *cobra.Command { Connect a cluster to the vCluster platform instance. Example: -vcluster pro connect cluster my-cluster +vcluster platform connect cluster my-cluster ######################################################## `, Args: cobra.ExactArgs(1), diff --git a/cmd/vclusterctl/cmd/platform/connect/connect.go b/cmd/vclusterctl/cmd/platform/connect/connect.go index c5c76effb..2ff5bf1e1 100644 --- a/cmd/vclusterctl/cmd/platform/connect/connect.go +++ b/cmd/vclusterctl/cmd/platform/connect/connect.go @@ -11,7 +11,7 @@ func NewConnectCmd(globalFlags *flags.GlobalFlags) *cobra.Command { Use: "connect", Short: "Connects a cluster to vCluster platform", Long: `####################################################### -################ vcluster pro connect ################# +########### vcluster platform connect ################# ####################################################### `, Args: cobra.NoArgs, diff --git a/cmd/vclusterctl/cmd/platform/reset.go b/cmd/vclusterctl/cmd/platform/reset.go index 1441b03e0..6a5db1fdb 100644 --- a/cmd/vclusterctl/cmd/platform/reset.go +++ b/cmd/vclusterctl/cmd/platform/reset.go @@ -9,7 +9,7 @@ import ( func NewResetCmd(loftctlGlobalFlags *loftctlflags.GlobalFlags) *cobra.Command { description := `######################################################## -################## vcluster pro reset ################## +############# vcluster platform reset ################## ######################################################## ` cmd := &cobra.Command{ @@ -31,13 +31,13 @@ func NewPasswordCmd(globalFlags *loftctlflags.GlobalFlags) *cobra.Command { } description := `######################################################## -############## vcluster pro reset password ############# +######### vcluster platform reset password ############# ######################################################## Resets the password of a user. Example: -vcluster pro reset password -vcluster pro reset password --user admin +vcluster platform reset password +vcluster platform reset password --user admin ####################################################### ` diff --git a/cmd/vclusterctl/cmd/platform/start.go b/cmd/vclusterctl/cmd/platform/start.go index fee137fbd..5654ce410 100644 --- a/cmd/vclusterctl/cmd/platform/start.go +++ b/cmd/vclusterctl/cmd/platform/start.go @@ -31,7 +31,7 @@ func NewStartCmd(loftctlGlobalFlags *loftctlflags.GlobalFlags) (*cobra.Command, Use: "start", Short: "Start a vCluster platform instance and connect via port-forwarding", Long: `######################################################## -################## vcluster pro start ################## +############# vcluster platform start ################## ######################################################## Starts a vCluster platform instance in your Kubernetes cluster