Documentation ¶
Overview ¶
Package decoder provides a YAML decoder for machine configuration documents.
Index ¶
Constants ¶
View Source
const ( // ManifestAPIVersionKey is the string indicating a manifest's version. ManifestAPIVersionKey = "apiVersion" // ManifestKindKey is the string indicating a manifest's kind. ManifestKindKey = "kind" // ManifestDeprecatedKeyMachine represents the deprecated v1alpha1 manifest. ManifestDeprecatedKeyMachine = "machine" // ManifestDeprecatedKeyCluster represents the deprecated v1alpha1 manifest. ManifestDeprecatedKeyCluster = "cluster" // ManifestDeprecatedKeyDebug represents the deprecated v1alpha1 manifest. ManifestDeprecatedKeyDebug = "debug" // ManifestDeprecatedKeyPersist represents the deprecated v1alpha1 manifest. ManifestDeprecatedKeyPersist = "persist" )
Variables ¶
View Source
var ErrLookupFailed = errors.New("lookup failed")
ErrLookupFailed is returned when the lookup failed.
View Source
var ErrMissingKind = errors.New("missing kind")
ErrMissingKind indicates that the manifest is missing a kind.
View Source
var ErrZeroedDocument = errors.New("document is empty now")
ErrZeroedDocument is returned when the document is empty after applying the delete selector.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.