Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FirewallsDeleteCall ¶
type FirewallsDeleteCall interface { // Do executes the deletion call. Do(opts ...googleapi.CallOption) (*compute.Operation, error) // Context sets the context for the deletion call. Context(context.Context) FirewallsDeleteCall }
FirewallsDeleteCall is a delete call to the firewalls service.
type FirewallsListCall ¶
type FirewallsListCall interface { // Pages runs the given function on the paginated result of listing the firewalls. Pages(context.Context, func(*compute.FirewallList) error) error }
FirewallsListCall is a list call to the firewalls service.
type FirewallsService ¶
type FirewallsService interface { // List initiates a FirewallsListCall. List(projectID string) FirewallsListCall // Delete initiates a FirewallsDeleteCall. Delete(projectID, firewall string) FirewallsDeleteCall }
FirewallsService is the interface for the GCP firewalls service.
type Interface ¶
type Interface interface { // Firewalls retrieves the GCP firewalls service. Firewalls() FirewallsService // Routes retrieves the GCP routes service. Routes() RoutesService }
Interface is the interface for the GCP client.
type RoutesDeleteCall ¶
type RoutesDeleteCall interface { // Do executes the deletion call. Do(opts ...googleapi.CallOption) (*compute.Operation, error) // Context sets the context for the deletion call. Context(context.Context) RoutesDeleteCall }
RoutesDeleteCall is a delete call to the routes service.
type RoutesListCall ¶
type RoutesListCall interface { // Pages runs the given function on the paginated result of listing the routes. Pages(context.Context, func(*compute.RouteList) error) error }
RoutesListCall is a list call to the routes service.
type RoutesService ¶
type RoutesService interface { // List initiates a RoutesListCall. List(projectID string) RoutesListCall // Delete initiates a RoutesDeleteCall. Delete(projectID, route string) RoutesDeleteCall }
RoutesService is the interface for the GCP routes service.
Click to show internal directories.
Click to hide internal directories.