Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetLogger ¶
func SetLogger(logger logrus.FieldLogger)
Types ¶
type Bitbucket ¶
type Bitbucket struct {
// contains filtered or unexported fields
}
func (Bitbucket) SynchronizeAllRepos ¶
type Origin ¶
type Origin struct { Slug string `json:"slug"` ID int `json:"id"` Name string `json:"name"` ScmID string `json:"scmId"` State string `json:"state"` StatusMessage string `json:"statusMessage"` Forkable bool `json:"forkable"` Project Project `json:"project"` Public bool `json:"public"` Links Links `json:"links"` }
type ProjectList ¶
type ProjectRepos ¶
type ProjectRepos struct { Size int `json:"size"` Limit int `json:"limit"` IsLastPage bool `json:"isLastPage"` BitBucketRepo []Repo `json:"values"` Start int `json:"start"` }
func QueryRepos ¶
func QueryRepos(host string, projectKey string, accessToken string) (*ProjectRepos, error)
type Repo ¶
type Repo struct { Slug string `json:"slug"` ID int `json:"id"` Name string `json:"name"` ScmID string `json:"scmId"` State string `json:"state"` StatusMessage string `json:"statusMessage"` Forkable bool `json:"forkable"` Project Project `json:"project"` Public bool `json:"public"` Links Links `json:"links"` Origin Origin `json:"origin,omitempty"` }
Click to show internal directories.
Click to hide internal directories.