channel

package
v1.11.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: Apache-2.0 Imports: 5 Imported by: 3

Documentation

Index

Constants

View Source
const (
	// AppChannelMinTLSVersion is the minimum TLS version that the app channel will use.
	AppChannelMinTLSVersion = tls.VersionTLS12
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AppChannel

type AppChannel interface {
	GetAppConfig() (*config.ApplicationConfig, error)
	InvokeMethod(ctx context.Context, req *invokev1.InvokeMethodRequest) (*invokev1.InvokeMethodResponse, error)
	HealthProbe(ctx context.Context) (bool, error)
	SetAppHealth(ah *apphealth.AppHealth)
}

AppChannel is an abstraction over communications with user code.

type HTTPEndpointAppChannel added in v1.11.0

type HTTPEndpointAppChannel interface {
	InvokeMethod(ctx context.Context, req *invokev1.InvokeMethodRequest, appID string) (*invokev1.InvokeMethodResponse, error)
}

HTTPEndpointAppChannel is an abstraction over communications with http endpoint resources.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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