gitea

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: BSD-3-Clause Imports: 20 Imported by: 4

Documentation

Overview

Package gitea implements a Gitea client.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertAPIURLToHTMLURL added in v1.5.215

func ConvertAPIURLToHTMLURL(apiURL string, tagName string) string

ConvertAPIURLToHTMLURL converts an release API endpoint into a html endpoint

func New

func New(uri string) (*scm.Client, error)

New returns a new Gitea API client without a token set

func NewWebHookService added in v1.5.152

func NewWebHookService() scm.WebhookService

NewWebHookService creates a new instance of the webhook service without the rest of the client

func NewWithBasicAuth added in v1.5.173

func NewWithBasicAuth(uri string, user, password string) (*scm.Client, error)

NewWithBasicAuth returns a new Gitea API client with the basic auth set.

func NewWithToken added in v1.5.161

func NewWithToken(uri string, token string) (*scm.Client, error)

NewWithToken returns a new Gitea API client with the token set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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