-
Notifications
You must be signed in to change notification settings - Fork 13
/
model_discovery_agent_status.go
34 lines (31 loc) · 1.34 KB
/
model_discovery_agent_status.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
* API Server specification.
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* API version: SNAPSHOT
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package management
import (
// GENERATE: The following code has been modified after code generation
//
// "time"
time "github.com/Axway/agent-sdk/pkg/apic/apiserver/models/api/v1"
)
// DiscoveryAgentStatus (management.v1alpha1.DiscoveryAgent)
type DiscoveryAgentStatus struct {
// Version name for the agent revision.
Version string `json:"version,omitempty"`
// Latest available version for the agent revision.
LatestAvailableVersion string `json:"latestAvailableVersion,omitempty"`
// 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
State string `json:"state,omitempty"`
PreviousState string `json:"previousState,omitempty"`
// A way to communicate details about the current status by the agent
Message string `json:"message,omitempty"`
// The last updated event timestamp provided by the agent
LastActivityTime time.Time `json:"lastActivityTime,omitempty"`
// Version name for the SDK revision.
SdkVersion string `json:"sdkVersion,omitempty"`
}