Documentation ¶
Index ¶
- func CallAPI(method, url, postData string, headers map[string]string) (*http.Response, error)
- func GetConfig(apiConfig agent.APIConfig) (agent.Config, error)
- func Log(apiConfig agent.APIConfig, logEntry agent.TaskLogEntry) error
- func SayHello(apiConfig agent.APIConfig, agentStartTime time.Time) error
- type Hello
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallAPI ¶
CallAPI creates a http.Request object, attaches headers to it and makes the requested api call.
func GetConfig ¶
func GetConfig(apiConfig agent.APIConfig) (agent.Config, error)
GetConfig fetches config from admin api
Types ¶
Click to show internal directories.
Click to hide internal directories.