githubissues

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: 6 Imported by: 0

README

GitHub Issues

Get the GitHub issues assigned to an authenticated user

Installation

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

Link for flogo web:

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

Schema

Inputs and Outputs:

{
"inputs": [
        {
            "name": "token",
            "type": "string",
            "required": true
        },
        {
            "name": "timeInterval",
            "type": "integer",
            "required": true
        }
    ],
    "outputs": [
        {
            "name": "result",
            "type": "any"
        }
    ]
}

Inputs

Input Description
token Your Personal Access Token from GitHub
timeInterval The timeinterval in minutes to check GitHub issues (setting this to 120 will get issues assigned to the user in the past 2 hours)

Ouputs

Output Description
result An array of issues assigned to the user in the past x minutes. The data structure for the response can be found here

Documentation

Overview

Package githubissues implements activities to get GitHub issues

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