Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter interface { // Is detects based on upsert test options what kind of test it is Is(options apiClient.UpsertTestOptions) (string, bool) }
type CurlTestAdapter ¶
type CurlTestAdapter struct { }
CurlTestAdapter is detector adapter for CURL like tests
func (CurlTestAdapter) Is ¶
func (d CurlTestAdapter) Is(options apiClient.UpsertTestOptions) (name string, ok bool)
Is detects based on upsert test options what kind of test it is
type Detector ¶
type Detector struct {
Adapters []Adapter
}
Detector is detection orchestrator for possible detectors
func NewDefaultDetector ¶
func NewDefaultDetector() Detector
type PostmanCollectionAdapter ¶
type PostmanCollectionAdapter struct { }
PostmanCollectionAdapter is detector adapter for Postman collection saved as JSON content
func (PostmanCollectionAdapter) Is ¶
func (d PostmanCollectionAdapter) Is(options apiClient.UpsertTestOptions) (name string, ok bool)
Is detects based on upsert test options what kind of test it is
Click to show internal directories.
Click to hide internal directories.