Help us shape the future of Go! Take the 2026 Go Developer Survey

irsa

package
v0.62.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(factory framework.Factory) (*cobra.Command, framework.Runner)

Types

type Runner

type Runner struct {
	ConfigHolder      *framework.ConfigHolder
	ConnectionFactory connections.Factory
	Output            output.Interface
	Format            string
	Workspace         *workspaces.Workspace

	IAMRole     string
	KubeContext string
}

Runner is the runner implementation for the `rad credential register aws` command.

func NewRunner

func NewRunner(factory framework.Factory) *Runner

NewRunner creates a new instance of the `rad credential register aws` runner.

func (*Runner) Run

func (r *Runner) Run(ctx context.Context) error

Run() registers an AWS credential with the given context and workspace, and returns an error if unsuccessful.

func (*Runner) Validate

func (r *Runner) Validate(cmd *cobra.Command, args []string) error

Validate() checks if the required workspace, output format, access key ID and secret access key are present, and if not, returns an error.

Jump to

Keyboard shortcuts

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