Documentation ¶
Index ¶
- func IdFilePath(root string) string
- func LoadHostId(root string) (string, error)
- func Prepare(conf *config.Config) (*mackerel.API, *mackerel.Host, error)
- func Run(conf *config.Config, api *mackerel.API, host *mackerel.Host)
- func SaveHostId(root string, id string) error
- func UpdateHostSpecs(conf *config.Config, api *mackerel.API, host *mackerel.Host)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IdFilePath ¶ added in v0.6.1
func LoadHostId ¶ added in v0.6.1
func Prepare ¶ added in v0.8.0
Prepare sets up API and registers the host data to the Mackerel server. Use returned values to call Run().
func SaveHostId ¶ added in v0.6.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.