Documentation ¶
Index ¶
- type Mappings
- type Model
- func (m Model) Auth(in openapi.HttpAuth) *trigger.HTTPAuthenticator
- func (m Model) DataStore(in openapi.DataStore) datastore.DataStore
- func (m Model) DataStoreType(in openapi.SupportedDataStores) datastore.DataStoreType
- func (m Model) Definition(in []openapi.TestSpec) test.Specs
- func (m Model) GRPCHeaders(in []openapi.GrpcHeader) []trigger.GRPCHeader
- func (m Model) GRPCRequest(in openapi.GrpcRequest) *trigger.GRPCRequest
- func (m Model) GRPCResponse(in openapi.GrpcResponse) *trigger.GRPCResponse
- func (m Model) HTTPHeaders(in []openapi.HttpHeader) []trigger.HTTPHeader
- func (m Model) HTTPRequest(in openapi.HttpRequest) *trigger.HTTPRequest
- func (m Model) HTTPResponse(in openapi.HttpResponse) *trigger.HTTPResponse
- func (m Model) KafkaAuth(in openapi.KafkaAuthentication) *trigger.KafkaAuthenticator
- func (m Model) KafkaMessageHeaders(in []openapi.KafkaMessageHeader) []trigger.KafkaMessageHeader
- func (m Model) KafkaRequest(in openapi.KafkaRequest) *trigger.KafkaRequest
- func (m Model) KafkaResponse(in openapi.KafkaResponse) *trigger.KafkaResponse
- func (m Model) Outputs(in []openapi.TestOutput) test.Outputs
- func (m Model) RequiredGates(in *[]openapi.SupportedGates) *[]testrunner.RequiredGate
- func (m Model) Result(in openapi.AssertionResults) (*test.RunResults, error)
- func (m Model) Run(in openapi.TestRun) (*test.Run, error)
- func (m Model) RunOutputs(in []openapi.TestRunOutputsInner) maps.Ordered[string, test.RunOutput]
- func (m Model) Runs(in []openapi.TestRun) ([]test.Run, error)
- func (m Model) Span(in openapi.Span, parent *traces.Span) traces.Span
- func (m Model) Spans(in []openapi.Span, parent *traces.Span) []*traces.Span
- func (m Model) Test(in openapi.Test) (test.Test, error)
- func (m Model) Tests(in []openapi.Test) ([]test.Test, error)
- func (m Model) Trace(in openapi.Trace) *traces.Trace
- func (m Model) TraceIDRequest(in openapi.TraceidRequest) *trigger.TraceIDRequest
- func (m Model) TraceIDResponse(in openapi.TraceidResponse) *trigger.TraceIDResponse
- func (m Model) Trigger(in openapi.Trigger) trigger.Trigger
- func (m Model) TriggerError(in openapi.TriggerError) *trigger.TriggerError
- func (m Model) TriggerResult(in openapi.TriggerResult) trigger.TriggerResult
- func (m Model) VariableSet(in openapi.VariableSet) variableset.VariableSet
- func (m Model) VariableSetValue(in []openapi.VariableSetValue) []variableset.VariableSetValue
- type OpenAPI
- func (m OpenAPI) Auth(in *trigger.HTTPAuthenticator) openapi.HttpAuth
- func (m *OpenAPI) ConnectionTestResult(in model.ConnectionResult) openapi.ConnectionResult
- func (m *OpenAPI) ConnectionTestStep(in model.ConnectionTestStep) openapi.ConnectionTestStep
- func (m OpenAPI) DataStoreType(in datastore.DataStoreType) openapi.SupportedDataStores
- func (m OpenAPI) GRPCMetadata(in []trigger.GRPCHeader) []openapi.GrpcHeader
- func (m OpenAPI) GRPCRequest(in *trigger.GRPCRequest) openapi.GrpcRequest
- func (m OpenAPI) GRPCResponse(in *trigger.GRPCResponse) openapi.GrpcResponse
- func (m OpenAPI) HTTPHeaders(in []trigger.HTTPHeader) []openapi.HttpHeader
- func (m OpenAPI) HTTPRequest(in *trigger.HTTPRequest) openapi.HttpRequest
- func (m OpenAPI) HTTPResponse(in *trigger.HTTPResponse) openapi.HttpResponse
- func (m OpenAPI) KafkaAuth(in *trigger.KafkaAuthenticator) openapi.KafkaAuthentication
- func (m OpenAPI) KafkaMessageHeaders(in []trigger.KafkaMessageHeader) []openapi.KafkaMessageHeader
- func (m OpenAPI) KafkaRequest(in *trigger.KafkaRequest) openapi.KafkaRequest
- func (m OpenAPI) KafkaResponse(in *trigger.KafkaResponse) openapi.KafkaResponse
- func (m OpenAPI) LinterResult(in analyzer.LinterResult) openapi.LinterResult
- func (m OpenAPI) LinterResultPlugin(in analyzer.PluginResult) openapi.LinterResultPlugin
- func (m OpenAPI) LinterResultPluginRule(in analyzer.RuleResult) openapi.LinterResultPluginRule
- func (m OpenAPI) LinterResultPluginRuleResult(in analyzer.Result) openapi.LinterResultPluginRuleResult
- func (m OpenAPI) LinterResultPluginRuleResultError(in analyzer.Error) openapi.LinterResultPluginRuleResultError
- func (m OpenAPI) Outputs(in []test.Output) []openapi.TestOutput
- func (m OpenAPI) OutputsInfo(in []model.OutputInfo) []openapi.OutputInfo
- func (m OpenAPI) PeriodicPollingInfo(in *model.PeriodicPollingConfig) openapi.PollingInfoPeriodic
- func (m OpenAPI) PollingInfo(in model.PollingInfo) openapi.PollingInfo
- func (m OpenAPI) RequiredGatesResult(in testrunner.RequiredGatesResult) openapi.RequiredGatesResult
- func (m OpenAPI) Result(in *test.RunResults) openapi.AssertionResults
- func (m OpenAPI) Run(in *test.Run) openapi.TestRun
- func (m OpenAPI) RunOutputs(in maps.Ordered[string, test.RunOutput]) []openapi.TestRunOutputsInner
- func (m OpenAPI) Runs(in []test.Run) []openapi.TestRun
- func (m OpenAPI) Selector(in test.SpanQuery) openapi.Selector
- func (m OpenAPI) Span(in traces.Span) openapi.Span
- func (m OpenAPI) SpanSelector(in selectors.SpanSelector) openapi.SpanSelector
- func (m OpenAPI) Spans(in []*traces.Span) []openapi.Span
- func (m OpenAPI) Specs(in test.Specs) []openapi.TestSpec
- func (m OpenAPI) Test(in test.Test) openapi.Test
- func (m OpenAPI) TestRunEvent(in model.TestRunEvent) openapi.TestRunEvent
- func (m OpenAPI) TestRunEvents(in []model.TestRunEvent) []openapi.TestRunEvent
- func (m OpenAPI) TestSuiteRun(in testsuite.TestSuiteRun) openapi.TestSuiteRun
- func (m OpenAPI) Tests(in []test.Test) []openapi.Test
- func (m OpenAPI) Trace(in *traces.Trace) openapi.Trace
- func (m OpenAPI) TraceIDRequest(in *trigger.TraceIDRequest) openapi.TraceidRequest
- func (m OpenAPI) TraceIDResponse(in *trigger.TraceIDResponse) openapi.TraceidResponse
- func (m OpenAPI) Trigger(in trigger.Trigger) openapi.Trigger
- func (m OpenAPI) TriggerError(in *trigger.TriggerError) openapi.TriggerError
- func (m OpenAPI) TriggerResult(in trigger.TriggerResult) openapi.TriggerResult
- func (m OpenAPI) VariableSet(in variableset.VariableSet) openapi.VariableSet
- func (m OpenAPI) VariableSetValues(in []variableset.VariableSetValue) []openapi.VariableSetValue
- func (m OpenAPI) VariableSets(in []variableset.VariableSet) []openapi.VariableSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mappings ¶
func New ¶
func New(tcc traces.ConversionConfig, cr comparator.Registry) Mappings
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
in
func (Model) DataStoreType ¶
func (m Model) DataStoreType(in openapi.SupportedDataStores) datastore.DataStoreType
func (Model) GRPCHeaders ¶
func (m Model) GRPCHeaders(in []openapi.GrpcHeader) []trigger.GRPCHeader
func (Model) GRPCRequest ¶
func (m Model) GRPCRequest(in openapi.GrpcRequest) *trigger.GRPCRequest
func (Model) GRPCResponse ¶
func (m Model) GRPCResponse(in openapi.GrpcResponse) *trigger.GRPCResponse
func (Model) HTTPHeaders ¶
func (m Model) HTTPHeaders(in []openapi.HttpHeader) []trigger.HTTPHeader
func (Model) HTTPRequest ¶
func (m Model) HTTPRequest(in openapi.HttpRequest) *trigger.HTTPRequest
func (Model) HTTPResponse ¶
func (m Model) HTTPResponse(in openapi.HttpResponse) *trigger.HTTPResponse
func (Model) KafkaAuth ¶
func (m Model) KafkaAuth(in openapi.KafkaAuthentication) *trigger.KafkaAuthenticator
func (Model) KafkaMessageHeaders ¶
func (m Model) KafkaMessageHeaders(in []openapi.KafkaMessageHeader) []trigger.KafkaMessageHeader
func (Model) KafkaRequest ¶
func (m Model) KafkaRequest(in openapi.KafkaRequest) *trigger.KafkaRequest
func (Model) KafkaResponse ¶
func (m Model) KafkaResponse(in openapi.KafkaResponse) *trigger.KafkaResponse
func (Model) RequiredGates ¶
func (m Model) RequiredGates(in *[]openapi.SupportedGates) *[]testrunner.RequiredGate
func (Model) Result ¶
func (m Model) Result(in openapi.AssertionResults) (*test.RunResults, error)
func (Model) RunOutputs ¶
func (Model) TraceIDRequest ¶
func (m Model) TraceIDRequest(in openapi.TraceidRequest) *trigger.TraceIDRequest
func (Model) TraceIDResponse ¶
func (m Model) TraceIDResponse(in openapi.TraceidResponse) *trigger.TraceIDResponse
func (Model) TriggerError ¶ added in v0.14.6
func (m Model) TriggerError(in openapi.TriggerError) *trigger.TriggerError
func (Model) TriggerResult ¶
func (m Model) TriggerResult(in openapi.TriggerResult) trigger.TriggerResult
func (Model) VariableSet ¶
func (m Model) VariableSet(in openapi.VariableSet) variableset.VariableSet
func (Model) VariableSetValue ¶
func (m Model) VariableSetValue(in []openapi.VariableSetValue) []variableset.VariableSetValue
type OpenAPI ¶
type OpenAPI struct {
// contains filtered or unexported fields
}
func (*OpenAPI) ConnectionTestResult ¶
func (m *OpenAPI) ConnectionTestResult(in model.ConnectionResult) openapi.ConnectionResult
func (*OpenAPI) ConnectionTestStep ¶
func (m *OpenAPI) ConnectionTestStep(in model.ConnectionTestStep) openapi.ConnectionTestStep
func (OpenAPI) DataStoreType ¶
func (m OpenAPI) DataStoreType(in datastore.DataStoreType) openapi.SupportedDataStores
func (OpenAPI) GRPCMetadata ¶
func (m OpenAPI) GRPCMetadata(in []trigger.GRPCHeader) []openapi.GrpcHeader
func (OpenAPI) GRPCRequest ¶
func (m OpenAPI) GRPCRequest(in *trigger.GRPCRequest) openapi.GrpcRequest
func (OpenAPI) GRPCResponse ¶
func (m OpenAPI) GRPCResponse(in *trigger.GRPCResponse) openapi.GrpcResponse
func (OpenAPI) HTTPHeaders ¶
func (m OpenAPI) HTTPHeaders(in []trigger.HTTPHeader) []openapi.HttpHeader
func (OpenAPI) HTTPRequest ¶
func (m OpenAPI) HTTPRequest(in *trigger.HTTPRequest) openapi.HttpRequest
func (OpenAPI) HTTPResponse ¶
func (m OpenAPI) HTTPResponse(in *trigger.HTTPResponse) openapi.HttpResponse
func (OpenAPI) KafkaAuth ¶
func (m OpenAPI) KafkaAuth(in *trigger.KafkaAuthenticator) openapi.KafkaAuthentication
func (OpenAPI) KafkaMessageHeaders ¶
func (m OpenAPI) KafkaMessageHeaders(in []trigger.KafkaMessageHeader) []openapi.KafkaMessageHeader
func (OpenAPI) KafkaRequest ¶
func (m OpenAPI) KafkaRequest(in *trigger.KafkaRequest) openapi.KafkaRequest
func (OpenAPI) KafkaResponse ¶
func (m OpenAPI) KafkaResponse(in *trigger.KafkaResponse) openapi.KafkaResponse
func (OpenAPI) LinterResult ¶
func (m OpenAPI) LinterResult(in analyzer.LinterResult) openapi.LinterResult
func (OpenAPI) LinterResultPlugin ¶
func (m OpenAPI) LinterResultPlugin(in analyzer.PluginResult) openapi.LinterResultPlugin
func (OpenAPI) LinterResultPluginRule ¶
func (m OpenAPI) LinterResultPluginRule(in analyzer.RuleResult) openapi.LinterResultPluginRule
func (OpenAPI) LinterResultPluginRuleResult ¶
func (m OpenAPI) LinterResultPluginRuleResult(in analyzer.Result) openapi.LinterResultPluginRuleResult
func (OpenAPI) LinterResultPluginRuleResultError ¶
func (m OpenAPI) LinterResultPluginRuleResultError(in analyzer.Error) openapi.LinterResultPluginRuleResultError
func (OpenAPI) OutputsInfo ¶
func (m OpenAPI) OutputsInfo(in []model.OutputInfo) []openapi.OutputInfo
func (OpenAPI) PeriodicPollingInfo ¶
func (m OpenAPI) PeriodicPollingInfo(in *model.PeriodicPollingConfig) openapi.PollingInfoPeriodic
func (OpenAPI) PollingInfo ¶
func (m OpenAPI) PollingInfo(in model.PollingInfo) openapi.PollingInfo
func (OpenAPI) RequiredGatesResult ¶
func (m OpenAPI) RequiredGatesResult(in testrunner.RequiredGatesResult) openapi.RequiredGatesResult
func (OpenAPI) Result ¶
func (m OpenAPI) Result(in *test.RunResults) openapi.AssertionResults
func (OpenAPI) RunOutputs ¶
func (OpenAPI) SpanSelector ¶
func (m OpenAPI) SpanSelector(in selectors.SpanSelector) openapi.SpanSelector
func (OpenAPI) TestRunEvent ¶
func (m OpenAPI) TestRunEvent(in model.TestRunEvent) openapi.TestRunEvent
func (OpenAPI) TestRunEvents ¶
func (m OpenAPI) TestRunEvents(in []model.TestRunEvent) []openapi.TestRunEvent
func (OpenAPI) TestSuiteRun ¶
func (m OpenAPI) TestSuiteRun(in testsuite.TestSuiteRun) openapi.TestSuiteRun
func (OpenAPI) TraceIDRequest ¶
func (m OpenAPI) TraceIDRequest(in *trigger.TraceIDRequest) openapi.TraceidRequest
func (OpenAPI) TraceIDResponse ¶
func (m OpenAPI) TraceIDResponse(in *trigger.TraceIDResponse) openapi.TraceidResponse
func (OpenAPI) TriggerError ¶ added in v0.14.6
func (m OpenAPI) TriggerError(in *trigger.TriggerError) openapi.TriggerError
func (OpenAPI) TriggerResult ¶
func (m OpenAPI) TriggerResult(in trigger.TriggerResult) openapi.TriggerResult
func (OpenAPI) VariableSet ¶
func (m OpenAPI) VariableSet(in variableset.VariableSet) openapi.VariableSet
TODO: after migrating tests and transactions, we can remove this
func (OpenAPI) VariableSetValues ¶
func (m OpenAPI) VariableSetValues(in []variableset.VariableSetValue) []openapi.VariableSetValue
func (OpenAPI) VariableSets ¶
func (m OpenAPI) VariableSets(in []variableset.VariableSet) []openapi.VariableSet
Click to show internal directories.
Click to hide internal directories.