Discover Packages
github.com/radius-project/radius
pkg
cli
cmd
credential
list
package
Version:
v0.27.0-rc1
Opens a new window with list of versions in this module.
Published: Nov 8, 2023
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 and a new Runner, and configures the command with the runner, output flag, and workspace flag.
Runner is the runner implementation for the `rad credential list` command.
NewRunner creates a new instance of the `rad credential list` runner.
Run() lists the credentials for all cloud providers for a given Radius installation and prints the results in a table format.
It returns an error if there is an issue with creating the credential management client or listing the credentials.
Validate() checks if the workspace and output format are valid and sets them in the Runner struct, returning an error if either is invalid.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.