provider

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PVERSION = "dev"

Functions

func CreateTestServer added in v1.1.0

func CreateTestServer() *httptest.Server

func GiteaHandler added in v1.1.0

func GiteaHandler(w http.ResponseWriter, r *http.Request)

func GiteaHandlerFailed added in v1.1.1

func GiteaHandlerFailed(w http.ResponseWriter, r *http.Request)

Types

type GiteaRepository

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

func (*GiteaRepository) CreateRelease

func (repo *GiteaRepository) CreateRelease(release *provider.CreateReleaseConfig) error

func (*GiteaRepository) GetCommits

func (repo *GiteaRepository) GetCommits(_, toSha string) ([]*semrel.RawCommit, error)

func (*GiteaRepository) GetInfo

func (repo *GiteaRepository) GetInfo() (*provider.RepositoryInfo, error)

func (*GiteaRepository) GetReleases

func (repo *GiteaRepository) GetReleases(rawRe string) ([]*semrel.Release, error)

func (*GiteaRepository) Init

func (repo *GiteaRepository) Init(config map[string]string) error

gocyclo:ignore

func (*GiteaRepository) Name

func (repo *GiteaRepository) Name() string

func (*GiteaRepository) Version

func (repo *GiteaRepository) Version() string

Jump to

Keyboard shortcuts

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