data

package
v0.0.0-...-c3677c5 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Assignment

type Assignment struct {
	// Row ID of the assignment in the DB table
	ID int
	// For a normal assignment, this will be the task ID.
	// For a transition assignment, this will be the UUID.
	AssignmentID string

	// Branch ENI used in this assignment
	BranchENI string
	// Trunk ENI that the branch ENI is attached to
	TrunkENI string
	// ID of the branch ENI and trunk ENI association
	AssociationID string

	// VLAN ID of the branch ENI
	VlanID int

	// IPv4 address assigned to the task
	IPv4Addr sql.NullString
	// IPv6 address assigned to the task
	IPv6Addr sql.NullString
	// Subnet ID that the branch ENI belongs to
	SubnetID sql.NullString

	// CIDR of the subnet
	CIDR string

	Jumbo     bool
	Bandwidth uint64
	Ceil      uint64
}

type BranchENI

type BranchENI struct {
	ID            int64
	BranchENI     string
	AZ            string
	AssociationID string
	AccountID     string
	Idx           int
}

type ElasticIPAttachment

type ElasticIPAttachment struct {
	// Primilary key in elastic_ip_attachments table
	ID            int
	AccountID     string
	Region        string
	AssociationID string
}

type KeyedItem

type KeyedItem interface {
	Key() string
	String() string
}

type NilItem

type NilItem struct {
}

func (*NilItem) Key

func (n *NilItem) Key() string

func (*NilItem) String

func (n *NilItem) String() string

type StaticAllocation

type StaticAllocation struct {
	Az       string
	Region   string
	SubnetID string
	IP       string
}

type StaticIPAddress

type StaticIPAddress struct {
	BranchENI string
	AZ        string
	AccountID string
	IP        string
	HomeENI   string
}

type Subnet

type Subnet struct {
	ID        int
	Az        string
	VpcID     string
	AccountID string
	SubnetID  string
	Cidr      string
	Region    string
}

func (*Subnet) Key

func (s *Subnet) Key() string

func (*Subnet) String

func (s *Subnet) String() string

Jump to

Keyboard shortcuts

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