kubectl/pkg/cmd/config
Marly Puckett 9cebc60d68 Update redacting functionality to redact all sensitive info in config when printing with view (#109189)
* Add RedactSecrets function

* Move RedactSecrets method to existing RawBytesData case

* Update TestRedactSecrets to use new pattern of os.CreateTemp()

Kubernetes-commit: e721272d10dd6c4d85ff613182ba0eaddcec9272
2022-11-08 18:06:48 +00:00
..
config.go Renamed create_authinfo.go, create_cluster.go, and create_context.go 2022-02-06 21:31:13 -05:00
config_test.go Change reflect.Ptr to reflect.Pointer 2022-06-26 01:23:43 +09:00
current_context.go Minor adjustments to descriptions and example text 2021-07-06 15:05:26 -04:00
current_context_test.go Use temporary directory when creating temporary file in tests 2020-07-17 10:41:16 +02:00
delete_cluster.go Refactor completion code into its own package 2022-03-24 09:06:05 -04:00
delete_cluster_test.go Revert "Add Go tests for custom completions" 2021-05-22 20:47:14 -04:00
delete_context.go Refactor completion code into its own package 2022-03-24 09:06:05 -04:00
delete_context_test.go Revert "Add Go tests for custom completions" 2021-05-22 20:47:14 -04:00
delete_user.go Refactor completion code into its own package 2022-03-24 09:06:05 -04:00
delete_user_test.go Add get-users and delete-user to kubectl config 2020-04-03 16:41:46 -06:00
get_clusters.go Minor adjustments to descriptions and example text 2021-07-06 15:05:26 -04:00
get_clusters_test.go Use temporary directory when creating temporary file in tests 2020-07-17 10:41:16 +02:00
get_contexts.go Set validate functions requiring no parameters for all commands 2022-05-17 11:38:20 +03:00
get_contexts_test.go Use temporary directory when creating temporary file in tests 2020-07-17 10:41:16 +02:00
get_users.go Minor adjustments to descriptions and example text 2021-07-06 15:05:26 -04:00
get_users_test.go Add get-users and delete-user to kubectl config 2020-04-03 16:41:46 -06:00
navigation_step_parser.go Change reflect.Ptr to reflect.Pointer 2022-06-26 01:23:43 +09:00
navigation_step_parser_test.go Move pkg/kubectl/cmd/{command} to staging 2019-08-01 11:01:40 -07:00
rename_context.go Refactor completion code into its own package 2022-03-24 09:06:05 -04:00
rename_context_test.go Revert "Add Go tests for custom completions" 2021-05-22 20:47:14 -04:00
set.go Change reflect.Ptr to reflect.Pointer 2022-06-26 01:23:43 +09:00
set_cluster.go Renamed create_authinfo.go, create_cluster.go, and create_context.go 2022-02-06 21:31:13 -05:00
set_cluster_test.go Renamed create_authinfo.go, create_cluster.go, and create_context.go 2022-02-06 21:31:13 -05:00
set_context.go Refactor completion code into its own package 2022-03-24 09:06:05 -04:00
set_context_test.go Renamed create_authinfo.go, create_cluster.go, and create_context.go 2022-02-06 21:31:13 -05:00
set_credentials.go Renamed create_authinfo.go, create_cluster.go, and create_context.go 2022-02-06 21:31:13 -05:00
set_credentials_test.go Renamed create_authinfo.go, create_cluster.go, and create_context.go 2022-02-06 21:31:13 -05:00
set_test.go Use temporary directory when creating temporary file in tests 2020-07-17 10:41:16 +02:00
unset.go Minor adjustments to descriptions and example text 2021-07-06 15:05:26 -04:00
unset_test.go Staticcheck: vendor/k8s.io/kubectl/pkg/cmd/exec|config|certificates 2020-01-23 14:03:11 +08:00
use_context.go Refactor completion code into its own package 2022-03-24 09:06:05 -04:00
use_context_test.go Revert "Add Go tests for custom completions" 2021-05-22 20:47:14 -04:00
view.go Update redacting functionality to redact all sensitive info in config when printing with view (#109189) 2022-11-08 18:06:48 +00:00
view_test.go Update redacting functionality to redact all sensitive info in config when printing with view (#109189) 2022-11-08 18:06:48 +00:00