Documentation ¶
Index ¶
Constants ¶
View Source
const ( // GetNmAgentSupportedApiURLFmt Api endpoint to get supported Apis of NMAgent GetNmAgentSupportedApiURLFmt = "http://%s/machine/plugins/?comp=nmagent&type=GetSupportedApis" GetNetworkContainerVersionURLFmt = "" /* 142-byte string literal not displayed */ GetNcVersionListWithOutTokenURLFmt = "http://%s/machine/plugins/?comp=nmagent&type=NetworkManagement/interfaces/api-version/%s" JoinNetworkURLFmt = "NetworkManagement/joinedVirtualNetworks/%s/api-version/1" PutNetworkValueFmt = "NetworkManagement/interfaces/%s/networkContainers/%s/authenticationToken/%s/api-version/1" DeleteNetworkContainerURLFmt = "NetworkManagement/interfaces/%s/networkContainers/%s/authenticationToken/%s/api-version/1/method/DELETE" )
Variables ¶
View Source
var ( WireserverIP = "168.63.129.16" WireServerPath = "machine/plugins" WireServerScheme = "http" )
WireServerIP - wire server ip
Functions ¶
This section is empty.
Types ¶
type ContainerInfo ¶
type NetworkContainerListResponse ¶
type NetworkContainerListResponse struct { ResponseCode string `json:"httpStatusCode"` Containers []ContainerInfo `json:"networkContainers"` }
type NetworkContainerResponse ¶
type NetworkContainerResponse struct { ResponseCode string `json:"httpStatusCode"` NetworkContainerID string `json:"networkContainerId"` Version string `json:"version"` }
NetworkContainerResponse - NMAgent response.
Click to show internal directories.
Click to hide internal directories.