portainer/api/pkg/libhelm/options/get_options.go

21 lines
556 B
Go
Raw Normal View History

2022-11-30 01:25:47 +00:00
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
}