Documentation ¶
Index ¶
- func DescribeTransitGateway(ctx context.Context, ec2client *ec2.Client, tg *string) (*ec2types.TransitGateway, error)
- func GetEC2Client(ctx context.Context, clients map[string]map[string]*ec2.Client, profile string, ...) (*ec2.Client, error)
- func GetGlobalNetworks(ctx context.Context, nmclient *nm.Client) ([]nmtypes.GlobalNetwork, error)
- func GetTransitGatewayAttachmentsByAttachment(ctx context.Context, ec2client *ec2.Client, attachment string) ([]ec2types.TransitGatewayAttachment, error)
- func GetTransitGatewayAttachmentsByTG(ctx context.Context, clients map[string]map[string]*ec2.Client, ...) ([]ec2types.TransitGatewayAttachment, error)
- func NewEC2Client(ctx context.Context, profile string, region *string) (*ec2.Client, error)
- type DescribeTGRegistrationsOutput
- type DescribeTransitGatewayRouteTablesOutput
- type GlobalNetwork
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DescribeTransitGateway ¶
func GetEC2Client ¶
func GetGlobalNetworks ¶
Types ¶
type DescribeTGRegistrationsOutput ¶
type DescribeTGRegistrationsOutput struct { Name string Region string Attachments []ec2types.TransitGatewayAttachment Resource string }
func DescribeTransitGatewayRegistrationsFromARN ¶
func DescribeTransitGatewayRegistrationsFromARN(ctx context.Context, transitGatewaysARN []*string) ([]*DescribeTGRegistrationsOutput, error)
type DescribeTransitGatewayRouteTablesOutput ¶
type DescribeTransitGatewayRouteTablesOutput struct { Name string Routes []ec2types.TransitGatewayRoute }
type GlobalNetwork ¶
type GlobalNetwork struct { Connections []nmtypes.Connection CustomerGatewayAssociations []nmtypes.CustomerGatewayAssociation Devices []nmtypes.Device LinkAssociations []nmtypes.LinkAssociation Links []nmtypes.Link Sites []nmtypes.Site TransitGatewayConnectPeerAssociations []nmtypes.TransitGatewayConnectPeerAssociation TransitGatewayRegistrations []nmtypes.TransitGatewayRegistration }
func DescribeGlobalNetwork ¶
func DescribeGlobalNetwork(ctx context.Context, nmclient *nm.Client, network nmtypes.GlobalNetwork) (*GlobalNetwork, error)
Click to show internal directories.
Click to hide internal directories.