GO-2024-2648 : Server/API for Vela Insecure Variable Substitution in github.com/go-vela/server
Discover Packages
github.com/go-vela/server
router
middleware
worker
package
Version:
v0.20.0
Opens a new window with list of versions in this module.
Published: Jul 17, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package worker provides the ability for inserting
Vela worker resources into or extracting Vela worker
resources from the middleware chain for the API.
Usage:
import "github.com/go-vela/server/router/middleware/worker"
Establish sets the worker in the given context.
FromContext returns the Worker associated with this context.
Retrieve gets the worker in the given context.
ToContext adds the Worker to this context if it supports
the Setter interface.
type Setter interface {
Set(string , interface{})
}
Setter defines a context that enables setting values.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.