Documentation ¶
Index ¶
- Constants
- func Add(mgr manager.Manager, iam iamiface.IAMAPI, ses sesiface.SESAPI, params Params) error
- type Params
- type ReconcileSMTP
- func (r *ReconcileSMTP) CreateAccessKeys(name string) (string, string, error)
- func (r *ReconcileSMTP) DeleteUser(name string) error
- func (r *ReconcileSMTP) Reconcile(request reconcile.Request) (reconcile.Result, error)
- func (r *ReconcileSMTP) SyncEmailVerification(address string) (string, error)
- func (r *ReconcileSMTP) SyncPolicy(name, address string) error
- func (r *ReconcileSMTP) SyncUser(name string) error
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 ¶
Types ¶
type ReconcileSMTP ¶
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.