Documentation ¶
Index ¶
- Constants
- type ScmFactory
- func (s *ScmFactory) New(provider int) (scm.SessionInterface, error)
- func (s *ScmFactory) NewGroup(provider int) (scm.GroupInterface, error)
- func (s *ScmFactory) NewGroupMember(provider int) (scm.GroupMemberInterface, error)
- func (s *ScmFactory) NewProject(provider int) (scm.ProjectInterface, error)
- func (s *ScmFactory) NewProjectMember(provider int) (scm.ProjectMemberInterface, error)
- func (s *ScmFactory) NewResitory(provider int) (scm.RepositoryInterface, error)
- func (s *ScmFactory) NewUser(provider int) (scm.UserInterface, error)
Constants ¶
View Source
const ( GithubScmType = 1 GitlabScmType = 2 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScmFactory ¶
type ScmFactory struct{}
func (*ScmFactory) New ¶
func (s *ScmFactory) New(provider int) (scm.SessionInterface, error)
func (*ScmFactory) NewGroup ¶
func (s *ScmFactory) NewGroup(provider int) (scm.GroupInterface, error)
func (*ScmFactory) NewGroupMember ¶
func (s *ScmFactory) NewGroupMember(provider int) (scm.GroupMemberInterface, error)
func (*ScmFactory) NewProject ¶
func (s *ScmFactory) NewProject(provider int) (scm.ProjectInterface, error)
func (*ScmFactory) NewProjectMember ¶
func (s *ScmFactory) NewProjectMember(provider int) (scm.ProjectMemberInterface, error)
func (*ScmFactory) NewResitory ¶
func (s *ScmFactory) NewResitory(provider int) (scm.RepositoryInterface, error)
func (*ScmFactory) NewUser ¶
func (s *ScmFactory) NewUser(provider int) (scm.UserInterface, error)
Click to show internal directories.
Click to hide internal directories.