gitea

package
v1.5.225 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: BSD-3-Clause Imports: 20 Imported by: 0

Documentation

Overview

Package gitea implements a Gitea client.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertAPIURLToHTMLURL

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

func NewWebHookService() scm.WebhookService

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

func NewWithBasicAuth

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

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

func NewWithToken

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