trellocard

package module
v0.0.0-...-dceaa68 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: MIT Imports: 3 Imported by: 1

README

Trello Card

Create a new Trello card

Installation

flogo install github.com/retgits/flogo-components/activity/trellocard

Link for flogo web:

https://github.com/retgits/flogo-components/activity/trellocard

Schema

Inputs and Outputs:

{
"inputs": [
        {
            "name": "token",
            "type": "string",
            "required": true
        },
        {
            "name": "appkey",
            "type": "string",
            "required": true
        },
        {
            "name": "list",
            "type": "string",
            "required": true
        },
        {
            "name": "position",
            "type": "string",
            "allowed": [
                "top",
                "bottom"
            ],
            "required": true
        },
        {
            "name": "title",
            "type": "string",
            "required": true
        },
        {
            "name": "description",
            "type": "string"
        }
    ],
    "outputs": [
        {
            "name": "result",
            "type": "string"
        }
    ]
}

Inputs

Input Description
token Your Trello App token
appkey Your Trello App key
list The ID of the list you want to send the card to
position The position of the new card on the list (can be either top or bottom)
title The title for your new card
description The description you want to add to the card

Ouputs

Output Description
result The result (either OK or the error that was generated by the Trello API)

Documentation

Overview

Package trellocard implements activities to create cards in Trello

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewActivity

func NewActivity(metadata *activity.Metadata) activity.Activity

NewActivity creates a new activity

Types

type MyActivity

type MyActivity struct {
	// contains filtered or unexported fields
}

MyActivity is a stub for your Activity implementation

func (*MyActivity) Eval

func (a *MyActivity) Eval(context activity.Context) (done bool, err error)

Eval implements activity.Activity.Eval

func (*MyActivity) Metadata

func (a *MyActivity) Metadata() *activity.Metadata

Metadata implements activity.Activity.Metadata

Jump to

Keyboard shortcuts

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