Help us shape the future of Go! Take the 2026 Go Developer Survey

sentry

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

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