repo

package
v0.24.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: Apache-2.0 Imports: 22 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.

func CreateRepo

func CreateRepo(c *gin.Context)

CreateRepo represents the API handler to create a repository.

func DeleteRepo

func DeleteRepo(c *gin.Context)

DeleteRepo represents the API handler to remove a repository.

func GetRepo

func GetRepo(c *gin.Context)

GetRepo represents the API handler to get a repository.

func ListRepos

func ListRepos(c *gin.Context)

ListRepos represents the API handler to get a list of repositories for a user.

func ListReposForOrg

func ListReposForOrg(c *gin.Context)

ListReposForOrg represents the API handler to get a list of repositories for an organization.

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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