gitlab

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: May 6, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const GITLAB = "gitlab"

GITLAB identifer for gitlab interface

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Release string
	// contains filtered or unexported fields
}

Client type struct

func New

func New(config *config.GitLabProvider, checkConfig bool) (*Client, error)

New initialize a new gitlabRelease

func (*Client) CreateRelease

func (g *Client) CreateRelease(releaseVersion *shared.ReleaseVersion, generatedChangelog *shared.GeneratedChangelog, assets *assets.Set) error

CreateRelease creates release on remote

func (*Client) GetCommitURL

func (g *Client) GetCommitURL() string

GetCommitURL for gitlab

func (*Client) GetCompareURL

func (g *Client) GetCompareURL(oldVersion, newVersion string) string

GetCompareURL for gitlab

type ProjectFile

type ProjectFile struct {
	Alt      string `json:"alt"`
	URL      string `json:"url"`
	Markdown string `json:"markdown"`
}

ProjectFile struct

type Release

type Release struct {
	TagName     string `json:"tag_name"`
	Name        string `json:"name"`
	Ref         string `json:"ref"`
	Description string `json:"description,omitempty"`
}

Release struct

type ReleaseLink struct {
	Name string `json:"name"`
	URL  string `json:"url"`
}

ReleaseLink struct

Jump to

Keyboard shortcuts

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