client

package
v0.0.0-...-394dbd4 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: Apache-2.0 Imports: 12 Imported by: 9

Documentation

Index

Constants

View Source
const (
	MaximumRequestBodySize = 10 * 1024 * 1024 // bytes
)

Variables

This section is empty.

Functions

func CurrentProvider

func CurrentProvider() (provider.Provider, error)

func EnvAsHeader

func EnvAsHeader(req *http.Request, selectedEnv []string)

func Invoke

func Invoke(provider provider.Provider, ireq InvokeRequest) (*http.Response, error)

Invoke calls the fn invoke API

Types

type InvokeRequest

type InvokeRequest struct {
	URL          string
	Content      io.Reader
	Env          []string
	ContentType  string
	FnInvokeType string
	FnIntent     string
	IsDryRun     bool
}

InvokeRequest are the parameters provided to Invoke

Jump to

Keyboard shortcuts

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