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(ctx context.Context, appID string) (*config.ApplicationConfig, error) InvokeMethod(ctx context.Context, req *invokev1.InvokeMethodRequest, appID string) (*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.
Click to show internal directories.
Click to hide internal directories.