gitlab

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const Type = "gitlab"

Variables

This section is empty.

Functions

func New

func New(config map[string]any) (source.Source, error)

Types

type Source

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

func (*Source) ConfigPreview

func (s *Source) ConfigPreview() (pairs []string)

func (*Source) DownloadModule

func (s *Source) DownloadModule(ctx context.Context, dir, version string) error

func (*Source) LatestVersion

func (s *Source) LatestVersion(ctx context.Context, major uint) (string, error)

func (*Source) ListVersions

func (s *Source) ListVersions(ctx context.Context, major uint) ([]string, error)

func (*Source) Parametrize

func (s *Source) Parametrize(module string, params map[string]any) (source.Source, error)

func (*Source) ParametrizeDownloads

func (s *Source) ParametrizeDownloads(name, mode string, params map[string]any) (source.Downloads, error)

Jump to

Keyboard shortcuts

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