Documentation ¶
Index ¶
- Variables
- func ConfigInstance() interface{}
- func GetConfig(connection *plugin.Connection) netConfig
- func GetConfigDNSServerAndPort(ctx context.Context, d *plugin.QueryData) string
- func GetConfigTimeout(ctx context.Context, d *plugin.QueryData) time.Duration
- func Plugin(ctx context.Context) *plugin.Plugin
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigSchema = map[string]*schema.Attribute{ "timeout": { Type: schema.TypeInt, }, "dns_server": { Type: schema.TypeString, }, }
Functions ¶
func ConfigInstance ¶
func ConfigInstance() interface{}
func GetConfig ¶
func GetConfig(connection *plugin.Connection) netConfig
GetConfig :: retrieve and cast connection config from query data
func GetConfigTimeout ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.