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.4.25-alpha1
- Published
- Oct 30, 2019
- Platform
- darwin/amd64
- Imports
- 3 packages
- Last checked
- 1 hour ago –
Tools for package owners.