ses

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2019 License: GPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Finalizer used to trigger a deletion of the user prior to the object being deleted.
	Finalizer = "ses.aws.skpr.io"
	// ControllerName is used to identify this controller.
	ControllerName = "ses-controller"
)

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager, iam iamiface.IAMAPI, ses sesiface.SESAPI, params Params) error

Add creates a new SMTP Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.

Types

type Params

type Params struct {
	Prefix   string
	Hostname string
	Region   string
	Port     int
}

Params which are provided from external sources.

type ReconcileSMTP

type ReconcileSMTP struct {
	client.Client
	// contains filtered or unexported fields
}

ReconcileSMTP reconciles a SMTP object

func (*ReconcileSMTP) CreateAccessKeys

func (r *ReconcileSMTP) CreateAccessKeys(name string) (string, string, error)

CreateAccessKeys for accessing the AWS SES service.

func (*ReconcileSMTP) DeleteUser

func (r *ReconcileSMTP) DeleteUser(name string) error

DeleteUser with AWS IAM.

func (*ReconcileSMTP) Reconcile

func (r *ReconcileSMTP) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for a SMTP object and makes changes based on the state read and what is in the SMTP.Spec Automatically generate RBAC rules to allow the Controller to read and write Deployments +kubebuilder:rbac:groups=extensions.skpr.io,resources=smtps,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=extensions.skpr.io,resources=smtps/status,verbs=get;update;patch

func (*ReconcileSMTP) SyncEmailVerification

func (r *ReconcileSMTP) SyncEmailVerification(address string) (string, error)

SyncEmailVerification to allow users to send email FROM an address.

func (*ReconcileSMTP) SyncPolicy

func (r *ReconcileSMTP) SyncPolicy(name, address string) error

SyncPolicy to allow IAM user to send email.

func (*ReconcileSMTP) SyncUser

func (r *ReconcileSMTP) SyncUser(name string) error

SyncUser with AWS IAM.

Directories

Path Synopsis
mock
iam
ses

Jump to

Keyboard shortcuts

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