embedded

package
v0.0.0-...-f521a76 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 27 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRuntime

func NewRuntime(ctx context.Context, appID string, opts ...Option) (*runtime.DaprRuntime, *runtime.Config, error)

Types

type Option

type Option func(config *runtime.Config)

func CommonComponents

func CommonComponents(log logger.Logger) []Option

func WithAPILoggingEnabled

func WithAPILoggingEnabled(enabled bool) Option

func WithAppProtocol

func WithAppProtocol(protocol protocol.Protocol, port string) Option

func WithBindings

func WithBindings(reg *bindings.Registry) Option

func WithComponentsPath deprecated

func WithComponentsPath(path string) Option

Deprecated: use WithResourcesPath.

func WithConfigurations

func WithConfigurations(reg *configuration.Registry) Option

func WithDaprGRPCPort

func WithDaprGRPCPort(port string) Option

func WithDaprHTTPPort

func WithDaprHTTPPort(port string) Option

func WithDaprInternalGRPCPort

func WithDaprInternalGRPCPort(port string) Option

func WithGracefulShutdownDuration

func WithGracefulShutdownDuration(d time.Duration) Option

func WithHTTPMiddlewares

func WithHTTPMiddlewares(reg *http.Registry) Option

func WithListenAddresses

func WithListenAddresses(addresses []string) Option

func WithProfilePort

func WithProfilePort(port string) Option

func WithProfilingEnabled

func WithProfilingEnabled(enabled bool) Option

func WithPubSubs

func WithPubSubs(reg *pubsub.Registry) Option

func WithResourcesPath

func WithResourcesPath(path string) Option

func WithSecretStores

func WithSecretStores(reg *secretstores.Registry) Option

func WithStates

func WithStates(reg *state.Registry) Option

func WithoutApp

func WithoutApp() Option

Jump to

Keyboard shortcuts

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