sentry

package
v1.19.2 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: Apache-2.0 Imports: 17 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithCABundle added in v1.19.0

func WithCABundle(b bundle.Bundle) func(*options)

WithCABundle serves sentry's identity from b instead of a generated CA, so a daprd that trusts a real sentry's CA trusts this one too. The identity is spiffe://localhost/ns/default/dapr-sentry: daprd's default trust domain and namespace.

func WithSignCertificateFn

func WithSignCertificateFn(fn func(context.Context, *sentryv1pb.SignCertificateRequest) (*sentryv1pb.SignCertificateResponse, error)) func(*options)

Types

type Option

type Option func(*options)

type Sentry

type Sentry struct {
	// contains filtered or unexported fields
}

func New

func New(t *testing.T, fopts ...Option) *Sentry

func (*Sentry) Address

func (s *Sentry) Address(t *testing.T) string

func (*Sentry) Bundle

func (s *Sentry) Bundle() bundle.Bundle

func (*Sentry) Cleanup

func (s *Sentry) Cleanup(t *testing.T)

func (*Sentry) Run

func (s *Sentry) Run(t *testing.T, ctx context.Context)

Jump to

Keyboard shortcuts

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