gits

package
v0.0.0-...-4450389 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package `gits`: Init GitLab projects.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gitlab

type Gitlab struct {
	// contains filtered or unexported fields
}

func NewGitlab

func NewGitlab(cfg *GitlabConfig) (*Gitlab, error)

func (*Gitlab) Init

func (g *Gitlab) Init(inf *RepoInfo) (*RepoInfo, error)

type GitlabConfig

type GitlabConfig struct {
	Addr      string
	TokenPath string
}

type RepoInfo

type RepoInfo struct {
	GitlabHostname string
	GitlabId       int
	GitlabPath     string
	GitlabSsh      string
}

Jump to

Keyboard shortcuts

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