Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MachineName ¶ added in v0.13.1
MachineName generates a machine name for the gateway. The name length is limited to 20 characters to ensure we don't hit the 63-character limit when generating the "machine public IP name". At most 7 characters for the region, at most 13 for the region and a randomly generated UUID. We add "subgw-", 6 characters, for a total of 20 with the hyphen between region and UUID.
func NewCloud ¶
NewCloud creates a new api.Cloud instance which can prepare Azure for Submariner to be deployed on it.
func NewOcpGatewayDeployer ¶
func NewOcpGatewayDeployer(info *CloudInfo, cloud api.Cloud, msDeployer ocp.MachineSetDeployer, instanceType string, dedicatedGWNode bool, ) (api.GatewayDeployer, error)
NewOcpGatewayDeployer returns a GatewayDeployer capable deploying gateways using OCP. If the supplied cloud is not an azureCloud, an error is returned.
Types ¶
Click to show internal directories.
Click to hide internal directories.