files

package
v0.0.54 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2026 License: Apache-2.0 Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package files checks a FileService implementation through the executor client.

Index

Constants

View Source
const ChunkBytes = client.ChunkBytes

ChunkBytes is the client's write chunk size.

Variables

This section is empty.

Functions

func NewClient

NewClient serves srv in memory and returns a connection to it.

func NewWorkspace

func NewWorkspace(conn grpc.ClientConnInterface, root string) *client.Workspace

NewWorkspace returns the client's Workspace with an empty request context.

func Reason

func Reason(err error) executorv1.ErrorReason

Reason returns the ErrorReason in err.

func Run

func Run(t *testing.T, newTarget func(t *testing.T) Target)

Run runs the Workspace conformance suites through the executor client.

Types

type Target

type Target struct {
	Conn     grpc.ClientConnInterface
	Root     string
	External fsconformance.ExternalAccess
	// Context is sent with every call; nil sends an empty one.
	Context client.RequestContextFunc
}

Target is a fresh service and another actor on the files it serves.

Jump to

Keyboard shortcuts

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