backend

package
v0.0.0-...-f8e960c Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertModelsToSpeculatorTelemetry

func ConvertModelsToSpeculatorTelemetry(telemetry *models.Telemetry) *spec.Telemetry

func NewEventMatcher

func NewEventMatcher(event _database.APIEvent) gomock.Matcher

func Run

func Run()

Types

type APIEventTest

type APIEventTest struct {
	// contains filtered or unexported fields
}

func (*APIEventTest) WithEventType

func (t *APIEventTest) WithEventType(eventType models.APIType) *APIEventTest

func (*APIEventTest) WithHasProvidedSpecDiff

func (t *APIEventTest) WithHasProvidedSpecDiff(hasProvidedSpecDiff bool) *APIEventTest

func (*APIEventTest) WithHasReconstructedSpecDiff

func (t *APIEventTest) WithHasReconstructedSpecDiff(hasReconstructedSpecDiff bool) *APIEventTest

func (*APIEventTest) WithIsNonAPI

func (t *APIEventTest) WithIsNonAPI(isNonAPI bool) *APIEventTest

func (*APIEventTest) WithSpecDiffType

func (t *APIEventTest) WithSpecDiffType(diffType models.DiffType) *APIEventTest

type Backend

type Backend struct {
	// contains filtered or unexported fields
}

func CreateBackend

func CreateBackend(config *_config.Config, monitor *k8smonitor.Monitor, speculator *_speculator.Speculator, dbHandler *_database.Handler, modules modules.Module) *Backend

Jump to

Keyboard shortcuts

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