trello

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultListsNumber = 3

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*trello.Client
}

func NewClient

func NewClient() (*Client, error)

func (*Client) CheckAndDeleteBoard

func (c *Client) CheckAndDeleteBoard(owner, repo, kanbanBoardName string) error

CheckAndDeleteBoard if the board exists, delete it

func (*Client) CheckBoardExists

func (c *Client) CheckBoardExists(owner, repo, kanbanBoardName string) (bool, error)

CheckBoardExists check if board exists, which board name == kanbanBoardName, and board desc == owner/repo

func (*Client) CreateBoard

func (c *Client) CreateBoard(kanbanBoardName, owner, repo string) (*trello.Board, error)

func (*Client) CreateList

func (c *Client) CreateList(board *trello.Board, listName string) (*trello.List, error)

func (*Client) GetBoardIdAndListId

func (c *Client) GetBoardIdAndListId(owner, repo, kanbanBoardName string) (map[string]interface{}, error)

GetBoardIdAndListId get the board, which board name == kanbanBoardName, and board desc == owner/repo

Jump to

Keyboard shortcuts

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