deletecmd

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	options.BaseOptions
	environments.EnvironmentPullRequestOptions

	GitURL           string
	EnvironmentName  string
	AutoMerge        bool
	PullRequestTitle string
	PullRequestBody  string
	NoSourceConfig   bool
	Owner            string
	Repository       string
	RemoveNamespace  string
	Namespace        string
	KubeClient       kubernetes.Interface
	JXClient         jxc.Interface
}

Options the flags for updating webhooks

func NewCmdDelete

func NewCmdDelete() (*cobra.Command, *Options)

func (*Options) AppDescription

func (o *Options) AppDescription() string

AppDescription returns the app description

func (*Options) DeleteApp

func (o *Options) DeleteApp(dir string) error

func (*Options) Run

func (o *Options) Run() error

Run runs the command

func (*Options) Validate

func (o *Options) Validate() error

Validate verifies things are setup correctly

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL