go generate
This commit is contained in:
parent
094b837ed2
commit
834f44190f
|
@ -92,7 +92,9 @@ type FlatNIC struct {
|
||||||
// FlatMapstructure returns a new FlatNIC.
|
// FlatMapstructure returns a new FlatNIC.
|
||||||
// FlatNIC is an auto-generated flat version of NIC.
|
// FlatNIC is an auto-generated flat version of NIC.
|
||||||
// Where the contents a fields with a `mapstructure:,squash` tag are bubbled up.
|
// Where the contents a fields with a `mapstructure:,squash` tag are bubbled up.
|
||||||
func (*NIC) FlatMapstructure() interface{ HCL2Spec() map[string]hcldec.Spec } { return new(FlatNIC) }
|
func (*NIC) FlatMapstructure() interface{ HCL2Spec() map[string]hcldec.Spec } {
|
||||||
|
return new(FlatNIC)
|
||||||
|
}
|
||||||
|
|
||||||
// HCL2Spec returns the hcl spec of a NIC.
|
// HCL2Spec returns the hcl spec of a NIC.
|
||||||
// This spec is used by HCL to read the fields of NIC.
|
// This spec is used by HCL to read the fields of NIC.
|
||||||
|
|
|
@ -145,7 +145,9 @@ type FlatSSH struct {
|
||||||
// FlatMapstructure returns a new FlatSSH.
|
// FlatMapstructure returns a new FlatSSH.
|
||||||
// FlatSSH is an auto-generated flat version of SSH.
|
// FlatSSH is an auto-generated flat version of SSH.
|
||||||
// Where the contents a fields with a `mapstructure:,squash` tag are bubbled up.
|
// Where the contents a fields with a `mapstructure:,squash` tag are bubbled up.
|
||||||
func (*SSH) FlatMapstructure() interface{ HCL2Spec() map[string]hcldec.Spec } { return new(FlatSSH) }
|
func (*SSH) FlatMapstructure() interface{ HCL2Spec() map[string]hcldec.Spec } {
|
||||||
|
return new(FlatSSH)
|
||||||
|
}
|
||||||
|
|
||||||
// HCL2Spec returns the hcl spec of a SSH.
|
// HCL2Spec returns the hcl spec of a SSH.
|
||||||
// This spec is used by HCL to read the fields of SSH.
|
// This spec is used by HCL to read the fields of SSH.
|
||||||
|
|
Loading…
Reference in New Issue