mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
e8381db778
* Update Kubernetes to v1.21.0 * Update to golang v1.16.2 * Update dependent modules to track with upstream * Switch to upstream flannel * Track changes to upstream cloud-controller-manager and FeatureGates Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
31 lines
724 B
Go
31 lines
724 B
Go
// Copyright 2019 The Kubernetes Authors.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package yaml
|
|
|
|
const (
|
|
// NodeTagNull is the tag set for a yaml.Document that contains no data;
|
|
// e.g. it isn't a Map, Slice, Document, etc
|
|
NodeTagNull = "!!null"
|
|
NodeTagFloat = "!!float"
|
|
NodeTagString = "!!str"
|
|
NodeTagBool = "!!bool"
|
|
NodeTagInt = "!!int"
|
|
NodeTagMap = "!!map"
|
|
NodeTagSeq = "!!seq"
|
|
NodeTagEmpty = ""
|
|
)
|
|
|
|
// Field names
|
|
const (
|
|
AnnotationsField = "annotations"
|
|
APIVersionField = "apiVersion"
|
|
KindField = "kind"
|
|
MetadataField = "metadata"
|
|
DataField = "data"
|
|
BinaryDataField = "binaryData"
|
|
NameField = "name"
|
|
NamespaceField = "namespace"
|
|
LabelsField = "labels"
|
|
)
|