ingress

package
v0.111.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIngressRoute

func GetIngressRoute(routes []dal.IngressRoute, method string, path string) (*dal.IngressRoute, error)

func ResponseBodyForContentType added in v0.109.0

func ResponseBodyForContentType(headers map[string][]string, body []byte) ([]byte, error)

func ValidateAndExtractRequestBody added in v0.91.0

func ValidateAndExtractRequestBody(route *dal.IngressRoute, r *http.Request, sch *schema.Schema) ([]byte, error)

ValidateAndExtractRequestBody extracts the HttpRequest body from an HTTP request.

func ValidateCallBody added in v0.82.0

func ValidateCallBody(body []byte, verbRef *schema.VerbRef, sch *schema.Schema) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL