proxy

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadManifest

func LoadManifest(manifestURL string) (*apps.Manifest, error)

func WriteCallError

func WriteCallError(w http.ResponseWriter, statusCode int, err error)

Types

type Proxy

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

func NewProxy

func NewProxy(mm *pluginapi.Client, awsClient *aws.Client, conf api.Configurator, store api.Store) *Proxy

func (*Proxy) Call

func (p *Proxy) Call(debugSessionToken apps.SessionToken, c *apps.Call) *apps.CallResponse

func (*Proxy) GetAsset

func (p *Proxy) GetAsset(appID apps.AppID, assetName string) (io.ReadCloser, int, error)

func (*Proxy) GetBindings

func (p *Proxy) GetBindings(cc *apps.Context) ([]*apps.Binding, error)

func (*Proxy) Notify

func (p *Proxy) Notify(cc *apps.Context, subj apps.Subject) error

func (*Proxy) ProvisionBuiltIn

func (p *Proxy) ProvisionBuiltIn(appID apps.AppID, up api.Upstream)

Jump to

Keyboard shortcuts

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