|
|
@ -48,6 +48,7 @@ type getCmd struct {
|
|
|
|
release string
|
|
|
|
release string
|
|
|
|
out io.Writer
|
|
|
|
out io.Writer
|
|
|
|
client helm.Interface
|
|
|
|
client helm.Interface
|
|
|
|
|
|
|
|
version int32
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func newGetCmd(client helm.Interface, out io.Writer) *cobra.Command {
|
|
|
|
func newGetCmd(client helm.Interface, out io.Writer) *cobra.Command {
|
|
|
@ -71,6 +72,9 @@ func newGetCmd(client helm.Interface, out io.Writer) *cobra.Command {
|
|
|
|
return get.run()
|
|
|
|
return get.run()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cmd.PersistentFlags().Int32Var(&get.version, "version", 0, "version of release")
|
|
|
|
|
|
|
|
|
|
|
|
cmd.AddCommand(newGetValuesCmd(nil, out))
|
|
|
|
cmd.AddCommand(newGetValuesCmd(nil, out))
|
|
|
|
cmd.AddCommand(newGetManifestCmd(nil, out))
|
|
|
|
cmd.AddCommand(newGetManifestCmd(nil, out))
|
|
|
|
cmd.AddCommand(newGetHooksCmd(nil, out))
|
|
|
|
cmd.AddCommand(newGetHooksCmd(nil, out))
|
|
|
|