Documentation ¶
Index ¶
- Constants
- func CreateVPCForAzure(subscriptionID, location, resourceGroup, vnetName string) error
- func CreateVPCForGCP(gcpProjectID string, vnetName string) error
- func DeletePeerConnectionAndVPCForAWS(conID string, region string) error
- func DeletePeerVPC(peers []status.AtlasNetworkPeer) []error
- func DeleteVPCForAzure(subscriptionID, resourceGroup, vnetName string) error
- func DeleteVPCForGCP(gcpProjectID, vnetName string) error
- func EstablishAWSPeerConnection(peer status.AtlasNetworkPeer) error
- func EstablishGCPPeerConnectionWithVPC(gpcProjectID, vnetName, atlasGCPProjectID, atlasVnetName string) error
- func EstablishPeerConnections(peers []status.AtlasNetworkPeer) error
- func PreparePeerVPC(peers []v1.NetworkPeer) error
- type AWSNetworkPeer
Constants ¶
View Source
const ( SubscriptionID = "AZURE_SUBSCRIPTION_ID" DirectoryID = "AZURE_TENANT_ID" )
View Source
const AzureResourceGroupName = "atlas-operator-test"
View Source
const AzureVPCName = "test-vnet"
View Source
const GCPVPCName = "network-peering-gcp-1-vpc"
Variables ¶
This section is empty.
Functions ¶
func CreateVPCForAzure ¶
func CreateVPCForGCP ¶
func DeletePeerVPC ¶
func DeletePeerVPC(peers []status.AtlasNetworkPeer) []error
func DeleteVPCForAzure ¶
func DeleteVPCForGCP ¶
func EstablishAWSPeerConnection ¶
func EstablishAWSPeerConnection(peer status.AtlasNetworkPeer) error
func EstablishPeerConnections ¶
func EstablishPeerConnections(peers []status.AtlasNetworkPeer) error
func PreparePeerVPC ¶
func PreparePeerVPC(peers []v1.NetworkPeer) error
Types ¶
type AWSNetworkPeer ¶
type AWSNetworkPeer struct {
// contains filtered or unexported fields
}
func NewAWSNetworkPeerService ¶
func NewAWSNetworkPeerService(region string) (AWSNetworkPeer, error)
func (*AWSNetworkPeer) CreateVPCForAWS ¶
func (p *AWSNetworkPeer) CreateVPCForAWS(appCidr string) (string, string, error)
Click to show internal directories.
Click to hide internal directories.