mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 15:37:24 +00:00
Refactor bool_flag into sub pkg
This commit is contained in:
@@ -29,6 +29,7 @@ import (
|
||||
"k8s.io/kubernetes/pkg/client/unversioned/clientcmd"
|
||||
clientcmdapi "k8s.io/kubernetes/pkg/client/unversioned/clientcmd/api"
|
||||
"k8s.io/kubernetes/pkg/util"
|
||||
"k8s.io/kubernetes/pkg/util/flag"
|
||||
)
|
||||
|
||||
type createAuthInfoOptions struct {
|
||||
@@ -40,7 +41,7 @@ type createAuthInfoOptions struct {
|
||||
token util.StringFlag
|
||||
username util.StringFlag
|
||||
password util.StringFlag
|
||||
embedCertData util.BoolFlag
|
||||
embedCertData flag.Tristate
|
||||
}
|
||||
|
||||
var create_authinfo_long = fmt.Sprintf(`Sets a user entry in kubeconfig
|
||||
|
||||
Reference in New Issue
Block a user