remove

package
v0.8.5-10-gfc6cee17 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd() *cobra.Command

func Remove added in v0.8.3

func Remove(ctx context.Context, opts *RemoveOptions, args ...string) error

Types

type RemoveOptions

type RemoveOptions struct {
	All       bool                  `long:"all" usage:"Remove all services"`
	Auth      *config.AuthConfig    `noattribute:"true"`
	Client    kraftcloud.KraftCloud `noattribute:"true"`
	Metro     string                `noattribute:"true"`
	Token     string                `noattribute:"true"`
	WaitEmpty bool                  `long:"wait-empty" usage:"Wait for the service group to be empty before removing it"`
}

func (*RemoveOptions) Pre

func (opts *RemoveOptions) Pre(cmd *cobra.Command, args []string) error

func (*RemoveOptions) Run

func (opts *RemoveOptions) Run(ctx context.Context, args []string) error

Jump to

Keyboard shortcuts

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