Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BitbucketHook ¶
type BitbucketHook struct {
Id string
}
type GithubHook ¶
func (*GithubHook) Bitbucket ¶
func (h *GithubHook) Bitbucket() (*BitbucketHook, error)
func (*GithubHook) Github ¶
func (h *GithubHook) Github() (*GithubHook, error)
type GithubRepositories ¶
type GithubRepositories interface {
New(obj map[string]interface{}) (GithubRepository, error)
Get(id int) (GithubRepository, error)
List() ([]string, error)
}
type GithubRepository ¶
type GithubRepository interface {
Repository
PrivateKey() string
Project() string
}
type Hook ¶
type Hook interface {
Github() (*GithubHook, error)
Bitbucket() (*BitbucketHook, error)
}
type Project ¶
type Project struct {
Client
Id string
Name string
Provider string
Git struct {
Config Repository
Code Repository
}
}
type Repositories ¶
type Repositories interface {
Github() GithubRepositories
}
type Repository ¶
Click to show internal directories.
Click to hide internal directories.