package
Version:
v2.0.0-beta.4+incompat...
Opens a new window with list of versions in this module.
Published: Sep 14, 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.