http

package
v1.8.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: Apache-2.0 Imports: 14 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPSource

type HTTPSource struct {
	// contains filtered or unexported fields
}

HTTPSource is a binding for an http url endpoint invocation

func NewHTTP

func NewHTTP(logger logger.Logger) *HTTPSource

NewHTTP returns a new HTTPSource.

func (*HTTPSource) Init

func (h *HTTPSource) Init(metadata bindings.Metadata) error

Init performs metadata parsing.

func (*HTTPSource) Invoke

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.

Jump to

Keyboard shortcuts

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