typec

package
v0.0.0-...-683b059 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2022 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Overview

Package typec provides the Service.

Index

Constants

This section is empty.

Variables

View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use KeyPath.ProtoReflect.Descriptor instead.

func (*KeyPath) GetPath

func (x *KeyPath) GetPath() string

func (*KeyPath) ProtoMessage

func (*KeyPath) ProtoMessage()

func (*KeyPath) ProtoReflect

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

func (*KeyPath) Reset

func (x *KeyPath) Reset()

func (*KeyPath) String

func (x *KeyPath) String() string

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.

func (*UnimplementedServiceServer) NewChromeLoginWithPeripheralDataAccess

func (*UnimplementedServiceServer) NewChromeLoginWithPeripheralDataAccess(context.Context, *KeyPath) (*empty.Empty, error)

Jump to

Keyboard shortcuts

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