server: go.chromium.org/goma/server/execlog Index | Files

package execlog

import "go.chromium.org/goma/server/execlog"

Package execlog provides goma execlog service implementation.

Index

Package Files

client.go doc.go service.go

Constants

const DefaultMaxReqMsgSize = 8 * 1024 * 1024

DefaultMaxReqMsgSize is max request message size for execlog service. execlog server may recives > 6MB. 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 2019-05-20. Refresh now. Tools for package owners.