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.
Click to show internal directories.
Click to hide internal directories.