mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 09:18:59 +00:00
d6b4de3874
After discussion with @groob and @marpaia, we have decided that the service methods should not be aware of any YAML/JSON definitions, and should work directly with objects. The new pattern we will use will involve converting YAML to JSON at the client, and then sending the JSON which will be decoded using the familiar go-kit mechanisms before being passed to the service methods.
7 lines
119 B
Go
7 lines
119 B
Go
package kolide
|
|
|
|
type ObjectMetadata struct {
|
|
ApiVersion string `json:"apiVersion"`
|
|
Kind string `json:"kind"`
|
|
}
|