Signed-off-by: bruceauyeung <ouyang.qinhua@zte.com.cn>

rename variables to make sure that they conform to golang variable name convention
This commit is contained in:
bruceauyeung
2017-02-16 11:47:00 +08:00
parent 099e7a5f0a
commit ab4029c85b
23 changed files with 73 additions and 73 deletions

View File

@@ -35,7 +35,7 @@ import (
)
const (
bash_completion_func = `# call kubectl get $1,
bashCompletionFunc = `# call kubectl get $1,
__kubectl_override_flag_list=(kubeconfig cluster user context namespace server)
__kubectl_override_flags()
{
@@ -199,7 +199,7 @@ __custom_func() {
// If you add a resource to this list, please also take a look at pkg/kubectl/kubectl.go
// and add a short forms entry in expandResourceShortcut() when appropriate.
// TODO: This should be populated using the discovery information from apiserver.
valid_resources = `Valid resource types include:
validResources = `Valid resource types include:
* all
* certificatesigningrequests (aka 'csr')
@@ -260,7 +260,7 @@ func NewKubectlCommand(f cmdutil.Factory, in io.Reader, out, err io.Writer) *cob
Find more information at https://github.com/kubernetes/kubernetes.`),
Run: runHelp,
BashCompletionFunction: bash_completion_func,
BashCompletionFunction: bashCompletionFunc,
}
f.BindFlags(cmds.PersistentFlags())