Documentation ¶
Index ¶
- type Option
- func WithEnableTLS(enable bool) Option
- func WithExecOptions(execOptions ...exec.Option) Option
- func WithHealthzPort(port int) Option
- func WithID(id string) Option
- func WithInitialCluster(initialCluster string) Option
- func WithInitialClusterPorts(ports ...int) Option
- func WithMetricsPort(port int) Option
- func WithPort(port int) Option
- func WithSentryAddress(sentryAddress string) Option
- func WithTrustAnchorsFile(file string) Option
- type Placement
- func (p *Placement) Cleanup(t *testing.T)
- func (p *Placement) HealthzPort() int
- func (p *Placement) ID() string
- func (p *Placement) InitialCluster() string
- func (p *Placement) InitialClusterPorts() []int
- func (p *Placement) MetricsPort() int
- func (p *Placement) Port() int
- func (p *Placement) Run(t *testing.T, ctx context.Context)
- func (p *Placement) 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 WithEnableTLS ¶
func WithExecOptions ¶
func WithHealthzPort ¶
func WithInitialCluster ¶
func WithInitialClusterPorts ¶
func WithMetricsPort ¶
func WithSentryAddress ¶
func WithTrustAnchorsFile ¶
type Placement ¶
type Placement struct {
// contains filtered or unexported fields
}
func (*Placement) HealthzPort ¶
func (*Placement) InitialCluster ¶
func (*Placement) InitialClusterPorts ¶
func (*Placement) MetricsPort ¶
Click to show internal directories.
Click to hide internal directories.