Documentation
¶
Overview ¶
Package files checks a FileService implementation through the executor client.
Index ¶
Constants ¶
const ChunkBytes = client.ChunkBytes
ChunkBytes is the client's write chunk size.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
func NewClient(t *testing.T, srv executorv1.FileServiceServer) *grpc.ClientConn
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.
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.