Discover Packages
github.com/circonus-labs/go-trapcheck
internal
broker_list
package
Version:
v0.0.15
Opens a new window with list of versions in this module.
Published: Jan 3, 2024
License: BSD-3-Clause
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type API interface {
FetchBroker(cid apiclient.CIDType) (*apiclient.Broker, error )
FetchBrokers() (*[]apiclient.Broker, error )
SearchBrokers(searchCriteria *apiclient.SearchQueryType, filterCriteria *apiclient.SearchFilterType) (*[]apiclient.Broker, error )
}
type BrokerList interface {
RefreshBrokers() error
FetchBrokers() error
GetBrokerList() (*[]apiclient.Broker, error )
GetBroker(cid string ) (apiclient.Broker, error )
SearchBrokerList(searchTags apiclient.TagType) (*[]apiclient.Broker, error )
SetClient(API ) error
}
type Logger interface {
Printf(fmt string , v ...interface{})
Debugf(fmt string , v ...interface{})
Infof(fmt string , v ...interface{})
Warnf(fmt string , v ...interface{})
Errorf(fmt string , v ...interface{})
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.