actions

package
v3.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Overview

Package actions provides a scheduler action for generating mail digests

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MailDigestAction

type MailDigestAction struct {
	// contains filtered or unexported fields
}

func (*MailDigestAction) GetDescription

func (m *MailDigestAction) GetDescription(lang ...string) actions.ActionDescription

GetDescription returns the action description

func (*MailDigestAction) GetName

func (m *MailDigestAction) GetName() string

GetName returns the Unique Identifier of the MailDigestAction.

func (*MailDigestAction) GetParametersForm

func (m *MailDigestAction) GetParametersForm() *forms.Form

GetParametersForm returns an UX Form

func (*MailDigestAction) Init

func (m *MailDigestAction) Init(job *jobs.Job, cl client.Client, action *jobs.Action) error

Init passes parameters to a newly created instance.

func (*MailDigestAction) Run

Run processes the actual action code

Jump to

Keyboard shortcuts

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