mailer

package
v1.0.0-alpha.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Send

func Send(subject string, contentData interface{}) error

Send function consumed by the custom resources to send emails

Types

type CommonContentData

type CommonContentData struct {
	CommonData commonData
}

CommonContentData to set the common variables

type MultiProviderData

type MultiProviderData struct {
	CommonData commonData
	Name       string
	Host       string
	Status     string
	Message    []string
}

MultiProviderData to set the node contribution variables

type ResourceAllocationData

type ResourceAllocationData struct {
	CommonData     commonData
	Name           string
	OwnerNamespace string
	ChildNamespace string
	Authority      string
}

ResourceAllocationData to set the team and slice variables

type ValidationFailureContentData

type ValidationFailureContentData struct {
	Kind string
	Name string
}

ValidationFailureContentData to set the failure-specific variables

type VerifyContentData

type VerifyContentData struct {
	CommonData commonData
	Code       string
	URL        string
}

VerifyContentData to set the verification-specific variables

Jump to

Keyboard shortcuts

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