ingress

package
v0.118.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildRequestBody added in v0.117.0

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

BuildRequestBody extracts the HttpRequest body from an HTTP request.

func GetIngressRoute

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

func ResponseBodyForVerb added in v0.113.0

func ResponseBodyForVerb(sch *schema.Schema, verb *schema.Verb, body []byte, headers map[string][]string) ([]byte, error)

func ValidateCallBody added in v0.82.0

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

func ValidateContentType added in v0.117.0

func ValidateContentType(dataRef *schema.DataRef, sch *schema.Schema, headers map[string][]string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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