besproxy

package
v1.509.7 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBesProxy

func NewBesProxy(host string, headers map[string]string) *besProxy

Types

type BESProxy

type BESProxy interface {
	CloseSend() error
	Connect() error
	Host() string
	PublishBuildToolEventStream(ctx context.Context, opts ...grpc.CallOption) error
	PublishLifecycleEvent(ctx context.Context, req *buildv1.PublishLifecycleEventRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Recv() (*buildv1.PublishBuildToolEventStreamResponse, error)
	Send(req *buildv1.PublishBuildToolEventStreamRequest) error
}

BESProxy implements a Build Event Protocol backend to be passed to the `bazel build` command so that the Aspect plugins can register as subscribers to the build events.

Directories

Path Synopsis
Package mock contains generated files.
Package mock contains generated files.

Jump to

Keyboard shortcuts

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