x
kind test
metadata
name cluster
nullfield
nestedstruct
nested
underscore_field value
field1
44.5
43.6
field2
true
false
nested2
nested3
field1
44
43
fieldt
true
false
field3 value
abc
def
black
white
array1
"string1"
"string2"
array2
2
6
array3
3.14
5.12
is_underscoretrue
xxxxxxxxxx
43
type AutoGenerated struct {
Array1 []string `yaml:"array1"`
Array2 []int `yaml:"array2"`
Array3 []float64 `yaml:"array3"`
IsUnderscore bool `yaml:"is_underscore"`
Kind string `yaml:"kind"`
Metadata Metadata `yaml:"metadata"`
Abc []Abc `yaml:"abc"`
}
type Metadata struct {
Name string `yaml:"name"`
Nullfield interface{} `yaml:"nullfield"`
Nestedstruct []Nestedstruct `yaml:"nestedstruct"`
Nested2 []Nested2 `yaml:"nested2"`
}
type Nestedstruct struct {
Nested Nested `yaml:"nested"`
}
type Nested struct {
UnderscoreField string `yaml:"underscore_field"`
Field1 []float64 `yaml:"field1"`
Field2 []bool `yaml:"field2"`
}
type Nested2 struct {
Nested3 Nested3 `yaml:"nested3"`
}
type Nested3 struct {
Field1 []int `yaml:"field1"`
Fieldt []bool `yaml:"fieldt"`
Field3 string `yaml:"field3"`
}
type Abc struct {
Def interface{} `yaml:"def"`
Abc string `yaml:"Abc"`
}