Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type TestStep ¶
type TestStep interface {
TestConnection(ctx context.Context) model.ConnectionTestStep
}
func ConnectivityStep ¶
func PortLinter ¶
func TracePollingTestStep ¶
type Tester ¶
type Tester struct {
// contains filtered or unexported fields
}
func NewTester ¶
func NewTester(opts ...TesterOption) Tester
func (*Tester) TestConnection ¶
func (t *Tester) TestConnection(ctx context.Context) (res model.ConnectionResult)
type TesterOption ¶
type TesterOption func(*Tester)
func WithAuthenticationTest ¶
func WithAuthenticationTest(step TestStep) TesterOption
func WithConnectivityTest ¶
func WithConnectivityTest(step TestStep) TesterOption
func WithPollingTest ¶
func WithPollingTest(step TestStep) TesterOption
func WithPortLintingTest ¶
func WithPortLintingTest(step TestStep) TesterOption
Click to show internal directories.
Click to hide internal directories.