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

package uninstall

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

Index

Package Files

uninstall.go

func NewCmdUninstall Uses

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

type UninstallOptions Uses

type UninstallOptions struct {
    *opts.CommonOptions

    Namespace        string
    Context          string
    Force            bool // Force uninstallation - programmatic use only - do not expose to the user
    KeepEnvironments 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) and is imported by 2 packages. Updated 2019-11-14. Refresh now. Tools for package owners.