mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-31 10:18:13 +00:00 
			
		
		
		
	Move each kubectl command to a separate directory
This commit is contained in:
		| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package annotate | ||||
| 
 | ||||
| import ( | ||||
| 	"bytes" | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package annotate | ||||
| 
 | ||||
| import ( | ||||
| 	"net/http" | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package apiresources | ||||
| 
 | ||||
| import ( | ||||
| 	"fmt" | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package apiresources | ||||
| 
 | ||||
| import ( | ||||
| 	"fmt" | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package apply | ||||
| 
 | ||||
| import ( | ||||
| 	"fmt" | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package apply | ||||
| 
 | ||||
| import ( | ||||
| 	"github.com/spf13/cobra" | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package apply | ||||
| 
 | ||||
| import ( | ||||
| 	"bytes" | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package apply | ||||
| 
 | ||||
| import ( | ||||
| 	"bytes" | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package apply | ||||
| 
 | ||||
| import ( | ||||
| 	"bytes" | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package attach | ||||
| 
 | ||||
| import ( | ||||
| 	"fmt" | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package attach | ||||
| 
 | ||||
| import ( | ||||
| 	"fmt" | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package autoscale | ||||
| 
 | ||||
| import ( | ||||
| 	"fmt" | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package certificates | ||||
| 
 | ||||
| import ( | ||||
| 	"fmt" | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package clusterinfo | ||||
| 
 | ||||
| import ( | ||||
| 	"fmt" | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package clusterinfo | ||||
| 
 | ||||
| import ( | ||||
| 	"fmt" | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package clusterinfo | ||||
| 
 | ||||
| import ( | ||||
| 	"io/ioutil" | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package completion | ||||
| 
 | ||||
| import ( | ||||
| 	"bytes" | ||||
| @@ -264,7 +264,7 @@ __kubectl_quote() { | ||||
|         # Leave out first character | ||||
|         printf %q "${1:1}" | ||||
|     else | ||||
|     	printf %q "$1" | ||||
| 	printf %q "$1" | ||||
|     fi | ||||
| } | ||||
| 
 | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package convert | ||||
| 
 | ||||
| import ( | ||||
| 	"fmt" | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package convert | ||||
| 
 | ||||
| import ( | ||||
| 	"bytes" | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package cp | ||||
| 
 | ||||
| import ( | ||||
| 	"archive/tar" | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package cp | ||||
| 
 | ||||
| import ( | ||||
| 	"archive/tar" | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package delete | ||||
| 
 | ||||
| import ( | ||||
| 	"fmt" | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package delete | ||||
| 
 | ||||
| import ( | ||||
| 	"time" | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package delete | ||||
| 
 | ||||
| import ( | ||||
| 	"encoding/json" | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package describe | ||||
| 
 | ||||
| import ( | ||||
| 	"fmt" | ||||
| @@ -39,7 +39,7 @@ var ( | ||||
| 		Show details of a specific resource or group of resources | ||||
| 
 | ||||
| 		Print a detailed description of the selected resources, including related resources such | ||||
| 		as events or controllers. You may select a single object by name, all objects of that  | ||||
| 		as events or controllers. You may select a single object by name, all objects of that | ||||
| 		type, provide a name prefix, or label selector. For example: | ||||
| 
 | ||||
| 		    $ kubectl describe TYPE NAME_PREFIX | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package describe | ||||
| 
 | ||||
| import ( | ||||
| 	"fmt" | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package diff | ||||
| 
 | ||||
| import ( | ||||
| 	"fmt" | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package diff | ||||
| 
 | ||||
| import ( | ||||
| 	"bytes" | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package drain | ||||
| 
 | ||||
| import ( | ||||
| 	"errors" | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package drain | ||||
| 
 | ||||
| import ( | ||||
| 	"errors" | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package edit | ||||
| 
 | ||||
| import ( | ||||
| 	"fmt" | ||||
| @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| package cmd | ||||
| package edit | ||||
| 
 | ||||
| import ( | ||||
| 	"bytes" | ||||
| @@ -64,7 +64,7 @@ kind: Config | ||||
| users: [] | ||||
| " > "${edit_kubeconfig}" | ||||
|     export KUBECONFIG="${edit_kubeconfig}" | ||||
|      | ||||
| 
 | ||||
|     echo "Starting subshell. Type exit when finished." | ||||
|     bash | ||||
| popd | ||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user
	 Maciej Szulik
					Maciej Szulik