package requestaddons
import "github.com/docker/compose-on-kubernetes/internal/requestaddons"
Index ¶
- func SkipValidationFrom(ctx context.Context) bool
- func WithSkipValidation(parent context.Context, skipValidation bool) context.Context
- func WithSkipValidationHandler(handler http.Handler) http.Handler
Functions ¶
func SkipValidationFrom ¶
SkipValidationFrom gets the skip-validation option value from the context
func WithSkipValidation ¶
WithSkipValidation adds the skip-validation info in the request context
func WithSkipValidationHandler ¶
WithSkipValidationHandler adds a query parameter parsing for skipping validation
Source Files ¶
- Version
- v0.5.0 (latest)
- Published
- Jan 28, 2022
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 5 hours ago –
Tools for package owners.