Documentation ¶
Index ¶
- Variables
- func DefaultCredentialsFile() string
- func DefaultProfile() string
- func NewCloud(client awsClient.Interface, infraID, region string) api.Cloud
- func NewCloudFromConfig(cfg *aws.Config, infraID, region string) api.Cloud
- func NewCloudFromSettings(credentialsFile, profile, infraID, region string) (api.Cloud, error)
- func NewOcpGatewayDeployer(cloud api.Cloud, msDeployer ocp.MachineSetDeployer, instanceType string) (api.GatewayDeployer, error)
Constants ¶
This section is empty.
Variables ¶
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 ¶
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
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
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.