aws

package
v0.1.42 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCreateCommand

func NewCreateCommand() *cobra.Command

func NewDestroyCommand

func NewDestroyCommand() *cobra.Command

Types

type CreateBastionOpts

type CreateBastionOpts struct {
	Namespace          string
	Name               string
	InfraID            string
	Region             string
	SSHKeyFile         string
	AWSCredentialsFile string
	AWSKey             string
	AWSSecretKey       string
	Wait               bool
}

func (*CreateBastionOpts) Run

func (o *CreateBastionOpts) Run(ctx context.Context, logger logr.Logger) (string, string, error)

func (*CreateBastionOpts) Validate

func (o *CreateBastionOpts) Validate() error

type DestroyBastionOpts

type DestroyBastionOpts struct {
	Namespace          string
	Name               string
	InfraID            string
	Region             string
	AWSCredentialsFile string
	AWSKey             string
	AWSSecretKey       string
}

func (*DestroyBastionOpts) Run

func (o *DestroyBastionOpts) Run(ctx context.Context, logger logr.Logger) error

func (*DestroyBastionOpts) Validate

func (o *DestroyBastionOpts) Validate() error

Jump to

Keyboard shortcuts

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