fleet/server/fleet/translator.go
Tomas Touceda 5fb5995b83
Remove unneeded interfaces (#1779)
* Remove unneeded interfaces

* Remove unused code
2021-08-24 18:49:56 -03:00

18 lines
416 B
Go

package fleet
const (
TranslatorTypeUserEmail = "user"
TranslatorTypeLabel = "label"
TranslatorTypeTeam = "team"
TranslatorTypeHost = "host"
)
type TranslatePayload struct {
Type string `json:"type"`
Payload StringIdentifierToIDPayload `json:"payload"`
}
type StringIdentifierToIDPayload struct {
Identifier string `json:"identifier"`
ID uint `json:"id"`
}