jx: github.com/jenkins-x/jx/pkg/cmd/uninstall Index | Files

package uninstall

import "github.com/jenkins-x/jx/pkg/cmd/uninstall"


Package Files


func NewCmdUninstall Uses

func NewCmdUninstall(commonOpts *opts.CommonOptions) *cobra.Command

type UninstallOptions Uses

type UninstallOptions struct {

    Namespace        string
    Context          string
    Force            bool // Force uninstallation - programmatic use only - do not expose to the user
    KeepEnvironments bool
    KeepNamespaces   bool

func (*UninstallOptions) DeleteReleaseIfPresent Uses

func (o *UninstallOptions) DeleteReleaseIfPresent(ns string, releaseName string, errors []error, force bool) []error

DeleteReleaseIfPresent deletes the given chart in the given namespace and adds any erro to the passed errors slice as it checks if the release is present before deleting, it can be forced to delete in case it doesn't find it because of an unrelated error

func (*UninstallOptions) Run Uses

func (o *UninstallOptions) Run() error

Package uninstall imports 13 packages (graph). Updated 2020-09-30. Refresh now. Tools for package owners.