Documentation ¶
Overview ¶
Package typec provides the Service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var File_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterServiceServer ¶
func RegisterServiceServer(s *grpc.Server, srv ServiceServer)
Types ¶
type KeyPath ¶
type KeyPath struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
The service modifies the device policy while logging in to enable peripheral data access. In order to do this, we need to send the file path of a stub test service private key which is required by session_manager to store the modified policy (and which should be copied over to the target device by the test code).
func (*KeyPath) Descriptor
deprecated
func (*KeyPath) ProtoMessage ¶
func (*KeyPath) ProtoMessage()
func (*KeyPath) ProtoReflect ¶
func (x *KeyPath) ProtoReflect() protoreflect.Message
type ServiceClient ¶
type ServiceClient interface {
NewChromeLoginWithPeripheralDataAccess(ctx context.Context, in *KeyPath, opts ...grpc.CallOption) (*empty.Empty, error)
}
ServiceClient is the client API for Service service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewServiceClient ¶
func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient
type ServiceServer ¶
type ServiceServer interface {
NewChromeLoginWithPeripheralDataAccess(context.Context, *KeyPath) (*empty.Empty, error)
}
ServiceServer is the server API for Service service.
type UnimplementedServiceServer ¶
type UnimplementedServiceServer struct { }
UnimplementedServiceServer can be embedded to have forward compatible implementations.