pfsutil

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2015 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Branch

func Branch(apiClient pfs.ApiClient, repositoryName string, commitID string) (*pfs.BranchResponse, error)

func Commit

func Commit(apiClient pfs.ApiClient, repositoryName string, commitID string) error

func GetCommitInfo

func GetCommitInfo(apiClient pfs.ApiClient, repositoryName string, commitID string) (*pfs.GetCommitInfoResponse, error)

func GetFile

func GetFile(apiClient pfs.ApiClient, repositoryName string, commitID string, path string) (io.Reader, error)

func GetVersion

func GetVersion(apiClient pfs.ApiClient) (*pfs.GetVersionResponse, error)

func InitRepository

func InitRepository(apiClient pfs.ApiClient, repositoryName string) error

func ListFiles

func ListFiles(apiClient pfs.ApiClient, repositoryName string, commitID string, path string, shardNum int, shardModulo int) (*pfs.ListFilesResponse, error)

func MakeDirectory

func MakeDirectory(apiClient pfs.ApiClient, repositoryName string, commitID string, path string) error

func PutFile

func PutFile(apiClient pfs.ApiClient, repositoryName string, commitID string, path string, reader io.Reader) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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