Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cloud ¶
type Cloud struct { API struct { Teams Teams Repositories Repositories } // contains filtered or unexported fields }
Cloud struct defines data fields in bitbucket-cloud object
func (Cloud) Authenticate ¶
Authenticate checks the account ID and access tokens' validity for the kind defined
func (Cloud) Credentials ¶
Credentials fetches amd returns the accountID and accessToken from environment variables
func (Cloud) Repositories ¶
func (cloud Cloud) Repositories(metadata bool) ([]common.Repository, error)
Repositories queries the API and returns a list of repositories mentioned by the kind
type Repositories ¶
type Repositories interface {
ListForAccount(*bitbucket.RepositoriesOptions) (*bitbucket.RepositoriesRes, error)
}
Repositories interface declares methods to implement in the API object
Click to show internal directories.
Click to hide internal directories.