http

package
v0.0.0-...-fbbe22e Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Method

func Method(h *obs.HTTP) string

func New

func New(id string, o obs.OutputSpec, inputs []string, secrets observability.Secrets, strategy common.ConfigStrategy, op Options) []Element

func Request

func Request(id string, o obs.OutputSpec, strategy common.ConfigStrategy) *common.Request

Types

type Http

type Http struct {
	ComponentID string
	Inputs      string
	URI         string
	Method      string
	Proxy       string
	common.RootMixin
}

func Output

func Output(id string, o obs.OutputSpec, inputs []string, secrets observability.Secrets, op Options) *Http

func (Http) Name

func (h Http) Name() string

func (*Http) SetCompression

func (h *Http) SetCompression(algo string)

func (Http) Template

func (h Http) Template() string

Jump to

Keyboard shortcuts

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