type MetaFactory … var DefaultMetaFactory … type SimpleMetaFactory … // Interpret will return the APIVersion and Kind of the JSON wire-format // encoding of an object, or an error. func (SimpleMetaFactory) Interpret(data []byte) (*schema.GroupVersionKind, error) { … }