Documentation
¶
Index ¶
- type Operator
- func (o *Operator) Address() string
- func (o *Operator) Cleanup(t *testing.T)
- func (o *Operator) Dial(t *testing.T, ctx context.Context, sentry *sentry.Sentry, appID string) operatorv1pb.OperatorClient
- func (o *Operator) HealthzPort() int
- func (o *Operator) MetricsPort() int
- func (o *Operator) Port() int
- func (o *Operator) Run(t *testing.T, ctx context.Context)
- func (o *Operator) WaitUntilRunning(t *testing.T, ctx context.Context)
- func (o *Operator) WebhookPort() int
- type Option
- func WithAPIPort(port int) Option
- func WithConfigPath(path string) Option
- func WithDisableLeaderElection(disable bool) Option
- func WithExecOptions(execOptions ...exec.Option) Option
- func WithHealthzPort(port int) Option
- func WithKubeconfigPath(path string) Option
- func WithLogLevel(level string) Option
- func WithMetricsPort(port int) Option
- func WithNamespace(namespace string) Option
- func WithTrustAnchorsFile(path string) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operator ¶
type Operator struct {
// contains filtered or unexported fields
}
func (*Operator) Dial ¶
func (o *Operator) Dial(t *testing.T, ctx context.Context, sentry *sentry.Sentry, appID string) operatorv1pb.OperatorClient
func (*Operator) HealthzPort ¶
func (*Operator) MetricsPort ¶
func (*Operator) WaitUntilRunning ¶
func (*Operator) WebhookPort ¶ added in v1.18.0
WebhookPort returns the port that the operator's webhook server is listening on. This is the TLS port that the Kubernetes API server would connect to for CRD conversion / validating / mutating webhooks.
type Option ¶
type Option func(*options)
Option is a function that configures the process.
func WithAPIPort ¶
func WithConfigPath ¶
func WithExecOptions ¶
func WithHealthzPort ¶
func WithKubeconfigPath ¶
func WithLogLevel ¶
func WithMetricsPort ¶
func WithNamespace ¶
func WithTrustAnchorsFile ¶
Click to show internal directories.
Click to hide internal directories.