emissary/internal/command/api/agent/util.go
William Petit d02eb91b11
Some checks reported errors
arcad/emissary/pipeline/head Something is wrong with the build of this commit
feat(agent): add contactedAt attribute to agent
2023-04-01 14:33:19 +02:00

18 lines
467 B
Go

package agent
import "forge.cadoles.com/Cadoles/emissary/internal/format"
func agentHints(outputMode format.OutputMode) format.Hints {
return format.Hints{
OutputMode: outputMode,
Props: []format.Prop{
format.NewProp("ID", "ID"),
format.NewProp("Label", "Label"),
format.NewProp("Thumbprint", "Thumbprint"),
format.NewProp("Status", "Status"),
format.NewProp("ContactedAt", "ContactedAt"),
format.NewProp("UpdatedAt", "UpdatedAt"),
},
}
}