aws

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 23 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PreferredInstances = []string{"c5d.large", "m5n.large"}

Functions

func DefaultCredentialsFile added in v0.12.0

func DefaultCredentialsFile() string

DefaultCredentialsFile returns the default credentials file name.

func DefaultProfile added in v0.12.0

func DefaultProfile() string

DefaultProfile returns the default profile name.

func NewCloud

func NewCloud(client awsClient.Interface, infraID, region string) api.Cloud

NewCloud creates a new api.Cloud instance which can prepare AWS for Submariner to be deployed on it.

func NewCloudFromConfig added in v0.12.0

func NewCloudFromConfig(cfg *aws.Config, infraID, region string) api.Cloud

NewCloudFromConfig creates a new api.Cloud instance based on an AWS configuration which can prepare AWS for Submariner to be deployed on it.

func NewCloudFromSettings added in v0.12.0

func NewCloudFromSettings(credentialsFile, profile, infraID, region string) (api.Cloud, error)

NewCloudFromSettings creates a new api.Cloud instance using the given credentials file and profile which can prepare AWS for Submariner to be deployed on it.

func NewOcpGatewayDeployer

func NewOcpGatewayDeployer(cloud api.Cloud, msDeployer ocp.MachineSetDeployer, instanceType string) (api.GatewayDeployer, error)

NewOcpGatewayDeployer returns a GatewayDeployer capable deploying gateways using OCP. If the supplied cloud is not an awsCloud, an error is returned.

Types

This section is empty.

Directories

Path Synopsis
fake
Package fake is a generated GoMock package.
Package fake is a generated GoMock package.

Jump to

Keyboard shortcuts

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