Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(vclusterctl): rename pro to platform #1775

Merged
merged 1 commit into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cmd/vclusterctl/cmd/platform/access_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion cmd/vclusterctl/cmd/platform/connect/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion cmd/vclusterctl/cmd/platform/connect/connect.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
8 changes: 4 additions & 4 deletions cmd/vclusterctl/cmd/platform/reset.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

func NewResetCmd(loftctlGlobalFlags *loftctlflags.GlobalFlags) *cobra.Command {
description := `########################################################
################## vcluster pro reset ##################
############# vcluster platform reset ##################
########################################################
`
cmd := &cobra.Command{
Expand All @@ -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
#######################################################
`

Expand Down
2 changes: 1 addition & 1 deletion cmd/vclusterctl/cmd/platform/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading