factories

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL