global

package
v0.0.0-...-7c63b92 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 40 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LifecycleState

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

LifecycleState is returned by ApplyConfiguration. It can be used by the caller to report whether the application has started up successfully.

func ApplyConfiguration

func ApplyConfiguration(configuration *pb.Configuration) (*LifecycleState, bb_grpc.ClientFactory, error)

ApplyConfiguration applies configuration options to the running process. These configuration options are global, in that they apply to all Buildbarn binaries, regardless of their purpose.

func (*LifecycleState) MarkReadyAndWait

func (ls *LifecycleState) MarkReadyAndWait(group program.Group)

MarkReadyAndWait can be called to report that the program has started successfully. The application should now be reported as being healthy and ready, and receive incoming requests if applicable.

Jump to

Keyboard shortcuts

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