sentry

package
v1.13.2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

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 WithCABundle(bundle ca.Bundle) Option

func WithConfiguration

func WithConfiguration(config string) Option

func WithExecOptions

func WithExecOptions(execOptions ...exec.Option) Option

func WithHealthzPort

func WithHealthzPort(port int) Option

func WithKubeconfig added in v1.12.1

func WithKubeconfig(kubeconfig string) Option

func WithMetricsPort

func WithMetricsPort(port int) Option

func WithNamespace added in v1.13.0

func WithNamespace(namespace string) Option

func WithPort

func WithPort(port int) Option

func WithTrustDomain added in v1.12.1

func WithTrustDomain(trustDomain string) Option

func WithWriteConfig added in v1.12.1

func WithWriteConfig(write bool) Option

func WithWriteTrustBundle added in v1.12.1

func WithWriteTrustBundle(writeBundle bool) Option

type Sentry

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

func New

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

func (*Sentry) Address added in v1.13.0

func (s *Sentry) Address() string

func (*Sentry) CABundle

func (s *Sentry) CABundle() ca.Bundle

func (*Sentry) Cleanup

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

func (*Sentry) DialGRPC added in v1.12.1

func (s *Sentry) DialGRPC(t *testing.T, ctx context.Context, sentryID string) *grpc.ClientConn

DialGRPC dials the sentry using the given context and returns a grpc client connection.

func (*Sentry) HealthzPort

func (s *Sentry) HealthzPort() int

func (*Sentry) MetricsPort

func (s *Sentry) MetricsPort() int

func (*Sentry) Port

func (s *Sentry) Port() int

func (*Sentry) Run

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

func (*Sentry) TrustAnchorsFile added in v1.13.0

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

func (*Sentry) WaitUntilRunning

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

Jump to

Keyboard shortcuts

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