Documentation ¶
Index ¶
- Constants
- func GetMaxBranchENIs(instanceType string) (int, error)
- func GetMaxIPAddresses(instanceType string) (int, error)
- func GetMaxInterfaces(instanceType string) (int, error)
- func GetMaxNetworkMbps(instanceType string) (int, error)
- func GetMaxNetworkbps(instanceType string) (uint64, error)
- func MustGetMaxBranchENIs(instanceType string) int
- func MustGetMaxIPAddresses(instanceType string) int
- func MustGetMaxInterfaces(instanceType string) int
- func MustGetMaxNetworkMbps(instanceType string) int
- func MustGetMaxNetworkbps(instanceType string) uint64
Constants ¶
const ( // RefreshInterval indicates how often an IP holder indicates that it holds it. RefreshInterval = 30 * time.Second // DefaultMinIdlePeriod is the minimum amount of time an IP must be idle before we consider it for GC DefaultMinIdlePeriod = 90 * time.Second // IngressIFB is the intermediate functional block device used to do ingress processing IngressIFB = "ifb-ingress" // EgressIFB is the intermediate functional block device used to do egress processing EgressIFB = "ifb-egress" // NetworkInterfaceDescription is what interfaces are named NetworkInterfaceDescription = "titus-managed" DefaultTrunkNetworkInterfaceDescription = "titus-managed-trunk" DefaultBranchNetworkInterfaceDescription = "titus-managed-branch" DefaultSubnetCIDRReservationDescription = "titus-reserved" )
Variables ¶
This section is empty.
Functions ¶
func GetMaxBranchENIs ¶
func GetMaxIPAddresses ¶
GetMaxIPAddresses returns the maximum number of IPv4 addresses that this instance type can handle
func GetMaxInterfaces ¶
GetMaxInterfaces returns the maximum number of interfaces that this instance type can handle includes the primary ENI
func GetMaxNetworkMbps ¶
GetMaxNetworkMbps returns the maximum network throughput in Megabits per second that this instance type can handle
func GetMaxNetworkbps ¶
GetMaxNetworkbps returns the maximum network throughput in bits per second that this instance type can handle
func MustGetMaxBranchENIs ¶
func MustGetMaxIPAddresses ¶
MustGetMaxIPAddresses returns the maximum number of IPv4 addresses that this instance type can handle
func MustGetMaxInterfaces ¶
MustGetMaxInterfaces returns the maximum number of interfaces that this instance type can handle includes the primary ENI
func MustGetMaxNetworkMbps ¶
GetMaxNetworkMbps returns the maximum network throughput in Megabits per second that this instance type can handle
func MustGetMaxNetworkbps ¶
GetMaxNetworkbps returns the maximum network throughput in bits per second that this instance type can handle
Types ¶
This section is empty.