Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { Get(url string) ([]byte, error) FetchBroker(cid api.CIDType) (*api.Broker, error) FetchBrokers() (*[]api.Broker, error) CreateCheckBundle(cfg *api.CheckBundle) (*api.CheckBundle, error) FetchCheckBundleMetrics(cid api.CIDType) (*api.CheckBundleMetrics, error) FetchCheckBundle(cid api.CIDType) (*api.CheckBundle, error) SearchCheckBundles(searchCriteria *api.SearchQueryType, filterCriteria *map[string][]string) (*[]api.CheckBundle, error) UpdateCheckBundle(cfg *api.CheckBundle) (*api.CheckBundle, error) UpdateCheckBundleMetrics(cfg *api.CheckBundleMetrics) (*api.CheckBundleMetrics, error) }
API interface abstraction of circonus api (for mocking)
type Check ¶
Check exposes the check bundle management interface
func (*Check) EnableNewMetrics ¶
EnableNewMetrics updates the check bundle enabling any new metrics
func (*Check) GetReverseConfig ¶
func (c *Check) GetReverseConfig() (*ReverseConfig, error)
GetReverseConfig returns the reverse configuration to use for the broker
func (*Check) RefreshCheckConfig ¶
RefreshCheckConfig re-loads the check bundle using the API and reconfigures reverse (if needed)
Click to show internal directories.
Click to hide internal directories.