conformance

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusPassed        = "passed"
	StatusFailed        = "failed"
	StatusNotApplicable = "not_applicable"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Check

type Check struct {
	Name               string
	Status             string
	Latency            time.Duration
	Evidence           string
	FailureKind        string
	HTTPStatus         int
	ProviderHTTPStatus int
}

type Config

type Config struct {
	Store      *store.Store
	Secrets    secret.Backend
	HTTPClient *http.Client
	Alias      string
	Timeout    time.Duration
	SmokeOnly  bool
}

type Result

type Result struct {
	Alias         string
	ProviderName  string
	ProviderModel string
	Protocol      string
	Status        string
	StartedAt     time.Time
	CompletedAt   time.Time
	Checks        []Check
}

func RunProvider

func RunProvider(ctx context.Context, config Config) (Result, error)

Jump to

Keyboard shortcuts

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