aws

package
v0.29.3 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Overview

Copyright 2020-2021 The UnDistro authors

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

View Source
const (
	DefaultAWSRegion = "us-east-1"
)

Variables

This section is empty.

Functions

func Init

Init providers

func InstallTools added in v0.21.0

func InstallTools(ctx context.Context, streams genericclioptions.IOStreams) error

func PostInstall added in v0.24.0

func PostInstall(ctx context.Context, c client.Client) error

func ReconcileLaunchTemplate added in v0.19.3

func ReconcileLaunchTemplate(ctx context.Context, r client.Client, cl *appv1alpha1.Cluster) error

func ReconcileNetwork added in v0.18.9

func ReconcileNetwork(ctx context.Context, r client.Client, cl *appv1alpha1.Cluster, capiCluster *capi.Cluster) error

func Upgrade

Upgrade providers

Types

type Account added in v0.19.5

type Account struct {
	// contains filtered or unexported fields
}

func NewAccount added in v0.19.5

func NewAccount(ctx context.Context, c client.Client) (*Account, error)

func (*Account) GetID added in v0.19.5

func (a *Account) GetID() string

func (*Account) GetUsername added in v0.19.5

func (a *Account) GetUsername() string

func (*Account) IsRoot added in v0.19.5

func (a *Account) IsRoot() bool

type AwsCredentials added in v0.26.0

type AwsCredentials struct {
	AccessKeyID     string
	SecretAccessKey string
	SessionToken    string
	Region          string
}

func Credentials added in v0.26.0

func Credentials(ctx context.Context, c client.Client) (AwsCredentials, *corev1.Secret, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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