Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAgentVersionAndPlatform ¶
func GetAgentVersionAndPlatform(endpointUrl string, tlsConfig *tls.Config) (portainer.AgentPlatform, string, error)
GetAgentVersionAndPlatform returns the agent version and platform
it sends a ping to the agent and parses the version and platform from the headers
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.