Categorygithub.com/darkdna/go-gitlab-client
modulepackage
0.0.0-20170712233826-0454652985da
Repository: https://github.com/darkdna/go-gitlab-client.git
Documentation: pkg.go.dev

# README

go-gitlab-client

================

go-gitlab-client is a simple client written in golang to consume gitlab API.

Build Status

features

  • Projects gitlab api doc

    • list projects
    • add/get/edit/rm single project
  • Repositories gitlab api doc

    • list repository branches
    • get single repository branch
    • list project repository tags
    • list repository commits
    • list project hooks
    • add/get/edit/rm project hook
  • Users gitlab api doc

    • get single user
    • manage user keys
  • Groups gitlab api doc

    • list groups
    • add/get/edit/rm single group
    • list projects in a group
    • list members in a group
  • Deploy Keys gitlab api doc

    • list project deploy keys
    • add/get/rm project deploy key
  • Builds gitlab api doc

    • List project builds
    • Get a single build
    • List commit builds
    • Get build artifacts
    • Cancel a build
    • Retry a build
    • Erase a build
  • Runners gitlab api doc

    • list owned runners
    • list shared runners
    • list projects runners
    • get a single runner
    • update/remove runner
    • enable/disable runner in project

Installation

To install go-gitlab-client, use go get:

go get github.com/plouc/go-gitlab-client

Import the go-gitlab-client package into your code:

package whatever

import (
    "github.com/plouc/go-gitlab-client"
)

Update

To update go-gitlab-client, use go get -u:

go get -u github.com/plouc/go-gitlab-client

##Documentation

Visit the docs at http://godoc.org/github.com/plouc/go-gitlab-client

Examples

You can play with the examples located in the examples directory

# Packages

No description provided by the author

# Functions

No description provided by the author
ParseHook parses hook payload from GitLab.

# Constants

VisibilityInternal indicates the project can be cloned by any logged in user.
VisibilityPrivate indicates project access must be granted explicitly for each user.
VisibilityPublic indicates the project can be cloned without any authentication.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A gitlab group.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A gitlab project.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author