a1208974ac
Co-authored-by: Phil Calder <4473109+predlac@users.noreply.github.com> Co-authored-by: Viktor Pettersson <viktor.pettersson@portainer.io> Co-authored-by: Yajith Dayarathna <yajith.dayarathna@portainer.io> Co-authored-by: Chaim Lev-Ari <chiptus@users.noreply.github.com> Co-authored-by: nickl-portainer <nicholas.loomans@portainer.io>
19 lines
581 B
Go
19 lines
581 B
Go
package options
|
|
|
|
import "time"
|
|
|
|
// UninstallOptions are portainer supported options for `helm uninstall`
|
|
type UninstallOptions struct {
|
|
Name string
|
|
Namespace string
|
|
KubernetesClusterAccess *KubernetesClusterAccess
|
|
|
|
// Wait blocks until all resources are deleted before returning (helm uninstall --wait).
|
|
// Use when a restore will be applied immediately after uninstall so resources are gone first.
|
|
Wait bool
|
|
// Timeout is how long to wait for resources to be deleted when Wait is true (default 15m).
|
|
Timeout time.Duration
|
|
|
|
Env []string
|
|
}
|