Rename RawJSON to Raw in runtime.RawExtension and add ContentType & ContentEncoding.

This commit is contained in:
Wojciech Tyczynski
2016-03-17 11:32:14 +01:00
parent 6bd5ecc192
commit 89585237cd
16 changed files with 65 additions and 52 deletions

View File

@@ -57,7 +57,7 @@ type Storage interface {
// KindProvider specifies a different kind for its API than for its internal storage. This is necessary for external
// objects that are not compiled into the api server. For such objects, there is no in-memory representation for
// the object, so they must be represented as generic objects (e.g. RawJSON), but when we present the object as part of
// the object, so they must be represented as generic objects (e.g. runtime.Unknown), but when we present the object as part of
// API discovery we want to present the specific kind, not the generic internal representation.
type KindProvider interface {
Kind() string