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
- type Cert
- type OCSP
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 ¶
type Cert ¶ added in v0.4.0
type Cert struct { IssuerCaID int `json:"issuer_ca_id"` IssuerName string `json:"issuer_name"` NameValue string `json:"name_value"` ID int64 `json:"id"` EntryTimestamp string `json:"entry_timestamp"` NotBefore string `json:"not_before"` NotAfter string `json:"not_after"` SerialNumber string `json:"serial_number"` }
Click to show internal directories.
Click to hide internal directories.