pivotal

package
v0.0.0-...-ca671ec Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	FindProjectForStory(id int) (int, error)
	AddLabel(id int, project int, label string) error
	AddComment(id int, project int, comment string) error
}

Client is an interface for testability. It provides access to a subset of Pivotal APIs.

func NewClient

func NewClient(token string) Client

NewClient returns a new client of Pivotal APIs. "token" must be a valid Pivotal API access token

Jump to

Keyboard shortcuts

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