Documentation
¶
Index ¶
- type Injector
- func (i *Injector) Address() string
- func (i *Injector) Cleanup(t *testing.T)
- func (i *Injector) HealthzPort() int
- func (i *Injector) MetricsPort() int
- func (i *Injector) Port() int
- func (i *Injector) Run(t *testing.T, ctx context.Context)
- func (i *Injector) WaitUntilRunning(t *testing.T, ctx context.Context)
- type Option
- func WithEnableMetrics(enable bool) Option
- func WithExecOptions(execOptions ...exec.Option) Option
- func WithHealthzPort(port int) Option
- func WithLogLevel(level string) Option
- func WithMetricsPort(port int) Option
- func WithNamespace(namespace string) Option
- func WithPort(port int) Option
- func WithSentry(sentry *sentry.Sentry) Option
- func WithSidecarImage(image string) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Injector ¶
type Injector struct {
// contains filtered or unexported fields
}
func (*Injector) HealthzPort ¶
func (*Injector) MetricsPort ¶
type Option ¶
type Option func(*options)
Option is a function that configures the process.
func WithEnableMetrics ¶
func WithExecOptions ¶
func WithHealthzPort ¶
func WithLogLevel ¶
func WithMetricsPort ¶
func WithNamespace ¶
func WithSentry ¶
func WithSidecarImage ¶
Click to show internal directories.
Click to hide internal directories.