services

package
v0.0.0-...-c0b5b33 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2021 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIServer

func APIServer(showLog bool, brokerConfig brokerclient.Config, registryConfig registryclient.Config) (http.Handler, error)

APIServer bootstraps a handler suitable for serving a spin-apiserver

func Broker

func Broker(dbpath string, showLog bool) (http.Handler, error)

Broker returns a http.Handler representing a spin-broker.

func Registry

func Registry(dbpath string, showLog bool) (http.Handler, error)

Registry bootstraps a handler suitable for serving a spin-registry

func SetupTestBroker

func SetupTestBroker(t *testing.T) string

SetupTestBroker configures a test broker for use. Returns the host:port where it is residing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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