[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Fwd: CLIENT IMPACTING CHANGES: Refactor of internal API objects



FYI for people using Kube APIs.  These changes will be applied to OS3 soon.

----- Forwarded Message -----
> Pull requests https://github.com/GoogleCloudPlatform/kubernetes/issues/1961
> and https://github.com/GoogleCloudPlatform/kubernetes/issues/1975 dropped
> recently as part of the upcoming v1beta3 api changes.  Clients and end users
> may be affected if you are using the internal version of our API objects
> (kubernetes/pkg/api/types.go):
> 
> Client impacting clients:
> -------------------------
> 
> * If you are using the internal types, you must update "ID" to "Name" in your
> usage
> * If you have created types based on the Kubernetes API schema, you should
> update to use both api.TypeMeta and api.ObjectMeta appropriately
> * If you are using kubectl/kubecfg and the --template option (to generate
> results using Go templates) you're using the internal types (a bug has been
> filed to use the external type)
> 
> Description
> -----------
> 
> * The previous "TypeMeta" grab bag of metadata about resources has been split
> into "TypeMeta" (for just information about the schema of the object) and
> "ObjectMeta" and "ListMeta" (for the real metadata)
> * "ID" has been properly updated everywhere internally to be "Name"
> 
> For more info about the new metadata (that will soon be exposed as part of
> v1beta3) please see the following resources:
> 
> * Description of what Name and UID are meant for:
> https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/identifiers.md
> * How the metadata on REST resources is intended to be used:
> https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md
> 
> 
> Sorry for this coming *after* I broke things. :)
> 
> --
> You received this message because you are subscribed to the Google Groups
> "kubernetes-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to kubernetes-dev+unsubscribe googlegroups com 
> To post to this group, send email to kubernetes-dev googlegroups com 
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/kubernetes-dev/1456838090.11057571.1414173743870.JavaMail.zimbra%40redhat.com.
> For more options, visit https://groups.google.com/d/optout.
> 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]