Documentation ¶
Index ¶
- func NewPostmark(logger logger.Logger) bindings.OutputBinding
- type Postmark
- func (p *Postmark) GetComponentMetadata() map[string]string
- func (p *Postmark) Init(_ context.Context, metadata bindings.Metadata) error
- func (p *Postmark) Invoke(ctx context.Context, req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
- func (p *Postmark) Operations() []bindings.OperationKind
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPostmark ¶
func NewPostmark(logger logger.Logger) bindings.OutputBinding
NewPostmark returns a new Postmark bindings instance.
Types ¶
type Postmark ¶
type Postmark struct {
// contains filtered or unexported fields
}
Postmark allows sending of emails using the 3rd party Postmark service.
func (*Postmark) GetComponentMetadata ¶ added in v1.11.0
GetComponentMetadata returns the metadata of the component.
func (*Postmark) Invoke ¶
func (p *Postmark) Invoke(ctx context.Context, req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
Invoke does the work of sending message to Postmark API.
func (*Postmark) Operations ¶
func (p *Postmark) Operations() []bindings.OperationKind
Operations returns list of operations supported by Postmark binding.
Click to show internal directories.
Click to hide internal directories.