Skip to content

Commit 0c34817

Browse files
committed
remove oss
1 parent a836af2 commit 0c34817

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

cmd/cluster.go

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ import (
3434
var verbose bool
3535

3636
var InstallOssCmd = &cobra.Command{
37-
Use: "install oss",
38-
Short: "Deploy Parseable OSS",
39-
Example: "pb cluster install oss",
37+
Use: "install",
38+
Short: "Deploy Parseable",
39+
Example: "pb cluster install",
4040
Run: func(cmd *cobra.Command, _ []string) {
4141
// Add verbose flag
4242
cmd.Flags().BoolVarP(&verbose, "verbose", "v", false, "Enable verbose logging")
@@ -46,9 +46,9 @@ var InstallOssCmd = &cobra.Command{
4646

4747
// ListOssCmd lists the Parseable OSS servers
4848
var ListOssCmd = &cobra.Command{
49-
Use: "list oss",
50-
Short: "List available Parseable OSS servers",
51-
Example: "pb list oss",
49+
Use: "list",
50+
Short: "List available Parseable servers",
51+
Example: "pb list",
5252
Run: func(_ *cobra.Command, _ []string) {
5353
_, err := common.PromptK8sContext()
5454
if err != nil {
@@ -58,12 +58,12 @@ var ListOssCmd = &cobra.Command{
5858
// Read the installer data from the ConfigMap
5959
entries, err := common.ReadInstallerConfigMap()
6060
if err != nil {
61-
log.Fatalf("Failed to list OSS servers: %v", err)
61+
log.Fatalf("Failed to list servers: %v", err)
6262
}
6363

6464
// Check if there are no entries
6565
if len(entries) == 0 {
66-
fmt.Println("No OSS servers found.")
66+
fmt.Println("No clusters found.")
6767
return
6868
}
6969

@@ -81,8 +81,8 @@ var ListOssCmd = &cobra.Command{
8181

8282
// ShowValuesCmd lists the Parseable OSS servers
8383
var ShowValuesCmd = &cobra.Command{
84-
Use: "show values oss",
85-
Short: "Show values available in Parseable OSS servers",
84+
Use: "show values",
85+
Short: "Show values available in Parseable servers",
8686
Example: "pb show values",
8787
Run: func(_ *cobra.Command, _ []string) {
8888
_, err := common.PromptK8sContext()
@@ -130,9 +130,9 @@ var ShowValuesCmd = &cobra.Command{
130130

131131
// UninstallOssCmd removes Parseable OSS servers
132132
var UninstallOssCmd = &cobra.Command{
133-
Use: "uninstall oss",
134-
Short: "Uninstall Parseable OSS servers",
135-
Example: "pb uninstall oss",
133+
Use: "uninstall",
134+
Short: "Uninstall Parseable servers",
135+
Example: "pb uninstall",
136136
Run: func(_ *cobra.Command, _ []string) {
137137
_, err := common.PromptK8sContext()
138138
if err != nil {

0 commit comments

Comments
 (0)