Browse code

Remove prompts from commented examples

Following the upstream style changes from Kubernetes and OpenShift
Origin.

Rodolfo Carvalho authored on 2016/05/12 22:37:01
Showing 3 changed files
... ...
@@ -21,10 +21,10 @@ Isolate project network
21 21
 Allows projects to isolate their network from other projects when using the %[1]s network plugin.`
22 22
 
23 23
 	isolateProjectsNetworkExample = `	# Provide isolation for project p1
24
-	$ %[1]s <p1>
24
+	%[1]s <p1>
25 25
 
26 26
 	# Allow all projects with label name=top-secret to have their own isolated project network
27
-	$ %[1]s --selector='name=top-secret'`
27
+	%[1]s --selector='name=top-secret'`
28 28
 )
29 29
 
30 30
 type IsolateOptions struct {
... ...
@@ -22,10 +22,10 @@ Join project network
22 22
 Allows projects to join existing project network when using the %[1]s network plugin.`
23 23
 
24 24
 	joinProjectsNetworkExample = `	# Allow project p2 to use project p1 network
25
-	$ %[1]s --to=<p1> <p2>
25
+	%[1]s --to=<p1> <p2>
26 26
 
27 27
 	# Allow all projects with label name=top-secret to use project p1 network
28
-	$ %[1]s --to=<p1> --selector='name=top-secret'`
28
+	%[1]s --to=<p1> --selector='name=top-secret'`
29 29
 )
30 30
 
31 31
 type JoinOptions struct {
... ...
@@ -23,10 +23,10 @@ Make project network global
23 23
 Allows projects to access all pods in the cluster and vice versa when using the %[1]s network plugin.`
24 24
 
25 25
 	makeGlobalProjectsNetworkExample = `	# Allow project p1 to access all pods in the cluster and vice versa
26
-	$ %[1]s <p1>
26
+	%[1]s <p1>
27 27
 
28 28
 	# Allow all projects with label name=share to access all pods in the cluster and vice versa
29
-	$ %[1]s --selector='name=share'`
29
+	%[1]s --selector='name=share'`
30 30
 )
31 31
 
32 32
 type MakeGlobalOptions struct {