Documentation
¶
Overview ¶
Package api contains the generated protobufs and gRPC services for labservice.
Index ¶
- Variables
- func FileDescriptorSet() *descriptorpb.FileDescriptorSet
- func RegisterLabServiceServer(s prpc.Registrar, srv LabServiceServer)
- type GetTkoAddressRequest
- type GetTkoAddressResponse
- func (*GetTkoAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTkoAddressResponse) GetSocketPath() string
- func (*GetTkoAddressResponse) ProtoMessage()
- func (x *GetTkoAddressResponse) ProtoReflect() protoreflect.Message
- func (x *GetTkoAddressResponse) Reset()
- func (x *GetTkoAddressResponse) String() string
- type LabServiceClient
- type LabServiceServer
- type UnimplementedLabServiceServer
Constants ¶
This section is empty.
Variables ¶
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 ¶
func (*UnimplementedLabServiceServer) GetTkoAddress(context.Context, *GetTkoAddressRequest) (*GetTkoAddressResponse, error)