github.com/Axway/agent-sdk@v1.1.101/pkg/apic/apiserver/models/management/v1alpha1/model_discovery_agent_status.go (about) 1 /* 2 * API Server specification. 3 * 4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 5 * 6 * API version: SNAPSHOT 7 * Generated by: OpenAPI Generator (https://openapi-generator.tech) 8 */ 9 10 package management 11 12 import ( 13 // GENERATE: The following code has been modified after code generation 14 // 15 // "time" 16 time "github.com/Axway/agent-sdk/pkg/apic/apiserver/models/api/v1" 17 ) 18 19 // DiscoveryAgentStatus (management.v1alpha1.DiscoveryAgent) 20 type DiscoveryAgentStatus struct { 21 // Version name for the agent revision. 22 Version string `json:"version,omitempty"` 23 // Latest available version for the agent revision. 24 LatestAvailableVersion string `json:"latestAvailableVersion,omitempty"` 25 // Agent status: * running - Passed all health checks. Up and running * stopped - Agent is not running * failed - Failed health checks * unhealthy - Agent is running with health check failure 26 State string `json:"state,omitempty"` 27 PreviousState string `json:"previousState,omitempty"` 28 // A way to communicate details about the current status by the agent 29 Message string `json:"message,omitempty"` 30 // The last updated event timestamp provided by the agent 31 LastActivityTime time.Time `json:"lastActivityTime,omitempty"` 32 // Version name for the SDK revision. 33 SdkVersion string `json:"sdkVersion,omitempty"` 34 }