ref(action): remove ParseShowOutputFormat

Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
This commit is contained in:
Matthew Fisher 2019-03-13 12:13:40 -07:00
parent 1707a8a870
commit 017790d0e3
No known key found for this signature in database
GPG key ID: 92AA783CBAAE8E3B

View file

@ -41,22 +41,6 @@ func (o ShowOutputFormat) String() string {
return string(o)
}
func ParseShowOutputFormat(s string) (out ShowOutputFormat, err error) {
switch s {
case ShowAll.String():
out, err = ShowAll, nil
case ShowChart.String():
out, err = ShowChart, nil
case ShowValues.String():
out, err = ShowValues, nil
case ShowReadme.String():
out, err = ShowReadme, nil
default:
out, err = "", ErrInvalidFormatType
}
return
}
// Show is the action for checking a given release's information.
//
// It provides the implementation of 'helm show' and its respective subcommands.