emulator

package
v0.0.0-...-ee2d29e Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultGRPCPort = 9010
View Source
var DefaultRESTPort = 9020
View Source
var DockerImage = `gcr.io/cloud-spanner-emulator/emulator`

Functions

func Run

func Run(ctx context.Context, options ...Option) error

Types

type Option

type Option = option.Interface

func WithGRPCPort

func WithGRPCPort(v int) Option

func WithNotifyReady

func WithNotifyReady(notifyFunc func()) Option

func WithOnExit

func WithOnExit(f func() error) Option

func WithRESTPort

func WithRESTPort(v int) Option

func WithStopContainer

func WithStopContainer(v bool) Option

Jump to

Keyboard shortcuts

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