mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 15:29:42 +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
20
api/pkg/libhelm/options/get_options.go
Normal file
20
api/pkg/libhelm/options/get_options.go
Normal file
|
@ -0,0 +1,20 @@
|
|||
package options
|
||||
|
||||
// releaseResource are the supported `helm get` sub-commands
|
||||
// to see all available sub-commands run `helm get --help`
|
||||
type releaseResource string
|
||||
|
||||
const (
|
||||
GetAll releaseResource = "all"
|
||||
GetHooks releaseResource = "hooks"
|
||||
GetManifest releaseResource = "manifest"
|
||||
GetNotes releaseResource = "notes"
|
||||
GetValues releaseResource = "values"
|
||||
)
|
||||
|
||||
type GetOptions struct {
|
||||
Name string
|
||||
Namespace string
|
||||
ReleaseResource releaseResource
|
||||
KubernetesClusterAccess *KubernetesClusterAccess
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue