setup

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package setup implements a real env in which to run tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Common added in v0.3.0

func Common(flags ...string) (string, string, func())

Common wires common modules to build a testing ready runtime.

func CommonWithSchemaLoaders added in v0.4.0

func CommonWithSchemaLoaders(schemaLoaders []SchemaLoader, flags ...string) (string, string, func())

CommonWithSchemaLoaders wires common modules to build a testing ready runtime. It also allows to preload schema.

Types

type SchemaLoader added in v0.4.0

type SchemaLoader interface {
	run.Unit
	SetMeta(meta metadata.Service)
}

SchemaLoader is a service that can preload schema.

Jump to

Keyboard shortcuts

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