We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72754c6 commit 53a04bcCopy full SHA for 53a04bc
tests/certification/embedded/embedded.go
@@ -52,6 +52,12 @@ func WithAppProtocol(protocol runtime.Protocol, port int) Option {
52
}
53
54
55
+func WithoutApp() Option {
56
+ return func(config *runtime.Config) {
57
+ config.ApplicationPort = 0
58
+ }
59
+}
60
+
61
func WithDaprHTTPPort(port int) Option {
62
return func(config *runtime.Config) {
63
config.HTTPPort = port
@@ -76,6 +82,12 @@ func WithListenAddresses(addresses []string) Option {
76
82
77
83
78
84
85
+func WithComponentsPath(path string) Option {
86
87
+ config.Standalone.ComponentsPath = path
88
89
90
79
91
func NewRuntime(appID string, opts ...Option) (*runtime.DaprRuntime, error) {
80
92
var err error
81
93
0 commit comments