Skip to content

Commit f37fb56

Browse files
committed
Update case from PRO to Pro
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent fbd9fba commit f37fb56

File tree

5 files changed

+22
-23
lines changed

5 files changed

+22
-23
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
## Your Environment
2929
<!--- Include as many relevant details about the environment you experienced the bug in -->
3030

31-
* inlets PRO version `inlets-pro version`
31+
* inlets Pro version `inlets-pro version`
3232

3333
* inletsctl version `inletsctl version`
3434

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
![Downloads](https://img.shields.io/github/downloads/inlets/inletsctl/total)
77

88
inletsctl automates the task of creating an exit-server (tunnel server) on public cloud infrastructure.
9-
The `create` command provisions a cheap cloud VM with a public IP and pre-installs inlets PRO for you. You'll then get a connection string that you can use with the inlets client.
9+
The `create` command provisions a cheap cloud VM with a public IP and pre-installs inlets Pro for you. You'll then get a connection string that you can use with the inlets client.
1010

1111
**Conceptual diagram**
1212

@@ -16,7 +16,7 @@ The `create` command provisions a cheap cloud VM with a public IP and pre-instal
1616

1717
Use-cases:
1818

19-
* Setup L4 TCP and HTTPS tunnels for your local services using [inlets PRO](https://inlets.dev/) with `inletsctl create`
19+
* Setup L4 TCP and HTTPS tunnels for your local services using [inlets Pro](https://inlets.dev/) with `inletsctl create`
2020
* Create tunnels for use with Kubernetes clusters, create the tunnel and use it whenever you need it
2121
* Port-forward services your local Kubernetes cluster using `inletsctl kfwd`
2222

cmd/create.go

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -49,26 +49,26 @@ func init() {
4949
createCmd.Flags().String("endpoint", "ovh-eu", "API endpoint (ovh), default: ovh-eu")
5050
createCmd.Flags().String("consumer-key", "", "The Consumer Key for using the OVH API")
5151

52-
createCmd.Flags().Bool("tcp", true, `Provision an exit-server with inlets PRO running as a TCP server`)
52+
createCmd.Flags().Bool("tcp", true, `Provision an exit-server with inlets Pro running as a TCP server`)
5353

5454
createCmd.Flags().StringArray("letsencrypt-domain", []string{}, `Domains you want to get a Let's Encrypt certificate for`)
5555
createCmd.Flags().String("letsencrypt-issuer", "prod", `The issuer endpoint to use with Let's Encrypt - \"prod\" or \"staging\"`)
5656
createCmd.Flags().String("letsencrypt-email", "", `The email to register with Let's Encrypt for renewal notices (required)`)
5757

58-
createCmd.Flags().Bool("pro", true, `Provision an exit-server with inlets PRO (Deprecated)`)
58+
createCmd.Flags().Bool("pro", true, `Provision an exit-server with inlets Pro (Deprecated)`)
5959
_ = createCmd.Flags().MarkHidden("pro")
6060
createCmd.Flags().DurationP("poll", "n", time.Second*2, "poll every N seconds, use a higher value if you encounter rate-limiting")
6161

62-
createCmd.Flags().String("inlets-pro-version", inletsProDefaultVersion, `Binary release version for inlets PRO`)
62+
createCmd.Flags().String("inlets-pro-version", inletsProDefaultVersion, `Binary release version for inlets Pro`)
6363

6464
}
6565

6666
// clientCmd represents the client sub command.
6767
var createCmd = &cobra.Command{
6868
Use: "create",
69-
Short: "Create an exit-server with inlets PRO preinstalled.",
70-
Long: `Create an exit-server with inlets PRO preinstalled on cloud infrastructure
71-
with inlets PRO preloaded as a systemd service. The estimated cost of each
69+
Short: "Create an exit-server with inlets Pro preinstalled.",
70+
Long: `Create an exit-server with inlets Pro preinstalled on cloud infrastructure
71+
with inlets Pro preloaded as a systemd service. The estimated cost of each
7272
VM along with what OS version and spec will be used is explained in the
7373
project docs.`,
7474
Example: ` inletsctl create \
@@ -334,14 +334,14 @@ func runCreate(cmd *cobra.Command, _ []string) error {
334334

335335
if hostStatus.Status == "active" {
336336
if len(letsencryptDomains) > 0 {
337-
fmt.Printf(`inlets PRO HTTPS (%s) server summary:
337+
fmt.Printf(`inlets Pro HTTPS (%s) server summary:
338338
IP: %s
339339
HTTPS Domains: %v
340340
Auth-token: %s
341341
342342
Command:
343343
344-
# Obtain a license at https://inlets.dev
344+
# Obtain a license at https://inlets.dev/pricing
345345
# Store it at $HOME/.inlets/LICENSE or use --help for more options
346346
347347
# Where to route traffic from the inlets server
@@ -366,15 +366,14 @@ To delete:
366366

367367
return nil
368368
} else {
369-
fmt.Printf(`inlets PRO TCP (%s) server summary:
369+
fmt.Printf(`inlets Pro TCP (%s) server summary:
370370
IP: %s
371371
Auth-token: %s
372372
373373
Command:
374374
375-
# Obtain a license at https://inlets.dev
375+
# Obtain a license at https://inlets.dev/pricing
376376
# Store it at $HOME/.inlets/LICENSE or use --help for more options
377-
export LICENSE="$HOME/.inlets/LICENSE"
378377
379378
# Give a single value or comma-separated
380379
export PORTS="8000"

cmd/download.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ var (
2424
func init() {
2525
inletsCmd.AddCommand(downloadCmd)
2626

27-
downloadCmd.Flags().BoolVar(&inletsPro, "pro", true, "Download inlets PRO")
27+
downloadCmd.Flags().BoolVar(&inletsPro, "pro", true, "Download inlets Pro")
2828
downloadCmd.Flags().StringVar(&downloadVersion, "version", "", "specific version to download")
2929
downloadCmd.Flags().StringVar(&destination, "download-to", "/usr/local/bin", "location to download to (Default: /usr/local/bin)")
3030
downloadCmd.Flags().BoolVarP(&verbose, "verbose", "v", false, "Show download URL")
@@ -33,8 +33,8 @@ func init() {
3333

3434
var downloadCmd = &cobra.Command{
3535
Use: "download",
36-
Short: "Downloads the inlets PRO binary",
37-
Long: `Downloads the inlets PRO binary from the GitHub releases page. Only inlets PRO is supported.`,
36+
Short: "Downloads the inlets Pro binary",
37+
Long: `Downloads the inlets Pro binary from the GitHub releases page. Only inlets Pro is supported.`,
3838
Example: ` inletsctl download
3939
inletsctl download --version 0.2.6
4040
inletsctl download --pro --version 0.2.6

cmd/kfwd.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ func init() {
2121
inletsCmd.AddCommand(kfwdCmd)
2222

2323
kfwdCmd.Flags().StringP("from", "f", "", "From service for the inlets client to forward")
24-
kfwdCmd.Flags().StringP("if", "i", "", "The address of your laptop, for the inlets PRO server to connect to")
24+
kfwdCmd.Flags().StringP("if", "i", "", "The address of your laptop, for the inlets Pro server to connect to")
2525
kfwdCmd.Flags().StringP("namespace", "n", "default", "Source service namespace")
2626
kfwdCmd.Flags().String("license", "", "Inlets PRO license key")
27-
kfwdCmd.Flags().Bool("tcp", false, "Use inlets PRO in TCP mode, or if set to false, in HTTP mode")
27+
kfwdCmd.Flags().Bool("tcp", false, "Use inlets Pro in TCP mode, or if set to false, in HTTP mode")
2828
}
2929

3030
// clientCmd represents the client sub command.
@@ -34,7 +34,7 @@ var kfwdCmd = &cobra.Command{
3434
Long: `Forward a Kubernetes service to the local machine using the --if flag to
3535
specify an ethernet address accessible from within the Kubernetes cluster
3636
37-
An inlets PRO HTTP or TCP client is run within the cluster as a deployment,
37+
An inlets Pro HTTP or TCP client is run within the cluster as a deployment,
3838
and then the server process is run by inletsctl. The cluster starts the
3939
client which then establishes the connection to the server on your
4040
local machine.`,
@@ -80,7 +80,7 @@ func fwdTCP(cmd *cobra.Command, eth, port, upstream, ns, inletsToken, license st
8080
return fmt.Errorf("exit code unexpected: %d, stderr: %s", res.ExitCode, res.Stderr)
8181
}
8282

83-
fmt.Println("inlets PRO client scheduled inside your cluster.")
83+
fmt.Println("inlets Pro client scheduled inside your cluster.")
8484

8585
go func() {
8686
sig := make(chan os.Signal, 1)
@@ -108,7 +108,7 @@ func fwdTCP(cmd *cobra.Command, eth, port, upstream, ns, inletsToken, license st
108108
}
109109
}()
110110

111-
fmt.Printf(`inlets PRO server now listening.
111+
fmt.Printf(`inlets Pro server now listening.
112112
113113
%s:%s
114114
@@ -183,7 +183,7 @@ func runKfwd(cmd *cobra.Command, _ []string) error {
183183
return err
184184
}
185185
if len(license) == 0 {
186-
return fmt.Errorf("--license is required for use with inlets PRO, get a free trial at inlets.dev")
186+
return fmt.Errorf("--license is required for use with inlets Pro, get a free trial at inlets.dev")
187187
}
188188

189189
if tcp, _ := cmd.Flags().GetBool("tcp"); tcp {

0 commit comments

Comments
 (0)