sdk

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeployReverseProxyResult

type DeployReverseProxyResult struct {
	ServiceId     string
	ApiId         string
	PluginId      string
	ServiceDomain string
	Origin        string
	Region        string
	Provider      string
	Protocol      string
}

type FunctionOpts

type FunctionOpts struct {
	Namespace    string
	FunctionName string
	TriggerName  string
	OnlyTrigger  bool
}

type HttpProxyProvider

type HttpProxyProvider interface {
	Provider
	DeployHttpProxy(*FunctionOpts) (string, error)
	ClearHttpProxy(*FunctionOpts) error
}

type Provider

type Provider interface {
	Name() string
	Region() string
}

type ReverseProxyOpts

type ReverseProxyOpts struct {
	Origin    string
	ServiceId string
	ApiId     string
	PluginId  string
	Ips       []string
}

type ReverseProxyProvider

type ReverseProxyProvider interface {
	Provider
	DeployReverseProxy(*ReverseProxyOpts) (*DeployReverseProxyResult, error)
	ClearReverseProxy(*ReverseProxyOpts) error
}

type SocksProxyProvider

type SocksProxyProvider interface {
	Provider
	DeploySocksProxy(*FunctionOpts) error
	ClearSocksProxy(*FunctionOpts) error
	InvokeFunction(*FunctionOpts, string) error
}

Directories

Path Synopsis
provider
aws

Jump to

Keyboard shortcuts

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