© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
P. MartinKubernetes Programming with Gohttps://doi.org/10.1007/978-1-4842-9026-2_3

3. Working with API Resources in Go

Philippe Martin1  
(1)
Blanquefort, France
 

The first two chapters of this book have described how the Kubernetes API is designed, and how to access it using HTTP requests. Specifically, you have seen that resources managed by the API are organized into Group-Version-Resources, and that objects exchanged between the client and the API Server are defined as Kinds by the Kubernetes API. The chapter also shows that this data can be encoded in JSON, YAML, or Protobuf during the exchange, depending on the HTTP headers the client has set.

In the next ...

Get Kubernetes Programming with Go: Programming Kubernetes Clients and Operators Using Go and the Kubernetes API now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.