network

package
v0.0.0-...-e7c744b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Network

type Network interface {
	CIDRs() []string
	ID() string
	Name() string
}

Network is an interface that cloud specific VPC network implementations must implement

type RouteTable

type RouteTable interface {
	ID() string
	Name() string
}

RouteTable is an interface that cloud specific VPC route table implementations must implement

type Service

type Service interface {
	ListNetworks() ([]Network, error)
	ListRouteTables(networkID string) ([]RouteTable, error)
	ListSubnets(networkID string) ([]Subnet, error)
}

Service defines the interface of provider specific network service implementations

type Subnet

type Subnet interface {
	CIDRs() []string
	ID() string
	Location() string
	Name() string
}

Subnet is an interface that cloud specific VPC subnetwork implementations must implement

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL