gitlab

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Package gitlab implements opts.Fetcher for Gitlab releases.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fetcher

type Fetcher struct{}

Fetcher implements the [releases.Fetcher] interface for Gitlab releases.

func (*Fetcher) Fetch

func (f *Fetcher) Fetch(ctx context.Context, token *token.Token, opts *opts.FetchOptions) (io.ReadCloser, os.FileInfo, error)

Fetch fetches a release from a github repository and the underlying release asset.

func (*Fetcher) GetReleaseNotes

func (f *Fetcher) GetReleaseNotes(ctx context.Context, token *token.Token, opts *opts.GetReleaseNoteOptions) (string, error)

GetReleaseNotes returns the release notes for a given tag

Jump to

Keyboard shortcuts

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