Documentation ¶
Index ¶
- func GetAccount(accessKey, accessToken string) (types.Account, error)
- type Account
- func (a Account) GetCreatedAt() *string
- func (a Account) GetEmail() *string
- func (a Account) GetFollowerCount() *int
- func (a Account) GetIsAdmin() *bool
- func (a Account) GetLastSeen() *string
- func (a Account) GetLink() *string
- func (a Account) GetName() *string
- func (a Account) GetProjectCount() *int
- func (a Account) GetUsername() *string
- type Board
- type Boards
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Account ¶
type Account pkg.APIv1MemberResponse
Account implements types.Account
func (Account) GetCreatedAt ¶
func (Account) GetFollowerCount ¶
func (Account) GetIsAdmin ¶
func (Account) GetLastSeen ¶
func (Account) GetProjectCount ¶
func (Account) GetUsername ¶
type Board ¶
type Board struct { ID string `json:"id" yaml:"id"` Name string `json:"name" yaml:"name"` AccessKey string `json:"accessKey" yaml:"accessKey"` AccessToken string `json:"accessToken" yaml:"accessToken"` Public bool `json:"public" yaml:"public"` }
Board represents a Trello board
func (Board) GetSanitized ¶
GetSanitized returns a sanitised copy of the Board instance
type Boards ¶
type Boards []Board
Boards is a slice of Board instances
func (Boards) GetSanitized ¶
GetSanitized returns a sanitised copy of the Boards instance
type Config ¶
type Config struct { // Boards is the list of boards to monitor Boards Boards `json:"boards" yaml:"boards"` // AccessKey to be used for all listed boards if their own access token is not defined. // This value can be retrieved from the page at https://trello.com/app-key AccessKey string `json:"accessKey" yaml:"accessKey"` // AccessToken to be used for all listed boards if their own access token is not defined. // This value can be retrieved by clicking on Token on the page at https://trello.com/app-key AccessToken string `json:"accessToken" yaml:"accessToken"` }
Config defines the structure of the configuration for the Trello integration
func (Config) GetSanitized ¶
GetSanitized returns a sanitised copy of the Config instance
Click to show internal directories.
Click to hide internal directories.