detector

package
v0.9.17-beta002 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter interface {
	Is(options apiClient.UpsertTestOptions) (string, bool)
}

type CurlTestAdapter

type CurlTestAdapter struct {
}

func (CurlTestAdapter) Is

func (d CurlTestAdapter) Is(options apiClient.UpsertTestOptions) (name string, ok bool)

type Detector

type Detector struct {
	Adapters []Adapter
}

func NewDefaultDetector

func NewDefaultDetector() Detector

func (*Detector) Add

func (d *Detector) Add(adapter Adapter)

func (*Detector) Detect

func (d *Detector) Detect(options client.UpsertTestOptions) (name string, found bool)

type PostmanCollectionAdapter

type PostmanCollectionAdapter struct {
}

func (PostmanCollectionAdapter) Is

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL