44 строки
867 B
Go
44 строки
867 B
Go
package main
|
|
|
|
type AgentConfigurationData struct {
|
|
AgentSettings string
|
|
AgentCredentials AgentCredentials
|
|
AgentVersion string
|
|
AgentDownloadUrls string
|
|
}
|
|
|
|
type AgentCredentials struct {
|
|
Scheme string
|
|
Data AgentCredentialData
|
|
}
|
|
|
|
type AgentCredentialData struct {
|
|
Token string
|
|
}
|
|
|
|
type AgentRequest struct {
|
|
AgentId string
|
|
AgentPool string
|
|
AccountId string
|
|
AuthenticationToken string
|
|
FailRequestUrl string
|
|
AppendRequestMessageUrl string
|
|
IsScheduled bool
|
|
IsPublic bool
|
|
AgentConfiguration AgentConfigurationData
|
|
AgentSpec string
|
|
}
|
|
|
|
type AgentProvisionResponse struct {
|
|
Accepted bool
|
|
ResponseType string
|
|
ErrorMessage string
|
|
}
|
|
|
|
type ReleaseAgentRequest struct {
|
|
AgentId string
|
|
AccountId string
|
|
AgentPool string
|
|
AgentData string
|
|
}
|