Documentation
¶
Index ¶
- type Option
- func WithCABundle(bundle ca.Bundle) Option
- func WithConfiguration(config string) Option
- func WithDontGiveBundle(dontGiveBundle bool) Option
- func WithExecOptions(execOptions ...exec.Option) Option
- func WithHealthzPort(port int) Option
- func WithMetricsPort(port int) Option
- func WithPort(port int) Option
- type Sentry
- func (s *Sentry) CABundle() ca.Bundle
- func (s *Sentry) Cleanup(t *testing.T)
- func (s *Sentry) ConnectGrpc(parentCtx context.Context) (*grpc.ClientConn, error)
- func (s *Sentry) HealthzPort() int
- func (s *Sentry) MetricsPort() int
- func (s *Sentry) Port() int
- func (s *Sentry) Run(t *testing.T, ctx context.Context)
- func (s *Sentry) WaitUntilRunning(t *testing.T, ctx context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*options)
Option is a function that configures the process.
func WithCABundle ¶
func WithConfiguration ¶
func WithDontGiveBundle ¶
func WithExecOptions ¶
func WithHealthzPort ¶
func WithMetricsPort ¶
type Sentry ¶
type Sentry struct {
// contains filtered or unexported fields
}
func (*Sentry) ConnectGrpc ¶
ConnectGrpc returns a connection to the Sentry gRPC server, validating TLS certificates.
func (*Sentry) HealthzPort ¶
func (*Sentry) MetricsPort ¶
Click to show internal directories.
Click to hide internal directories.