Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Config // contains filtered or unexported fields }
Client is an azure peering client
func (*Client) CreatePeering ¶
func (c *Client) CreatePeering(ctx context.Context, req CreatePeeringRequest) error
CreatePeering will create a google peering between 2 project's networks
func (*Client) ListPeerings ¶
func (c *Client) ListPeerings(ctx context.Context, req ListPeeringRequest) error
ListPeerings will list a google project's network peering
type Config ¶
type Config struct { google_auth.AuthConfig Logger *logrus.Entry }
Config is an google peering config
type CreatePeeringRequest ¶
type CreatePeeringRequest struct { PeeringCommon RemoteNetworkName string RemoteProjectName string ExportCustomRoutes bool ExportSubnetRoutesWithPublicIP bool ImportCustomRoutes bool ImportSubnetRoutesWithPublicIP bool }
CreatePeeringRequest is a request to create a peering between 2 google project's networks
type ListPeeringRequest ¶
type ListPeeringRequest struct { PeeringCommon Region string }
ListPeeringRequest is a request to list peerings for a specified project/network/peering name
type PeeringCommon ¶
PeeringCommon are the common fields between create/list peering requests
Click to show internal directories.
Click to hide internal directories.