gitlab

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// gitlab-org/build/CNG
	CNGVariablesyml = "https://gitlab.com/api/v4/projects/4359271/repository/files/ci_files%2Fvariables.yml/raw?ref="

	// gitlab-org/gitlab-omnibus-builder
	OmnibusBuilderDockerVersions = "https://gitlab.com/api/v4/projects/145205/repository/files/docker%2FVERSIONS/raw?ref="
)

Variables

View Source
var OmnibusGitLabCIymls = []string{
	"https://gitlab.com/api/v4/projects/20699/repository/files/.gitlab-ci.yml/raw?ref=",
	"https://gitlab.com/api/v4/projects/20699/repository/files/gitlab-ci-config%2Fvariables.yml/raw?ref=",
}

gitlab-org/omnibus-gitlab

Functions

This section is empty.

Types

type Option

type Option func(*Resolver)

func WithClient

func WithClient(client *http.Client) Option

func WithLogger

func WithLogger(l *log.Logger) Option

func WithVerbose

func WithVerbose(verbose bool) Option

type Resolver

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

func NewResolver

func NewResolver(opts ...Option) *Resolver

func (*Resolver) Query

func (r *Resolver) Query(constraints *semver.Constraints, limit int) (<-chan *gitlab.Release, <-chan error)

func (*Resolver) QueryBranch

func (r *Resolver) QueryBranch(name string) (<-chan *gitlab.Release, <-chan error)

Jump to

Keyboard shortcuts

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