You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kubernetes uses the RawExtension type to represent arbitrary JSON components. Right now in the proto-world, I'm using Struct and in the Go IDL version (soon to come) I'll probably use map[string]interface{} for compatibility. But this is non-standard and the standard type for this purpose is RawExtension.
typeRawExtensionstruct {
// Raw is the underlying serialization of this object.//// TODO: Determine how to detect ContentType and ContentEncoding of 'Raw' data.Raw []byte`protobuf:"bytes,1,opt,name=raw"`// Object can hold a representation of this extension - useful for working with versioned// structs.ObjectObject`json:"-"`
}
The text was updated successfully, but these errors were encountered:
Kubernetes uses the RawExtension type to represent arbitrary JSON components. Right now in the proto-world, I'm using
Struct
and in the Go IDL version (soon to come) I'll probably usemap[string]interface{}
for compatibility. But this is non-standard and the standard type for this purpose is RawExtension.https://github.com/kubernetes/apimachinery/blob/ed135c5b96450fd24e5e981c708114fbbd950697/pkg/runtime/types.go
The text was updated successfully, but these errors were encountered: