gitlabutil

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient added in v0.13.1

func NewClient(token string, apiURL string, skipSSLVerify bool) (*gitlab.Client, error)

NewClient gitlab handle

Types

type UpdateReleaseOptions

type UpdateReleaseOptions struct {
	ID          string `json:"id"`
	TagName     string `json:"tag_name"`
	Description string `json:"description"`
}

UpdateReleaseOptions for gitlab release update api https://docs.gitlab.com/ee/api/tags.html#update-a-release

type UpdateReleaseResponse

type UpdateReleaseResponse struct {
	TagName     string `json:"tag_name"`
	Description string `json:"description"`
}

UpdateReleaseResponse for gitlab release update api https://docs.gitlab.com/ee/api/tags.html#update-a-release

func UpdateTagDescription added in v0.13.1

func UpdateTagDescription(client *gitlab.Client, project string, tagID string, description string) (*UpdateReleaseResponse, *gitlab.Response, error)

UpdateTagDescription updates release note

Jump to

Keyboard shortcuts

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