api

package
v0.0.0-...-9febfc8 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2025 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Overview

Package api contains the generated protobufs and gRPC services for labservice.

Index

Constants

This section is empty.

Variables

View Source
var File_go_chromium_org_infra_cros_cmd_labservice_api_service_proto protoreflect.FileDescriptor

Functions

func FileDescriptorSet

func FileDescriptorSet() *descriptorpb.FileDescriptorSet

FileDescriptorSet returns a descriptor set for this proto package, which includes all defined services, and all transitive dependencies.

Will not return nil.

Do NOT modify the returned descriptor.

func RegisterLabServiceServer

func RegisterLabServiceServer(s prpc.Registrar, srv LabServiceServer)

Types

type GetTkoAddressRequest

type GetTkoAddressRequest struct {
	// contains filtered or unexported fields
}

func (*GetTkoAddressRequest) Descriptor deprecated

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

Deprecated: Use GetTkoAddressRequest.ProtoReflect.Descriptor instead.

func (*GetTkoAddressRequest) ProtoMessage

func (*GetTkoAddressRequest) ProtoMessage()

func (*GetTkoAddressRequest) ProtoReflect

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

func (*GetTkoAddressRequest) Reset

func (x *GetTkoAddressRequest) Reset()

func (*GetTkoAddressRequest) String

func (x *GetTkoAddressRequest) String() string

type GetTkoAddressResponse

type GetTkoAddressResponse struct {

	// socket_path is the absolute filesystem path to a MySQL socket to the TKO
	// database.
	SocketPath string `protobuf:"bytes,1,opt,name=socket_path,json=socketPath,proto3" json:"socket_path,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTkoAddressResponse) Descriptor deprecated

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

Deprecated: Use GetTkoAddressResponse.ProtoReflect.Descriptor instead.

func (*GetTkoAddressResponse) GetSocketPath

func (x *GetTkoAddressResponse) GetSocketPath() string

func (*GetTkoAddressResponse) ProtoMessage

func (*GetTkoAddressResponse) ProtoMessage()

func (*GetTkoAddressResponse) ProtoReflect

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

func (*GetTkoAddressResponse) Reset

func (x *GetTkoAddressResponse) Reset()

func (*GetTkoAddressResponse) String

func (x *GetTkoAddressResponse) String() string

type LabServiceClient

type LabServiceClient interface {
	GetTkoAddress(ctx context.Context, in *GetTkoAddressRequest, opts ...grpc.CallOption) (*GetTkoAddressResponse, error)
}

LabServiceClient is the client API for LabService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewLabServiceClient

func NewLabServiceClient(cc grpc.ClientConnInterface) LabServiceClient

func NewLabServicePRPCClient

func NewLabServicePRPCClient(client *prpc.Client) LabServiceClient

type LabServiceServer

type LabServiceServer interface {
	GetTkoAddress(context.Context, *GetTkoAddressRequest) (*GetTkoAddressResponse, error)
}

LabServiceServer is the server API for LabService service.

type UnimplementedLabServiceServer

type UnimplementedLabServiceServer struct {
}

UnimplementedLabServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedLabServiceServer) GetTkoAddress

Jump to

Keyboard shortcuts

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