© 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_5

5. The API Machinery

Philippe Martin1  
(1)
Blanquefort, France
 

The previous chapters explored how the Kubernetes API works at the HTTP level. They also explored the Kubernetes API Library, which defines the resources served by the Kubenretes API in Go.

This chapter explores the Kubernetes API Machinery Library, which provides utilities for working with API objects that follow the Kubernetes API object conventions. These conventions include:
  • The API objects embed a common metadata structure, TypeMeta, containing two fields: APIVersion and Kind.

  • The API objects are provided in a ...

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.