Documentation
¶
Index ¶
- func EnsureStagingDirPath(fs *irodsclient_fs.FileSystem, stagingPath string) (bool, error)
- func GetResourceServersForDir(fs *irodsclient_fs.FileSystem, targetDir string) ([]string, error)
- func GetStagingDirInTargetPath(fs *irodsclient_fs.FileSystem, targetPath string) string
- func IsSameResourceServer(fs *irodsclient_fs.FileSystem, path1 string, path2 string) (bool, error)
- type Bundle
- func (bundle *Bundle) Add(entry BundleEntry) error
- func (bundle *Bundle) GetBundleFilename() string
- func (bundle *Bundle) GetEntries() []BundleEntry
- func (bundle *Bundle) GetEntryNumber() int
- func (bundle *Bundle) GetID() int64
- func (bundle *Bundle) GetIRODSDir() string
- func (bundle *Bundle) GetManager() *BundleManager
- func (bundle *Bundle) GetSize() int64
- func (bundle *Bundle) IsEmpty() bool
- func (bundle *Bundle) IsFull() bool
- func (bundle *Bundle) IsSameDir(entry BundleEntry) bool
- func (bundle *Bundle) IsSealed() bool
- func (bundle *Bundle) RequireTar() bool
- func (bundle *Bundle) Seal() error
- type BundleEntry
- type BundleManager
- func (manager *BundleManager) Add(bundleEntry BundleEntry) error
- func (manager *BundleManager) ClearIRODSBundles(fs *irodsclient_fs.FileSystem, removeDir bool) error
- func (manager *BundleManager) ClearLocalBundles() error
- func (manager *BundleManager) DoneScheduling()
- func (manager *BundleManager) GetBundles() []*Bundle
- func (manager *BundleManager) GetIRODSStagingDirPath() string
- func (manager *BundleManager) GetLocalTempDirPath() string
- func (manager *BundleManager) IsBundleFilename(p string) bool
- type Tar
- type TarEntry
- type TarTrackerCallBack
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureStagingDirPath ¶
func EnsureStagingDirPath(fs *irodsclient_fs.FileSystem, stagingPath string) (bool, error)
func GetResourceServersForDir ¶
func GetResourceServersForDir(fs *irodsclient_fs.FileSystem, targetDir string) ([]string, error)
func GetStagingDirInTargetPath ¶
func GetStagingDirInTargetPath(fs *irodsclient_fs.FileSystem, targetPath string) string
func IsSameResourceServer ¶
func IsSameResourceServer(fs *irodsclient_fs.FileSystem, path1 string, path2 string) (bool, error)
Types ¶
type Bundle ¶
type Bundle struct {
// contains filtered or unexported fields
}
func NewBundle ¶
func NewBundle(manager *BundleManager, index int64) *Bundle
func (*Bundle) Add ¶
func (bundle *Bundle) Add(entry BundleEntry) error
func (*Bundle) GetBundleFilename ¶
func (*Bundle) GetEntries ¶
func (bundle *Bundle) GetEntries() []BundleEntry
func (*Bundle) GetEntryNumber ¶
func (*Bundle) GetIRODSDir ¶
func (*Bundle) GetManager ¶
func (bundle *Bundle) GetManager() *BundleManager
func (*Bundle) IsSameDir ¶
func (bundle *Bundle) IsSameDir(entry BundleEntry) bool
func (*Bundle) RequireTar ¶
type BundleEntry ¶
type BundleEntry struct {
LocalPath string
TempPath string
IRODSPath string
Size int64
EncryptionMode encryption.EncryptionMode
}
type BundleManager ¶
type BundleManager struct {
// contains filtered or unexported fields
}
func NewBundleManager ¶
func (*BundleManager) Add ¶
func (manager *BundleManager) Add(bundleEntry BundleEntry) error
func (*BundleManager) ClearIRODSBundles ¶
func (manager *BundleManager) ClearIRODSBundles(fs *irodsclient_fs.FileSystem, removeDir bool) error
func (*BundleManager) ClearLocalBundles ¶
func (manager *BundleManager) ClearLocalBundles() error
func (*BundleManager) DoneScheduling ¶
func (manager *BundleManager) DoneScheduling()
func (*BundleManager) GetBundles ¶
func (manager *BundleManager) GetBundles() []*Bundle
func (*BundleManager) GetIRODSStagingDirPath ¶
func (manager *BundleManager) GetIRODSStagingDirPath() string
func (*BundleManager) GetLocalTempDirPath ¶
func (manager *BundleManager) GetLocalTempDirPath() string
func (*BundleManager) IsBundleFilename ¶
func (manager *BundleManager) IsBundleFilename(p string) bool
type Tar ¶
type Tar struct {
// contains filtered or unexported fields
}
func (*Tar) CreateTarball ¶
func (t *Tar) CreateTarball(targetPath string, callback TarTrackerCallBack) error
type TarTrackerCallBack ¶
Click to show internal directories.
Click to hide internal directories.