fleet/server/kolide/meta.go
Zachary Wasserman d6b4de3874
Refactor osquery options interface (#1674)
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.
2018-01-02 16:22:45 -08:00

7 lines
119 B
Go

package kolide
type ObjectMetadata struct {
ApiVersion string `json:"apiVersion"`
Kind string `json:"kind"`
}