package
Version:
v2.0.0-alpha.2+incompa...
Opens a new window with list of versions in this module.
Published: May 24, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Discovery struct {
}
Discovery periodically performs Triton-SD requests. It implements
the TargetProvider interface.
New returns a new Discovery which periodically refreshes its targets.
Run implements the TargetProvider interface.
type DiscoveryResponse struct {
Containers []struct {
ServerUUID string `json:"server_uuid"`
VMAlias string `json:"vm_alias"`
VMBrand string `json:"vm_brand"`
VMImageUUID string `json:"vm_image_uuid"`
VMUUID string `json:"vm_uuid"`
} `json:"containers"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.