cloud

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: Apache-2.0 Imports: 7 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

This section is empty.

Variables

This section is empty.

Functions

func CalicoValues added in v0.27.0

func CalicoValues(flavor string) ([]byte, error)

func DefaultRegion added in v0.22.0

func DefaultRegion(infra string) string

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 RegionNames added in v0.32.0

func RegionNames(provider metadatav1alpha1.Provider) []string

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)

type MetadataFunc added in v0.32.0

type MetadataFunc func(context.Context, metadatav1alpha1.Provider) ([]client.Object, error)

func GetFlavors added in v0.32.0

func GetFlavors(provider metadatav1alpha1.Provider) MetadataFunc

func GetMachineMetadata added in v0.32.0

func GetMachineMetadata(provider metadatav1alpha1.Provider) MetadataFunc

Directories

Path Synopsis
aws

Jump to

Keyboard shortcuts

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