Documentation
¶
Overview ¶
Package networks implements the GCP Compute Engine networking REST API (networks, subnetworks, firewalls) against a CloudEmu networking driver. Real cloud.google.com/go/compute clients hit this handler the same way they hit compute.googleapis.com.
Supported operations (parity with AWS EC2 VPC):
POST /compute/v1/projects/{p}/global/networks — insert network
GET /compute/v1/projects/{p}/global/networks/{name} — get
GET /compute/v1/projects/{p}/global/networks — list
DELETE /compute/v1/projects/{p}/global/networks/{name} — delete
POST /compute/v1/projects/{p}/regions/{r}/subnetworks — insert subnet
GET /compute/v1/projects/{p}/regions/{r}/subnetworks/{name} — get
GET /compute/v1/projects/{p}/regions/{r}/subnetworks — list
DELETE /compute/v1/projects/{p}/regions/{r}/subnetworks/{name} — delete
POST /compute/v1/projects/{p}/global/firewalls — insert firewall
GET /compute/v1/projects/{p}/global/firewalls/{name} — get
GET /compute/v1/projects/{p}/global/firewalls — list
DELETE /compute/v1/projects/{p}/global/firewalls/{name} — delete
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.