GO-2024-2641: Insecure Variable Substitution in Vela in github.com/go-vela/worker
package
Version:
v0.16.0
Opens a new window with list of versions in this module.
Published: Nov 9, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package user provides the ability for inserting
Vela user resources into or extracting Vela user
resources from the middleware chain for the API.
Usage:
import "github.com/go-vela/worker/router/middleware/user"
Establish sets the user in the given context.
FromContext returns the User associated with this context.
Retrieve gets the user in the given context.
ToContext adds the User 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.