Versions in this module Expand all Collapse all v1 v1.8.2 Nov 4, 2017 Changes in this version + type Discovery interface + Run func(ctx context.Context, ch chan<- []*config.TargetGroup) + func NewDiscovery(conf *config.OpenstackSDConfig, l log.Logger) (Discovery, error) + type HypervisorDiscovery struct + func NewHypervisorDiscovery(opts *gophercloud.AuthOptions, interval time.Duration, port int, region string, ...) *HypervisorDiscovery + func (h *HypervisorDiscovery) Run(ctx context.Context, ch chan<- []*config.TargetGroup) + type InstanceDiscovery struct + func NewInstanceDiscovery(opts *gophercloud.AuthOptions, interval time.Duration, port int, region string, ...) *InstanceDiscovery + func (i *InstanceDiscovery) Run(ctx context.Context, ch chan<- []*config.TargetGroup) + type SDMock struct + Mux *http.ServeMux + Server *httptest.Server + func NewSDMock(t *testing.T) *SDMock + func (m *SDMock) Endpoint() string + func (m *SDMock) HandleAuthSuccessfully() + func (m *SDMock) HandleFloatingIPListSuccessfully() + func (m *SDMock) HandleHypervisorListSuccessfully() + func (m *SDMock) HandleServerListSuccessfully() + func (m *SDMock) HandleVersionsSuccessfully() + func (m *SDMock) Setup() + func (m *SDMock) ShutdownServer()