worker

package
v0.24.2 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package worker provides the worker handlers for the Vela API.

Usage:

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateWorker

func CreateWorker(c *gin.Context)

CreateWorker represents the API handler to create a worker.

func DeleteWorker

func DeleteWorker(c *gin.Context)

DeleteWorker represents the API handler to remove a worker.

func GetWorker

func GetWorker(c *gin.Context)

GetWorker represents the API handler to get a worker.

func ListWorkers

func ListWorkers(c *gin.Context)

ListWorkers represents the API handler to get a list of workers.

func Refresh

func Refresh(c *gin.Context)

Refresh represents the API handler to refresh the auth token for a worker.

func UpdateWorker

func UpdateWorker(c *gin.Context)

UpdateWorker represents the API handler to update a worker.

Types

This section is empty.

Jump to

Keyboard shortcuts

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