imap

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigSchema = map[string]*schema.Attribute{
	"host": {
		Type: schema.TypeString,
	},
	"port": {
		Type: schema.TypeInt,
	},
	"login": {
		Type: schema.TypeString,
	},
	"password": {
		Type: schema.TypeString,
	},
	"tls_enabled": {
		Type: schema.TypeBool,
	},
	"insecure_skip_verify": {
		Type: schema.TypeBool,
	},
	"mailbox": {
		Type: schema.TypeString,
	},
}

Functions

func ConfigInstance

func ConfigInstance() interface{}

func GetConfig

func GetConfig(connection *plugin.Connection) imapConfig

GetConfig :: retrieve and cast connection config from query data

func Plugin

func Plugin(ctx context.Context) *plugin.Plugin

Types

This section is empty.

Jump to

Keyboard shortcuts

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