server: Index | Files

package execlog

import ""

Package execlog provides goma execlog service implementation.


Package Files

client.go doc.go service.go


const DefaultMaxReqMsgSize = 10 * 1024 * 1024

DefaultMaxReqMsgSize is max request message size for execlog service. execlog server may receives > 8MB. grpc's default is 4MB.

type Client Uses

type Client struct {
    // contains filtered or unexported fields

Client is a client to access execlog service via gRPC.

func NewClient Uses

func NewClient(address string, opts ...grpc.DialOption) Client

NewClient creates new client to access execlog service serving on address.

func (Client) SaveLog Uses

func (c Client) SaveLog(ctx context.Context, in *gomapb.SaveLogReq, opts ...grpc.CallOption) (*gomapb.SaveLogResp, error)

SaveLog saves requested execlog.

type Service Uses

type Service struct {

Service represents goma execlog service.

func (Service) SaveLog Uses

func (s Service) SaveLog(ctx context.Context, req *gomapb.SaveLogReq) (*gomapb.SaveLogResp, error)

SaveLog discards execlog. TODO: implement saving logic to GCS?

Package execlog imports 4 packages (graph) and is imported by 2 packages. Updated 2020-10-27. Refresh now. Tools for package owners.