bouncer/internal/command/api/inbound/util.go

18 lines
468 B
Go
Raw Normal View History

2023-04-24 20:52:12 +02:00
package inbound
import "forge.cadoles.com/cadoles/bouncer/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"),
},
}
}