Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AvailableAdapters = []ApiAdapter{ GitlabAdapter{}, GitHubAdapter{}, BitbucketAdapter{}, }
Functions ¶
func GetAdapterNames ¶
func GetAdapterNames() []string
Types ¶
type AdapterInfo ¶
type ApiAdapter ¶
type ApiAdapter interface { Info() AdapterInfo GetProjects(globals.Profile, string, string) ([]Project, error) CreateProject(globals.Profile) error }
func GetAdapterByName ¶
func GetAdapterByName(name string) (ApiAdapter, error)
type BitbucketAdapter ¶
type BitbucketAdapter struct{}
func (BitbucketAdapter) CreateProject ¶
func (BitbucketAdapter) CreateProject(profile globals.Profile) error
func (BitbucketAdapter) GetProjects ¶
func (BitbucketAdapter) Info ¶
func (BitbucketAdapter) Info() AdapterInfo
type BitbucketProject ¶
type GitHubAdapter ¶
type GitHubAdapter struct{}
func (GitHubAdapter) CreateProject ¶
func (GitHubAdapter) CreateProject(profile globals.Profile) error
func (GitHubAdapter) GetName ¶
func (GitHubAdapter) GetName() string
func (GitHubAdapter) GetProjects ¶
func (GitHubAdapter) Info ¶
func (GitHubAdapter) Info() AdapterInfo
type GithubProject ¶
type GitlabAdapter ¶
type GitlabAdapter struct{}
func (GitlabAdapter) CreateProject ¶
func (GitlabAdapter) CreateProject(profile globals.Profile) error
func (GitlabAdapter) GetProjects ¶
func (GitlabAdapter) Info ¶
func (GitlabAdapter) Info() AdapterInfo
type GitlabProject ¶
Click to show internal directories.
Click to hide internal directories.