Documentation
¶
Index ¶
- func NewResponse(req *http.Request, resp *hclsyntax.Body, statusCode int) (*http.Response, error)
- func NewURLFromAttribute(hclCtx *hcl.EvalContext, content *hclsyntax.Body, attrName string, ...) (*url.URL, error)
- type Proxy
- type Redirect
- type Request
- type Response
- type Result
- type ResultMap
- type Results
- type Roundtrip
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResponse ¶
Types ¶
type Proxy ¶
type Proxy struct {
Content *hclsyntax.Body
Name string // label
RoundTrip http.RoundTripper
// contains filtered or unexported fields
}
func (*Proxy) SetDependsOn ¶
type Redirect ¶
type Redirect struct {
Response
}
Redirect represents the generator <Redirect> object.
type Request ¶
type Request struct {
Backend http.RoundTripper
Context *hclsyntax.Body
Name string // label
// contains filtered or unexported fields
}
Request represents the producer <Request> object.
func (*Request) SetDependsOn ¶
Click to show internal directories.
Click to hide internal directories.