countries

package
v1.72.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Countries

type Countries []*Country

func (Countries) MarshalHCL

func (me Countries) MarshalHCL(properties hcl.Properties) error

func (*Countries) Schema

func (me *Countries) Schema() map[string]*schema.Schema

func (*Countries) UnmarshalHCL

func (me *Countries) UnmarshalHCL(decoder hcl.Decoder) error

type Country

type Country struct {
	Name string `json:"name"`
	Code string `json:"code"`
}

func (*Country) MarshalHCL

func (me *Country) MarshalHCL(properties hcl.Properties) error

func (*Country) Schema

func (me *Country) Schema() map[string]*schema.Schema

func (*Country) UnmarshalHCL

func (me *Country) UnmarshalHCL(decoder hcl.Decoder) error

type Settings

type Settings struct {
	Countries Countries `json:"countries"`
}

func (*Settings) MarshalHCL

func (me *Settings) MarshalHCL(properties hcl.Properties) error

func (*Settings) Schema

func (me *Settings) Schema() map[string]*schema.Schema

func (*Settings) UnmarshalHCL

func (me *Settings) UnmarshalHCL(decoder hcl.Decoder) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL