gitlab

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotBuiltInCI = errors.New("not built in the CI")

Functions

func DownloadMautrixBridgeBinary

func DownloadMautrixBridgeBinary(ctx context.Context, bridge, path string, noUpdate bool, branchOverride, currentCommit string) error

Types

type LastBuild

type LastBuild struct {
	Commit string
	JobURL string
}

func GetLastBuild

func GetLastBuild(domain, repo, mainBranch, job string) (*LastBuild, error)

type QueryError

type QueryError []QueryErrorItem

func (QueryError) Error

func (qe QueryError) Error() string

type QueryErrorItem

type QueryErrorItem struct {
	Message   string               `json:"message"`
	Locations []QueryErrorLocation `json:"locations"`
}

type QueryErrorLocation

type QueryErrorLocation struct {
	Line   int `json:"line"`
	Column int `json:"column"`
}

Jump to

Keyboard shortcuts

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