libmain

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: MIT Imports: 50 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfiguredEnvironmentOrDie

func GetConfiguredEnvironmentOrDie(configurator *config.Configurator, healthChecker *healthcheck.HealthChecker) *real_environment.RealEnv

Normally this code would live in main.go -- we put it here for now because the environments used by the open-core version and the enterprise version are not substantially different enough yet to warrant the extra complexity of always updating both main files.

func StartAndRunServices

func StartAndRunServices(env environment.Env)

func StartBuildEventServicesOrDie

func StartBuildEventServicesOrDie(env environment.Env, grpcServer *grpc.Server)

func StartGRPCServiceOrDie

func StartGRPCServiceOrDie(env environment.Env, buildBuddyServer *buildbuddy_server.BuildBuddyServer, port *int, credentialOption grpc.ServerOption) *grpc.Server

Types

This section is empty.

Jump to

Keyboard shortcuts

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