Documentation ¶
Index ¶
- type Daprd
- func (d *Daprd) AppID() string
- func (d *Daprd) AppPort() int
- func (d *Daprd) Cleanup(t *testing.T)
- func (d *Daprd) GRPCPort() int
- func (d *Daprd) HTTPPort() int
- func (d *Daprd) InternalGRPCPort() int
- func (d *Daprd) MetricsPort() int
- 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)
- type 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 WithConfigs(configs ...string) Option
- func WithControlPlaneAddress(address string) Option
- func WithDisableK8sSecretStore(disable bool) Option
- func WithEnableMTLS(enable bool) Option
- func WithExecOptions(execOptions ...exec.Option) Option
- func WithGRPCPort(port int) Option
- func WithHTTPPort(port int) Option
- func WithInternalGRPCPort(port int) Option
- func WithLogLevel(logLevel string) Option
- func WithMetricsPort(port int) Option
- func WithMode(mode string) Option
- func WithPlacementAddresses(addresses ...string) Option
- func WithProfilePort(port int) Option
- func WithPublicPort(port int) Option
- func WithResourceFiles(files ...string) Option
- func WithSentryAddress(address string) 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) InternalGRPCPort ¶
func (*Daprd) MetricsPort ¶
func (*Daprd) ProfilePort ¶
func (*Daprd) PublicPort ¶
func (*Daprd) WaitUntilAppHealth ¶
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 WithInternalGRPCPort ¶
func WithLogLevel ¶
func WithMetricsPort ¶
func WithPlacementAddresses ¶
func WithProfilePort ¶
func WithPublicPort ¶
func WithResourceFiles ¶
func WithSentryAddress ¶
Click to show internal directories.
Click to hide internal directories.