Documentation ¶
Index ¶
- type Option
- func WithCABundle(bundle ca.Bundle) Option
- func WithConfiguration(config string) Option
- func WithExecOptions(execOptions ...exec.Option) Option
- func WithHealthzPort(port int) Option
- func WithKubeconfig(kubeconfig string) Option
- func WithMetricsPort(port int) Option
- func WithNamespace(namespace string) Option
- func WithPort(port int) Option
- func WithTrustDomain(trustDomain string) Option
- func WithWriteConfig(write bool) Option
- func WithWriteTrustBundle(writeBundle bool) Option
- type Sentry
- func (s *Sentry) Address() string
- func (s *Sentry) CABundle() ca.Bundle
- func (s *Sentry) Cleanup(t *testing.T)
- func (s *Sentry) DialGRPC(t *testing.T, ctx context.Context, sentryID string) *grpc.ClientConn
- func (s *Sentry) HealthzPort() int
- func (s *Sentry) MetricsPort() int
- func (s *Sentry) Namespace() string
- func (s *Sentry) Port() int
- func (s *Sentry) Run(t *testing.T, ctx context.Context)
- func (s *Sentry) TrustAnchorsFile(t *testing.T) string
- func (s *Sentry) TrustDomain(t *testing.T) string
- 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 WithExecOptions ¶
func WithHealthzPort ¶
func WithKubeconfig ¶ added in v1.12.1
func WithMetricsPort ¶
func WithNamespace ¶ added in v1.13.0
func WithTrustDomain ¶ added in v1.12.1
func WithWriteConfig ¶ added in v1.12.1
func WithWriteTrustBundle ¶ added in v1.12.1
type Sentry ¶
type Sentry struct {
// contains filtered or unexported fields
}
func (*Sentry) DialGRPC ¶ added in v1.12.1
DialGRPC dials the sentry using the given context and returns a grpc client connection.
func (*Sentry) HealthzPort ¶
func (*Sentry) MetricsPort ¶
func (*Sentry) TrustAnchorsFile ¶ added in v1.13.0
Click to show internal directories.
Click to hide internal directories.