Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/kubernetes_apis/builtin/meta@v1/structs.ts>FieldsV1

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Latest
type alias FieldsV1
import { type FieldsV1 } from "https://deno.land/x/kubernetes_apis@v0.5.2/builtin/meta@v1/structs.ts";

FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.

Each key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:', where is the name of a field in a struct, or key in a map 'v:', where is the exact json formatted value of a list item 'i:', where is position of a item in a list 'k:', where is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.

The exact format is defined in sigs.k8s.io/structured-merge-diff

definition: c.JSONValue