updater

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AccessKeyID is a constant for the key in a cloud provider secret and backup secret that holds the AWS access key id.
	AccessKeyID = "accessKeyID"
	// SecretAccessKey is a constant for the key in a cloud provider secret and backup secret that holds the AWS secret access key.
	SecretAccessKey = "secretAccessKey"
	// InClusterConfig is a special name for the kubeconfig to use in-cluster client
	InClusterConfig = "inClusterConfig"
)

Variables

This section is empty.

Functions

func NewAWSEC2V2

func NewAWSEC2V2(ctx context.Context, cred *Credentials, region string) (*ec2.Client, error)

Types

type Credentials

type Credentials struct {
	AccessKeyID     string
	SecretAccessKey string
}

func LoadCredentials

func LoadCredentials(controlKubeconfig, namespace, secretName string) (*Credentials, error)

Jump to

Keyboard shortcuts

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