tencent

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Regions

func Regions() []string

Types

type ApiExtractor

type ApiExtractor struct {
	Service struct {
		SubDomain string `json:"subDomain"`
	} `json:"service"`
}

type Provider

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

func New

func New(secretId, secretKey, region string) (*Provider, error)

func (*Provider) ClearHttpProxy

func (p *Provider) ClearHttpProxy(opts *sdk.FunctionOpts) error

func (*Provider) ClearReverseProxy

func (p *Provider) ClearReverseProxy(opts *sdk.ReverseProxyOpts) error

func (*Provider) ClearSocksProxy

func (p *Provider) ClearSocksProxy(opts *sdk.FunctionOpts) error

func (*Provider) DeployHttpProxy

func (p *Provider) DeployHttpProxy(opts *sdk.FunctionOpts) (string, error)

func (*Provider) DeployReverseProxy

func (p *Provider) DeployReverseProxy(opts *sdk.ReverseProxyOpts) (*sdk.DeployReverseProxyResult, error)

func (*Provider) DeploySocksProxy

func (p *Provider) DeploySocksProxy(opts *sdk.FunctionOpts) error

func (*Provider) InvokeFunction

func (p *Provider) InvokeFunction(opts *sdk.FunctionOpts, message string) error

func (*Provider) Name

func (p *Provider) Name() string

func (*Provider) Region

func (p *Provider) Region() string

Jump to

Keyboard shortcuts

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