(f *pflag.FlagSet, c *action.ChartPathOptions)
| 102 | } |
| 103 | |
| 104 | func addChartPathOptionsFlags(f *pflag.FlagSet, c *action.ChartPathOptions) { |
| 105 | f.StringVar(&c.Version, "version", "", "specify a version constraint for the chart version to use. This constraint can be a specific tag (e.g. 1.1.1) or it may reference a valid range (e.g. ^2.0.0). If this is not specified, the latest version is used") |
| 106 | f.BoolVar(&c.Verify, "verify", false, "verify the package before using it") |
| 107 | f.StringVar(&c.Keyring, "keyring", defaultKeyring(), "location of public keys used for verification") |
| 108 | f.StringVar(&c.RepoURL, "repo", "", "chart repository url where to locate the requested chart") |
| 109 | f.StringVar(&c.Username, "username", "", "chart repository username where to locate the requested chart") |
| 110 | f.StringVar(&c.Password, "password", "", "chart repository password where to locate the requested chart") |
| 111 | f.StringVar(&c.CertFile, "cert-file", "", "identify HTTPS client using this SSL certificate file") |
| 112 | f.StringVar(&c.KeyFile, "key-file", "", "identify HTTPS client using this SSL key file") |
| 113 | f.BoolVar(&c.InsecureSkipTLSVerify, "insecure-skip-tls-verify", false, "skip tls certificate checks for the chart download") |
| 114 | f.BoolVar(&c.PlainHTTP, "plain-http", false, "use insecure HTTP connections for the chart download") |
| 115 | f.StringVar(&c.CaFile, "ca-file", "", "verify certificates of HTTPS-enabled servers using this CA bundle") |
| 116 | f.BoolVar(&c.PassCredentialsAll, "pass-credentials", false, "pass credentials to all domains") |
| 117 | } |
| 118 | |
| 119 | // bindOutputFlag will add the output flag to the given command and bind the |
| 120 | // value to the given format pointer |
no test coverage detected
searching dependent graphs…