Documentation
¶
Index ¶
- type Hub
- func (h *Hub) Client() *github.Client
- func (h *Hub) Domain() string
- func (h *Hub) RepositoryCreate(repository *gitmirror.GitRepository) error
- func (h *Hub) RepositoryDelete(repository *gitmirror.GitRepository) error
- func (h *Hub) RepositoryExist(repository *gitmirror.GitRepository) bool
- func (h *Hub) RepositoryFork(form *gitmirror.GitRepository, to *gitmirror.GitRepository) error
- func (h *Hub) SetAccount(account string)
- func (h *Hub) SetPassword(password string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hub ¶
type Hub struct {
Username, Password string
}
func (*Hub) RepositoryCreate ¶
func (h *Hub) RepositoryCreate(repository *gitmirror.GitRepository) error
func (*Hub) RepositoryDelete ¶
func (h *Hub) RepositoryDelete(repository *gitmirror.GitRepository) error
func (*Hub) RepositoryExist ¶
func (h *Hub) RepositoryExist(repository *gitmirror.GitRepository) bool
func (*Hub) RepositoryFork ¶
func (h *Hub) RepositoryFork(form *gitmirror.GitRepository, to *gitmirror.GitRepository) error
func (*Hub) SetAccount ¶
func (*Hub) SetPassword ¶
Click to show internal directories.
Click to hide internal directories.