Documentation
¶
Overview ¶
Package dc provides structs and functions pertaining to datacenter resources.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAddressEmpty = errors.New("address is empty")
View Source
var ErrRowEmpty = errors.New("row is empty")
Functions ¶
This section is empty.
Types ¶
type Datacenter ¶
type Datacenter struct { zebra.NamedResource Address string `json:"address"` }
A Datacenter represents the physical building. It is a named resource also with a building address.
type Lab ¶
type Lab struct {
zebra.NamedResource
}
A Lab represents the lab consisting of a name and an ID.
type Rack ¶
type Rack struct { zebra.NamedResource Row string `json:"row"` }
A Rack represents a datacenter rack. It consists of a name, ID, and associated row.
Click to show internal directories.
Click to hide internal directories.