Skip to content

Commit

Permalink
Add fields to Agent Status showing newest available agent versions
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinlawnik committed Feb 6, 2024
1 parent 14f49dd commit 9fd85f9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions manifest/v1alpha/agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,11 @@ type Spec struct {

// Status holds dynamic content which is not part of the static Agent definition.
type Status struct {
AgentType string `json:"agentType"`
AgentVersion string `json:"agentVersion,omitempty"`
LastConnection string `json:"lastConnection,omitempty"`
AgentType string `json:"agentType"`
AgentVersion string `json:"agentVersion,omitempty"`
LastConnection string `json:"lastConnection,omitempty"`
NewestStableAgentVersion string `json:"newestStableAgentVersion,omitempty"`
NewestBetaAgentVersion string `json:"newestBetaAgentVersion,omitempty"`
}

func (spec Spec) GetType() (v1alpha.DataSourceType, error) {
Expand Down

0 comments on commit 9fd85f9

Please sign in to comment.