lighthouse

package
v0.0.0-...-9073158 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_lighthouse_proto protoreflect.FileDescriptor

Functions

func RegisterLighthouseServiceServer

func RegisterLighthouseServiceServer(s grpc.ServiceRegistrar, srv LighthouseServiceServer)

Types

type LighthouseRequest

type LighthouseRequest struct {
	Url         string   `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Options     []string `protobuf:"bytes,2,rep,name=options,proto3" json:"options,omitempty"`
	Chromeflags []string `protobuf:"bytes,3,rep,name=chromeflags,proto3" json:"chromeflags,omitempty"`
	// contains filtered or unexported fields
}

func (*LighthouseRequest) Descriptor deprecated

func (*LighthouseRequest) Descriptor() ([]byte, []int)

Deprecated: Use LighthouseRequest.ProtoReflect.Descriptor instead.

func (*LighthouseRequest) GetChromeflags

func (x *LighthouseRequest) GetChromeflags() []string

func (*LighthouseRequest) GetOptions

func (x *LighthouseRequest) GetOptions() []string

func (*LighthouseRequest) GetUrl

func (x *LighthouseRequest) GetUrl() string

func (*LighthouseRequest) ProtoMessage

func (*LighthouseRequest) ProtoMessage()

func (*LighthouseRequest) ProtoReflect

func (x *LighthouseRequest) ProtoReflect() protoreflect.Message

func (*LighthouseRequest) Reset

func (x *LighthouseRequest) Reset()

func (*LighthouseRequest) String

func (x *LighthouseRequest) String() string

type LighthouseResult

type LighthouseResult struct {
	Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"`
	// contains filtered or unexported fields
}

func (*LighthouseResult) Descriptor deprecated

func (*LighthouseResult) Descriptor() ([]byte, []int)

Deprecated: Use LighthouseResult.ProtoReflect.Descriptor instead.

func (*LighthouseResult) GetStdout

func (x *LighthouseResult) GetStdout() []byte

func (*LighthouseResult) ProtoMessage

func (*LighthouseResult) ProtoMessage()

func (*LighthouseResult) ProtoReflect

func (x *LighthouseResult) ProtoReflect() protoreflect.Message

func (*LighthouseResult) Reset

func (x *LighthouseResult) Reset()

func (*LighthouseResult) String

func (x *LighthouseResult) String() string

type LighthouseServiceClient

type LighthouseServiceClient interface {
	Run(ctx context.Context, in *LighthouseRequest, opts ...grpc.CallOption) (*LighthouseResult, error)
}

LighthouseServiceClient is the client API for LighthouseService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type LighthouseServiceServer

type LighthouseServiceServer interface {
	Run(context.Context, *LighthouseRequest) (*LighthouseResult, error)
	// contains filtered or unexported methods
}

LighthouseServiceServer is the server API for LighthouseService service. All implementations must embed UnimplementedLighthouseServiceServer for forward compatibility

type Server

type Server struct {
	UnimplementedLighthouseServiceServer
	UseDocker bool
}

func (*Server) Run

type UnimplementedLighthouseServiceServer

type UnimplementedLighthouseServiceServer struct {
}

UnimplementedLighthouseServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedLighthouseServiceServer) Run

type UnsafeLighthouseServiceServer

type UnsafeLighthouseServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeLighthouseServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LighthouseServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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