Documentation ¶
Overview ¶
Package schema provides types used to define the plugin.ConnectionConfigSchema
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SchemaToObjectSpec ¶
func SchemaToObjectSpec(schema map[string]*Attribute) hcldec.ObjectSpec
Types ¶
type Attribute ¶
type Attribute struct { // Type is the type of the value and must be one of the ValueType values. // TypeBool - bool // TypeInt - int // TypeFloat - float64 // TypeString - string // TypeList - []interface{} Type ValueType // Elem represents the element type. THis may only be set for only set for TypeList. Elem *Attribute // is this atribute required Required bool }
Click to show internal directories.
Click to hide internal directories.