worker

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: 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 in the configured backend.

func DeleteWorker

func DeleteWorker(c *gin.Context)

DeleteWorker represents the API handler to remove a worker from the configured backend.

func GetWorker

func GetWorker(c *gin.Context)

GetWorker represents the API handler to capture a worker from the configured backend.

func ListWorkers

func ListWorkers(c *gin.Context)

ListWorkers represents the API handler to capture a list of workers from the configured backend.

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 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