gitlab

package
v0.0.0-...-e435e13 Latest Latest
Warning

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

Go to latest
Published: May 23, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApiVersion = "/api/v3"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Project

type Project struct {
	scm.Project
}

func (*Project) GetProject

func (p *Project) GetProject() (*gitlab.Project, error)

func (*Project) ListProjects

func (p *Project) ListProjects() ([]*gitlab.Project, error)

func (*Project) ListUserProjects

func (p *Project) ListUserProjects(baseUrl, token, name, namespace string) (int, error)

type ProjectMember

type ProjectMember struct {
	scm.ProjectMember
}

func (*ProjectMember) GetProjectMember

func (p *ProjectMember) GetProjectMember(token, baseUrl string, pid, uid int) (string, string, int, error)

type Session

type Session struct {
	scm.Session
}

func (*Session) GetId

func (s *Session) GetId() int

func (*Session) GetSession

func (s *Session) GetSession(baseUrl, username, password string) error

func (*Session) GetToken

func (s *Session) GetToken() string

Jump to

Keyboard shortcuts

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