cloud

package
v0.22.0 Latest Latest
Warning

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

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

Documentation

Overview

Copyright 2020 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

This section is empty.

Variables

This section is empty.

Functions

func DefaultRegion added in v0.22.0

func DefaultRegion(infra string) string

func Init

Init providers

func InstallTools added in v0.21.0

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

InstallTools install required tools for provider

func ReconcileLaunchTemplate added in v0.19.3

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

ReconcileLaunchTemplate from clouds

func ReconcileNetwork added in v0.18.9

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

ReconcileNetwork from clouds

func Upgrade

Upgrade providers

Types

type Account added in v0.19.5

type Account interface {
	GetID() string
	GetUsername() string
	IsRoot() bool
}

func GetAccount added in v0.19.5

func GetAccount(ctx context.Context, c client.Client, cl *appv1alpha1.Cluster) (Account, error)

Directories

Path Synopsis
aws

Jump to

Keyboard shortcuts

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