package
Version:
v0.25.2
Opens a new window with list of versions in this module.
Published: Oct 15, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package build provides the ability for inserting
Vela build resources into or extracting Vela build
resources from the middleware chain for the API.
Usage:
import "github.com/go-vela/server/router/middleware/build"
Establish sets the build in the given context.
FromContext returns the Build associated with this context.
Retrieve gets the build in the given context.
ToContext adds the Build 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.