Documentation ¶
Index ¶
- type RBEClient
- func (_m *RBEClient) Close() error
- func (_m *RBEClient) ComputeMerkleTree(ctx context.Context, execRoot string, workingDir string, ...) (digest.Digest, []*uploadinfo.Entry, *client.TreeStats, error)
- func (_m *RBEClient) DownloadDirectory(ctx context.Context, d digest.Digest, execRoot string, ...) (map[string]*client.TreeOutput, *client.MovedBytesMetadata, error)
- func (_m *RBEClient) GetDirectoryTree(ctx context.Context, d *remoteexecution.Digest) ([]*remoteexecution.Directory, error)
- func (_m *RBEClient) UploadIfMissing(ctx context.Context, data ...*uploadinfo.Entry) ([]digest.Digest, int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RBEClient ¶
RBEClient is an autogenerated mock type for the RBEClient type
func NewRBEClient ¶
NewRBEClient creates a new instance of RBEClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RBEClient) ComputeMerkleTree ¶
func (_m *RBEClient) ComputeMerkleTree(ctx context.Context, execRoot string, workingDir string, remoteWorkingDir string, is *command.InputSpec, cache filemetadata.Cache) (digest.Digest, []*uploadinfo.Entry, *client.TreeStats, error)
ComputeMerkleTree provides a mock function with given fields: ctx, execRoot, workingDir, remoteWorkingDir, is, cache
func (*RBEClient) DownloadDirectory ¶
func (_m *RBEClient) DownloadDirectory(ctx context.Context, d digest.Digest, execRoot string, cache filemetadata.Cache) (map[string]*client.TreeOutput, *client.MovedBytesMetadata, error)
DownloadDirectory provides a mock function with given fields: ctx, d, execRoot, cache
func (*RBEClient) GetDirectoryTree ¶
func (_m *RBEClient) GetDirectoryTree(ctx context.Context, d *remoteexecution.Digest) ([]*remoteexecution.Directory, error)
GetDirectoryTree provides a mock function with given fields: ctx, d
Click to show internal directories.
Click to hide internal directories.