Documentation
¶
Overview ¶
Package host parses v1 and v2 hostnames into their constituent parts. It is intended to help in the transition from v1 to v2 names on the platform. M-Lab go programs that need to parse hostnames should use this package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Name ¶
type Name struct {
Machine string
Site string
Project string
Domain string
Suffix string
Version string
}
Name represents an M-Lab hostname and all of its constituent parts.
Click to show internal directories.
Click to hide internal directories.