Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasDNSMapping ¶
func HasDNSMapping(col []*DNSMapping, item *DNSMapping) bool
HasDNSMapping checks if a slice of DNSMapping pointers contains a particular mapping by value
Types ¶
type DNSContainerList ¶
DNSContainerList is a type that keeps track of which containerIDs are associated with a (hostname, IP) pair
type DNSMapping ¶
DNSMapping is a type that represents a Container and its associated (hostname, IP) pair
func (*DNSMapping) GetKey ¶
func (mapping *DNSMapping) GetKey() []byte
GetKey produces a byte array that can be used as a unique key for this record for us in eg Boltdb
Click to show internal directories.
Click to hide internal directories.