Documentation ¶
Index ¶
Constants ¶
View Source
const ( MTLSRootCA = "MTLSRootCA" MTLSClientCert = "MTLSClientCert" MTLSClientKey = "MTLSClientKey" TraceparentHeaderKey = "traceparent" TracestateHeaderKey = "tracestate" TraceMetadataKey = "traceHeaders" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HTTPSource ¶
type HTTPSource struct {
// contains filtered or unexported fields
}
HTTPSource is a binding for an http url endpoint invocation
func (*HTTPSource) Init ¶
func (h *HTTPSource) Init(metadata bindings.Metadata) error
Init performs metadata parsing.
func (*HTTPSource) Invoke ¶
func (h *HTTPSource) Invoke(ctx context.Context, req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
Invoke performs an HTTP request to the configured HTTP endpoint.
func (*HTTPSource) Operations ¶
func (h *HTTPSource) Operations() []bindings.OperationKind
Operations returns the supported operations for this binding.
Click to show internal directories.
Click to hide internal directories.