Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeDir ¶
ChangeDir changes into the specified directory. It returns the old directory and a function that can be defered to change back into it.
func CopyCloudRepo ¶
CopyCloudRepo copies down the cloud repo specified with project id and revision and returns a path to the local repo root.
func SetupCloudRepo ¶
func SetupCloudRepo(project string, revision string, localRepoBase string, volumeRepoBase string) (*spb.SourceContext, string, error)
SetupCloudRepo creates a CloudRepo source context and copies down the corresponding cloud repo. The root of the repo is returned together with the source context.
Types ¶
type AccessToken ¶
Click to show internal directories.
Click to hide internal directories.