@@ -46,20 +46,70 @@ type (
46
46
// TypeError is returned by Unmarshal when one or more fields in the YAML document cannot be properly decoded.
47
47
// Deprecated: Use go.yaml.in/yaml/v3.TypeError directly.
48
48
TypeError = gopkg_yaml.TypeError
49
-
49
+
50
50
// Node represents a YAML node in the document.
51
51
// Deprecated: Use go.yaml.in/yaml/v3.Node directly.
52
52
Node = gopkg_yaml.Node
53
-
53
+
54
54
// Kind represents the kind of a YAML node.
55
55
// Deprecated: Use go.yaml.in/yaml/v3.Kind directly.
56
56
Kind = gopkg_yaml.Kind
57
-
57
+
58
58
// Style represents the style of a YAML node.
59
59
// Deprecated: Use go.yaml.in/yaml/v3.Style directly.
60
60
Style = gopkg_yaml.Style
61
61
)
62
62
63
+ // Constants for Kind type from go.yaml.in/yaml/v3
64
+ const (
65
+ // DocumentNode represents a YAML document node.
66
+ // Deprecated: Use go.yaml.in/yaml/v3.DocumentNode directly.
67
+ DocumentNode = gopkg_yaml .DocumentNode
68
+
69
+ // SequenceNode represents a YAML sequence node.
70
+ // Deprecated: Use go.yaml.in/yaml/v3.SequenceNode directly.
71
+ SequenceNode = gopkg_yaml .SequenceNode
72
+
73
+ // MappingNode represents a YAML mapping node.
74
+ // Deprecated: Use go.yaml.in/yaml/v3.MappingNode directly.
75
+ MappingNode = gopkg_yaml .MappingNode
76
+
77
+ // ScalarNode represents a YAML scalar node.
78
+ // Deprecated: Use go.yaml.in/yaml/v3.ScalarNode directly.
79
+ ScalarNode = gopkg_yaml .ScalarNode
80
+
81
+ // AliasNode represents a YAML alias node.
82
+ // Deprecated: Use go.yaml.in/yaml/v3.AliasNode directly.
83
+ AliasNode = gopkg_yaml .AliasNode
84
+ )
85
+
86
+ // Constants for Style type from go.yaml.in/yaml/v3
87
+ const (
88
+ // TaggedStyle represents a tagged YAML style.
89
+ // Deprecated: Use go.yaml.in/yaml/v3.TaggedStyle directly.
90
+ TaggedStyle = gopkg_yaml .TaggedStyle
91
+
92
+ // DoubleQuotedStyle represents a double-quoted YAML style.
93
+ // Deprecated: Use go.yaml.in/yaml/v3.DoubleQuotedStyle directly.
94
+ DoubleQuotedStyle = gopkg_yaml .DoubleQuotedStyle
95
+
96
+ // SingleQuotedStyle represents a single-quoted YAML style.
97
+ // Deprecated: Use go.yaml.in/yaml/v3.SingleQuotedStyle directly.
98
+ SingleQuotedStyle = gopkg_yaml .SingleQuotedStyle
99
+
100
+ // LiteralStyle represents a literal YAML style.
101
+ // Deprecated: Use go.yaml.in/yaml/v3.LiteralStyle directly.
102
+ LiteralStyle = gopkg_yaml .LiteralStyle
103
+
104
+ // FoldedStyle represents a folded YAML style.
105
+ // Deprecated: Use go.yaml.in/yaml/v3.FoldedStyle directly.
106
+ FoldedStyle = gopkg_yaml .FoldedStyle
107
+
108
+ // FlowStyle represents a flow YAML style.
109
+ // Deprecated: Use go.yaml.in/yaml/v3.FlowStyle directly.
110
+ FlowStyle = gopkg_yaml .FlowStyle
111
+ )
112
+
63
113
// Function aliases for public functions from go.yaml.in/yaml/v3
64
114
var (
65
115
// Unmarshal decodes the first document found within the in byte slice and assigns decoded values into the out value.
0 commit comments