mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
import libhelm into portainer (#8128)
This commit is contained in:
parent
241440a474
commit
d2f6d1e415
32 changed files with 1305 additions and 5 deletions
22
api/pkg/libhelm/options/show_options.go
Normal file
22
api/pkg/libhelm/options/show_options.go
Normal file
|
@ -0,0 +1,22 @@
|
|||
package options
|
||||
|
||||
// ShowOutputFormat is the format of the output of `helm show`
|
||||
type ShowOutputFormat string
|
||||
|
||||
const (
|
||||
// ShowAll is the format which shows all the information of a chart
|
||||
ShowAll ShowOutputFormat = "all"
|
||||
// ShowChart is the format which only shows the chart's definition
|
||||
ShowChart ShowOutputFormat = "chart"
|
||||
// ShowValues is the format which only shows the chart's values
|
||||
ShowValues ShowOutputFormat = "values"
|
||||
// ShowReadme is the format which only shows the chart's README
|
||||
ShowReadme ShowOutputFormat = "readme"
|
||||
)
|
||||
|
||||
// ShowOptions are portainer supported options for `helm install`
|
||||
type ShowOptions struct {
|
||||
OutputFormat ShowOutputFormat
|
||||
Chart string
|
||||
Repo string
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue