Discover Packages
github.com/radius-project/radius
pkg
cli
cmd
group
delete
package
Version:
v0.31.0-rc1
Opens a new window with list of versions in this module.
Published: Feb 28, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
NewCommand creates a new cobra command for deleting a resource group, which takes in a workspace and resource group
name as arguments, and a confirmation flag, and returns a cobra command and a runner.
Runner is the runner implementation for the `rad group delete` command.
NewRunner creates a new instance of the `rad group delete` runner.
Run checks if the user has confirmed the deletion of the resource group, and if so, deletes the resource group and
returns an error if unsuccessful.
Validate checks if the required workspace, resource group and confirmation flag are present and sets them in
the Runner struct if they are. It returns an error if any of these are not present.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.