pachyderm: github.com/pachyderm/pachyderm/src/server/pfs Index | Files | Directories

package pfs

import "github.com/pachyderm/pachyderm/src/server/pfs"

Index

Package Files

pfs.go

func ByteRangeSize Uses

func ByteRangeSize(byteRange *pfs.ByteRange) uint64

ByteRangeSize returns byteRange.Upper - byteRange.Lower.

func IsBranchNotFoundErr Uses

func IsBranchNotFoundErr(err error) bool

IsBranchNotFoundErr returns true if 'err' is an error message about a branch not being found

func IsCommitDeletedErr Uses

func IsCommitDeletedErr(err error) bool

IsCommitDeletedErr returns true if 'err' has an error message that matches ErrCommitDeleted

func IsCommitFinishedErr Uses

func IsCommitFinishedErr(err error) bool

IsCommitFinishedErr returns true of 'err' has an error message that matches ErrCommitFinished

func IsCommitNotFoundErr Uses

func IsCommitNotFoundErr(err error) bool

IsCommitNotFoundErr returns true if 'err' has an error message that matches ErrCommitNotFound

func IsFileNotFoundErr Uses

func IsFileNotFoundErr(err error) bool

IsFileNotFoundErr returns true if 'err' is an error message about a PFS file not being found

func IsNoHeadErr Uses

func IsNoHeadErr(err error) bool

IsNoHeadErr returns true if the err is due to an operation that cannot be performed on a headless branch

func IsOutputCommitNotFinishedErr Uses

func IsOutputCommitNotFinishedErr(err error) bool

IsOutputCommitNotFinishedErr returns true if the err is due to an operation that cannot be performed on an unfinished output commit

func IsRepoNotFoundErr Uses

func IsRepoNotFoundErr(err error) bool

IsRepoNotFoundErr returns true if 'err' is an error message about a repo not being found

type ErrCommitDeleted Uses

type ErrCommitDeleted struct {
    Commit *pfs.Commit
}

ErrCommitDeleted represents an error where the commit has been deleted (e.g. from InspectCommit)

func (ErrCommitDeleted) Error Uses

func (e ErrCommitDeleted) Error() string

type ErrCommitExists Uses

type ErrCommitExists struct {
    Commit *pfs.Commit
}

ErrCommitExists represents an error where the commit already exists.

func (ErrCommitExists) Error Uses

func (e ErrCommitExists) Error() string

type ErrCommitFinished Uses

type ErrCommitFinished struct {
    Commit *pfs.Commit
}

ErrCommitFinished represents an error where the commit has been finished (e.g from PutFile or DeleteFile)

func (ErrCommitFinished) Error Uses

func (e ErrCommitFinished) Error() string

type ErrCommitNotFound Uses

type ErrCommitNotFound struct {
    Commit *pfs.Commit
}

ErrCommitNotFound represents a commit-not-found error.

func (ErrCommitNotFound) Error Uses

func (e ErrCommitNotFound) Error() string

type ErrFileNotFound Uses

type ErrFileNotFound struct {
    File *pfs.File
}

ErrFileNotFound represents a file-not-found error.

func (ErrFileNotFound) Error Uses

func (e ErrFileNotFound) Error() string

type ErrNoHead Uses

type ErrNoHead struct {
    Branch *pfs.Branch
}

ErrNoHead represents an error encountered because a branch has no head (e.g. inspectCommit(master) when 'master' has no commits)

func (ErrNoHead) Error Uses

func (e ErrNoHead) Error() string

type ErrOutputCommitNotFinished Uses

type ErrOutputCommitNotFinished struct {
    Commit *pfs.Commit
}

ErrOutputCommitNotFinished represents an error where the commit has not been finished

func (ErrOutputCommitNotFinished) Error Uses

func (e ErrOutputCommitNotFinished) Error() string

type ErrParentCommitNotFound Uses

type ErrParentCommitNotFound struct {
    Commit *pfs.Commit
}

ErrParentCommitNotFound represents a parent-commit-not-found error.

func (ErrParentCommitNotFound) Error Uses

func (e ErrParentCommitNotFound) Error() string

type ErrRepoExists Uses

type ErrRepoExists struct {
    Repo *pfs.Repo
}

ErrRepoExists represents a repo-exists error.

func (ErrRepoExists) Error Uses

func (e ErrRepoExists) Error() string

type ErrRepoNotFound Uses

type ErrRepoNotFound struct {
    Repo *pfs.Repo
}

ErrRepoNotFound represents a repo-not-found error.

func (ErrRepoNotFound) Error Uses

func (e ErrRepoNotFound) Error() string

Directories

PathSynopsis
cmds
fuse
pretty
s3
server

Package pfs imports 4 packages (graph) and is imported by 10 packages. Updated 2019-12-08. Refresh now. Tools for package owners.