channel

package
v4.5.2003+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmailClient

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

func NewEmailClient

func NewEmailClient(notificationChannel *notifyingv1alpha1.AlamedaNotificationChannel,
	emailChannel *notifyingv1alpha1.AlamedaEmailChannel, clusterInfo *notifier_utils.ClusterInfo) (*EmailClient, error)

func (*EmailClient) SendEmailBySMTP

func (emailClient *EmailClient) SendEmailBySMTP(subject string, from string,
	recipients []string, msgHTML string, ccs []string, attachments map[string]string) error

func (*EmailClient) SendEvent

func (emailClient *EmailClient) SendEvent(evt *datahub_events.Event) error

Jump to

Keyboard shortcuts

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