Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MutateWorkflowsUri ¶
func MutateWorkflowsUri(f *buildeventstream.File, remoteCacheAddress string) bool
func MutateWorkflowsUris ¶
func MutateWorkflowsUris(req *buildv1.PublishBuildToolEventStreamRequest, remoteCacheAddress string) error
Mutate file URIs in the BES on the way out of the CLI to point to the remote cache grpc address instead of the Aspect Workflows runner's remote cache unix socket. this allows external BES consumers that have network access to the remove cache to access test logs from the remote cache.
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.
Click to show internal directories.
Click to hide internal directories.