baserpc

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: 12 Imported by: 0

Documentation

Overview

Package baserpc contains implementations of basic gRPC services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FaillogService

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

FaillogService implements tast.cros.baserpc.FaillogService.

func (*FaillogService) Create

Create creates a faillog.tar.gz in target machine.

func (*FaillogService) Remove

Remove removes a previous created faillog.tar.gz in target machine.

type FileSystemService

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

FileSystemService implements tast.cros.baserpc.FileSystem gRPC service.

func (*FileSystemService) ReadDir

ReadDir returns a list of files in a directory.

func (*FileSystemService) ReadFile

ReadFile reads the content of a file.

func (*FileSystemService) Remove

func (*FileSystemService) RemoveAll

RemoveAll removes the path and any children it contains.

func (*FileSystemService) Stat

Stat returns information of a file.

func (*FileSystemService) TempDir

TempDir creates a temporary directory.

func (*FileSystemService) WriteFile

WriteFile writes the content of a file.

Jump to

Keyboard shortcuts

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