Documentation ¶
Index ¶
- type Daprd
- func (d *Daprd) ActorInvokeURL(actorType, actorID, method string) string
- func (d *Daprd) ActorReminderURL(actorType, actorID, method string) string
- func (d *Daprd) AppAddress(t *testing.T) string
- func (d *Daprd) AppID() string
- func (d *Daprd) AppPort(t *testing.T) int
- func (d *Daprd) Cleanup(t *testing.T)
- func (d *Daprd) GRPCAddress() string
- func (d *Daprd) GRPCClient(t *testing.T, ctx context.Context) rtv1.DaprClient
- func (d *Daprd) GRPCConn(t *testing.T, ctx context.Context) *grpc.ClientConn
- func (d *Daprd) GRPCPort() int
- func (d *Daprd) GetMetaHTTPEndpoints(t assert.TestingT, ctx context.Context) []*rtv1.MetadataHTTPEndpoint
- func (d *Daprd) GetMetaRegisteredComponents(t assert.TestingT, ctx context.Context) []*rtv1.RegisteredComponents
- func (d *Daprd) GetMetaSubscriptions(t assert.TestingT, ctx context.Context) []MetadataResponsePubsubSubscription
- func (d *Daprd) GetMetaSubscriptionsWithType(t assert.TestingT, ctx context.Context, subType string) []MetadataResponsePubsubSubscription
- func (d *Daprd) HTTPAddress() string
- func (d *Daprd) HTTPGet2xx(t *testing.T, ctx context.Context, path string)
- func (d *Daprd) HTTPPort() int
- func (d *Daprd) HTTPPost2xx(t *testing.T, ctx context.Context, path string, body io.Reader, ...)
- func (d *Daprd) InternalGRPCAddress() string
- func (d *Daprd) InternalGRPCPort() int
- func (d *Daprd) Metrics(t *testing.T, ctx context.Context) map[string]float64
- func (d *Daprd) MetricsAddress() string
- func (d *Daprd) MetricsPort() int
- func (d *Daprd) Namespace() string
- func (d *Daprd) ProfilePort() int
- func (d *Daprd) PublicPort() int
- func (d *Daprd) Run(t *testing.T, ctx context.Context)
- func (d *Daprd) WaitUntilAppHealth(t *testing.T, ctx context.Context)
- func (d *Daprd) WaitUntilRunning(t *testing.T, ctx context.Context)
- func (d *Daprd) WaitUntilTCPReady(t *testing.T, ctx context.Context)
- type MetadataResponsePubsubSubscription
- type MetadataResponsePubsubSubscriptionRule
- type Option
- func WithAppAPIToken(t *testing.T, token string) Option
- func WithAppHealthCheck(enabled bool) Option
- func WithAppHealthCheckPath(path string) Option
- func WithAppHealthProbeInterval(interval int) Option
- func WithAppHealthProbeThreshold(threshold int) Option
- func WithAppID(appID string) Option
- func WithAppPort(port int) Option
- func WithAppProtocol(protocol string) Option
- func WithConfigManifests(t *testing.T, manifests ...string) Option
- func WithConfigs(configs ...string) Option
- func WithControlPlaneAddress(address string) Option
- func WithControlPlaneTrustDomain(trustDomain string) Option
- func WithDaprAPIToken(t *testing.T, token string) Option
- func WithDaprBlockShutdownDuration(duration string) Option
- func WithDaprGracefulShutdownSeconds(seconds int) Option
- func WithDisableK8sSecretStore(disable bool) Option
- func WithEnableMTLS(enable bool) Option
- func WithExecOptions(execOptions ...exec.Option) Option
- func WithExit1() Option
- func WithGRPCPort(port int) Option
- func WithHTTPPort(port int) Option
- func WithInMemoryActorStateStore(storeName string) Option
- func WithInMemoryStateStore(storeName string) Option
- func WithInternalGRPCPort(port int) Option
- func WithLogLevel(logLevel string) Option
- func WithLogLineStdout(ll *logline.LogLine) Option
- func WithMetricsPort(port int) Option
- func WithMode(mode string) Option
- func WithNamespace(namespace string) Option
- func WithPlacementAddresses(addresses ...string) Option
- func WithProfilePort(port int) Option
- func WithPublicPort(port int) Option
- func WithResourceFiles(files ...string) Option
- func WithResourcesDir(dirs ...string) Option
- func WithScheduler(scheduler *scheduler.Scheduler) Option
- func WithSchedulerAddresses(addresses ...string) Option
- func WithSentry(t *testing.T, sentry *sentry.Sentry) Option
- func WithSentryAddress(address string) Option
- func WithSocket(t *testing.T, socket *socket.Socket) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Daprd ¶
type Daprd struct {
// contains filtered or unexported fields
}
func (*Daprd) ActorInvokeURL ¶
func (*Daprd) ActorReminderURL ¶
func (*Daprd) GRPCAddress ¶
func (*Daprd) GRPCClient ¶
func (*Daprd) GetMetaHTTPEndpoints ¶
func (*Daprd) GetMetaRegisteredComponents ¶
func (*Daprd) GetMetaSubscriptions ¶
func (*Daprd) GetMetaSubscriptionsWithType ¶
func (*Daprd) HTTPAddress ¶
func (*Daprd) HTTPGet2xx ¶
func (*Daprd) HTTPPost2xx ¶
func (*Daprd) InternalGRPCAddress ¶
func (*Daprd) InternalGRPCPort ¶
func (*Daprd) MetricsAddress ¶
func (*Daprd) MetricsPort ¶
func (*Daprd) ProfilePort ¶
func (*Daprd) PublicPort ¶
func (*Daprd) WaitUntilAppHealth ¶
func (*Daprd) WaitUntilRunning ¶
type MetadataResponsePubsubSubscription ¶
type MetadataResponsePubsubSubscription struct { PubsubName string `json:"pubsubname"` Topic string `json:"topic"` Metadata map[string]string `json:"metadata,omitempty"` Rules []MetadataResponsePubsubSubscriptionRule `json:"rules,omitempty"` DeadLetterTopic string `json:"deadLetterTopic"` Type string `json:"type"` }
MetadataResponsePubsubSubscription copied from pkg/api/http/metadata.go:172 to be able to use in integration tests until we move to Proto format
type Option ¶
type Option func(*options)
Option is a function that configures the dapr process.
func WithAppHealthCheck ¶
func WithAppHealthCheckPath ¶
func WithAppPort ¶
func WithAppProtocol ¶
func WithConfigs ¶
func WithControlPlaneAddress ¶
func WithEnableMTLS ¶
func WithExecOptions ¶
func WithGRPCPort ¶
func WithHTTPPort ¶
func WithInMemoryActorStateStore ¶
WithInMemoryActorStateStore adds an in-memory state store component, which is also enabled as actor state store.
func WithInMemoryStateStore ¶
func WithInternalGRPCPort ¶
func WithLogLevel ¶
func WithLogLineStdout ¶
func WithMetricsPort ¶
func WithNamespace ¶
func WithPlacementAddresses ¶
func WithProfilePort ¶
func WithPublicPort ¶
func WithResourceFiles ¶
func WithResourcesDir ¶
func WithScheduler ¶
func WithSchedulerAddresses ¶
func WithSentryAddress ¶
Click to show internal directories.
Click to hide internal directories.