Kazan v0.11.0 Kazan.Models View Source
Contains structs for all k8s models that don’t belong to a specific API group.
Each module underneath Kazan.Models represents a single struct as used by the Kubernetes API.
Also contains functions for serializing & deserializing these generated structs, though users should usually not need to interact with them.
Link to this section Summary
Functions
Decodes data from a Map into a Model struct
Encodes data from a Kazan model to plain Maps suitable for JSON encoding
Takes the name of a model in the OpenAPI spec, and returns the module that implements that model
Link to this section Functions
Decodes data from a Map into a Model struct.
Encodes data from a Kazan model to plain Maps suitable for JSON encoding.
Takes the name of a model in the OpenAPI spec, and returns the module that implements that model.