Documentation ¶
Index ¶
- Constants
- func Create(options map[string]interface{}) (map[string]interface{}, error)
- func Delete(options map[string]interface{}) (bool, error)
- func Read(options map[string]interface{}) (map[string]interface{}, error)
- func Update(options map[string]interface{}) (map[string]interface{}, error)
- type Jobs
- type Options
- type TrelloGithub
- type TrelloItemId
Constants ¶
View Source
const (
BuilderYmlTrello = "trello-github-integ.yml"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { Owner string `validate:"required_without=Org"` Org string `validate:"required_without=Owner"` Repo string `validate:"required"` Branch string `validate:"required"` BoardId string TodoListId string DoingListId string DoneListId string }
Options is the struct for configurations of the trellogithub plugin.
type TrelloGithub ¶
type TrelloGithub struct {
// contains filtered or unexported fields
}
func NewTrelloGithub ¶
func NewTrelloGithub(options map[string]interface{}) (*TrelloGithub, error)
func (*TrelloGithub) AddTrelloIdSecret ¶
func (tg *TrelloGithub) AddTrelloIdSecret(trelloId *TrelloItemId) error
AddTrelloIdSecret add trello ids to secret
func (*TrelloGithub) CompareFiles ¶
func (tg *TrelloGithub) CompareFiles(wsFiles, filesInRemoteDir []string) map[string]error
CompareFiles compare files between local and remote
func (*TrelloGithub) VerifyWorkflows ¶
VerifyWorkflows get the workflows with names "wf1.yml", "wf2.yml", then: If all workflows is ok => return ({"wf1.yml":nil, "wf2.yml:nil}, nil) If some error occurred => return (nil, error) If wf1.yml is not found => return ({"wf1.yml":error("not found"), "wf2.yml:nil},nil)
type TrelloItemId ¶
type TrelloItemId struct {
// contains filtered or unexported fields
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.