mirror of
https://github.com/helm/helm.git
synced 2026-05-28 04:35:48 -04:00
ref(action): remove ParseShowOutputFormat
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
This commit is contained in:
parent
1707a8a870
commit
017790d0e3
1 changed files with 0 additions and 16 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue