Documentation ¶
Overview ¶
Copyright 2021 The Chromium OS Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
Copyright 2021 The Chromium OS Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClient ¶
type FakeClient struct { T *testing.T ExpectedWrites map[string]*repo.Manifest ExpectedDownloads map[string][]byte }
func (*FakeClient) WriteFileToGS ¶
func (f *FakeClient) WriteFileToGS(gsPath gs.Path, data []byte) error
WriteFileToGS writes the specified data to the specified gs path.
type ProdClient ¶
type ProdClient struct {
// contains filtered or unexported fields
}
func NewProdClient ¶
func (*ProdClient) Download ¶
func (g *ProdClient) Download(gsPath gs.Path, localPath string) error
ReadFileFromGS reads the specified path from gs to the specified local path.
func (*ProdClient) WriteFileToGS ¶
func (g *ProdClient) WriteFileToGS(gsPath gs.Path, data []byte) error
WriteFileToGS writes the specified data to the specified gs path.
Click to show internal directories.
Click to hide internal directories.