Vendor dependencies

This commit is contained in:
Mark Sagi-Kazar
2020-01-31 10:32:00 +01:00
parent ca2d718fe4
commit 0f1927a1ba
1245 changed files with 316980 additions and 43333 deletions

View File

@@ -0,0 +1,17 @@
package internal
var APIServerDefaultArgs = []string{
"--etcd-servers={{ if .EtcdURL }}{{ .EtcdURL.String }}{{ end }}",
"--cert-dir={{ .CertDir }}",
"--insecure-port={{ if .URL }}{{ .URL.Port }}{{ end }}",
"--insecure-bind-address={{ if .URL }}{{ .URL.Hostname }}{{ end }}",
"--secure-port={{ if .SecurePort }}{{ .SecurePort }}{{ end }}",
}
func DoAPIServerArgDefaulting(args []string) []string {
if len(args) != 0 {
return args
}
return APIServerDefaultArgs
}