Versions in this module Expand all Collapse all v2 v2.0.0 Jun 18, 2023 Changes in this version + const DataTypeBackup + const DataTypeEmail + const DataTypeResource + const DataTypeTelegram + const DataTypeWebhook + var ErrReQueue = errors.New("requeue") + func HasTypePrefixOf(parameter interface{}, expectedType string) (cmap.CustomMap, bool) + func IsTypeOf(parameter interface{}, expectedType string) (cmap.CustomMap, bool) + type BackupData struct + ProviderType string + Type string + type Config struct + Description string + Enabled bool + ID string + Labels cmap.CustomStringMap + ModifiedOn time.Time + Spec cmap.CustomMap + State *types.State + Type string + func (hdr *Config) Clone() Config + type EmailData struct + Body string + Disabled string + From string + Subject string + To []string + Type string + type MessageWrapper struct + Data map[string]interface{} + ID string + type Plugin interface + Close func() error + Name func() string + Post func(parameters map[string]interface{}) error + Start func() error + State func() *types.State + type ResourceData struct + Disabled string + KeyPath string + Labels cmap.CustomStringMap + Payload string + PreDelay string + QuickID string + ResourceType string + Type string + type StringData struct + Disabled string + Type string + Value string + type TelegramData struct + ChatIDs []string + Disabled string + ParseMode string + Text string + Type string + type WebhookData struct + API string + CustomData bool + Data interface{} + Disabled string + Headers map[string]string + Insecure bool + Method string + QueryParameters map[string]interface{} + ResponseCode int + Server string + Type string