repo

package
v0.23.4 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package repo provides the repo handlers for the Vela API.

Usage:

import "github.com/go-vela/server/api/repo"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChownRepo

func ChownRepo(c *gin.Context)

ChownRepo represents the API handler to change the owner of a repo in the configured backend.

func CreateRepo

func CreateRepo(c *gin.Context)

CreateRepo represents the API handler to create a repo in the configured backend.

func DeleteRepo

func DeleteRepo(c *gin.Context)

DeleteRepo represents the API handler to remove a repo from the configured backend.

func GetRepo

func GetRepo(c *gin.Context)

GetRepo represents the API handler to capture a repo from the configured backend.

func ListRepos

func ListRepos(c *gin.Context)

ListRepos represents the API handler to capture a list of repos for a user from the configured backend.

func ListReposForOrg

func ListReposForOrg(c *gin.Context)

ListReposForOrg represents the API handler to capture a list of repos for an org from the configured backend.

func RepairRepo

func RepairRepo(c *gin.Context)

RepairRepo represents the API handler to remove and then create a webhook for a repo.

func UpdateRepo

func UpdateRepo(c *gin.Context)

UpdateRepo represents the API handler to update a repo in the configured backend.

Types

This section is empty.

Jump to

Keyboard shortcuts

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