detector

package
v0.9.10-beta001 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 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