package finisher
import "k8s.io/apiserver/pkg/endpoints/handlers/finisher"
Index ¶
- func FinishRequest(ctx context.Context, fn ResultFunc) (runtime.Object, error)
- type PostTimeoutLoggerFunc
- type ResultFunc
Functions ¶
func FinishRequest ¶
FinishRequest makes a given ResultFunc asynchronous and handles errors returned by the response.
Types ¶
type PostTimeoutLoggerFunc ¶
PostTimeoutLoggerFunc is a function that can be used to log the result returned by a ResultFunc after the request had timed out. timedOutAt is the time the request had been timed out. r is the result returned by the child goroutine.
type ResultFunc ¶
ResultFunc is a function that returns a rest result and can be run in a goroutine
Source Files ¶
finisher.go
- Version
- v0.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 11 packages
- Last checked
- 2 days ago –
Tools for package owners.