Documentation ¶
Index ¶
- type Action
- type Attachment
- type Connector
- func (s *Connector) GetMetaInfo(resourceOptions map[string]interface{}) (common.MetaInfoResult, error)
- func (s *Connector) Run(resourceOptions map[string]interface{}, actionOptions map[string]interface{}, ...) (common.RuntimeResult, error)
- func (s *Connector) TestConnection(resourceOptions map[string]interface{}) (common.ConnectionResult, error)
- func (s *Connector) ValidateActionTemplate(actionOptions map[string]interface{}) (common.ValidateResult, error)
- func (s *Connector) ValidateResourceOptions(resourceOptions map[string]interface{}) (common.ValidateResult, error)
- type Resource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { From string `validate:"required"` To []string `validate:"required,gt=0,dive,required"` Bcc []string Cc []string SetReplyTo bool ReplyTo string `validate:"required_unless=SetReplyTo false"` Subject string `validate:"required"` ContentType string `validate:"required,oneof=text/plain text/html"` Body string `validate:"required"` Attachment []Attachment }
type Attachment ¶
type Connector ¶
func (*Connector) GetMetaInfo ¶
func (s *Connector) GetMetaInfo(resourceOptions map[string]interface{}) (common.MetaInfoResult, error)
func (*Connector) TestConnection ¶
func (s *Connector) TestConnection(resourceOptions map[string]interface{}) (common.ConnectionResult, error)
func (*Connector) ValidateActionTemplate ¶
func (s *Connector) ValidateActionTemplate(actionOptions map[string]interface{}) (common.ValidateResult, error)
func (*Connector) ValidateResourceOptions ¶
func (s *Connector) ValidateResourceOptions(resourceOptions map[string]interface{}) (common.ValidateResult, error)
Click to show internal directories.
Click to hide internal directories.