Documentation ¶
Index ¶
- Constants
- type ArchivalClient
- func (f *ArchivalClient) GetAsyncStatus(reqNumber int64) (*AsyncStatus, error)
- func (f *ArchivalClient) GetFileInfo(fileName string) (*FileInfo, error)
- func (f *ArchivalClient) GetMediaInfo(tapeName string) (*TapeInfo, error)
- func (f *ArchivalClient) GetPoolInfo(name string) (*Pool, error)
- func (f *ArchivalClient) GetPoolsInfo() ([]*Pool, error)
- func (f *ArchivalClient) Migrate(file string, poolName string) (bool, error)
- func (f *ArchivalClient) MigrateAsync(file string, poolName string) (int64, error)
- func (f *ArchivalClient) Recall(file string, resident bool) (bool, error)
- func (f *ArchivalClient) RecallAsync(file string, resident bool) (int64, error)
- func (f *ArchivalClient) Retrieve() error
- type AsyncStatus
- type FileInfo
- type Pool
- type TapeInfo
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArchivalClient ¶
type ArchivalClient struct {
// contains filtered or unexported fields
}
func NewArchivalClient ¶
func NewArchivalClient(addr string) (*ArchivalClient, error)
func (*ArchivalClient) GetAsyncStatus ¶
func (f *ArchivalClient) GetAsyncStatus(reqNumber int64) (*AsyncStatus, error)
func (*ArchivalClient) GetFileInfo ¶
func (f *ArchivalClient) GetFileInfo(fileName string) (*FileInfo, error)
func (*ArchivalClient) GetMediaInfo ¶
func (f *ArchivalClient) GetMediaInfo(tapeName string) (*TapeInfo, error)
func (*ArchivalClient) GetPoolInfo ¶
func (f *ArchivalClient) GetPoolInfo(name string) (*Pool, error)
func (*ArchivalClient) GetPoolsInfo ¶
func (f *ArchivalClient) GetPoolsInfo() ([]*Pool, error)
func (*ArchivalClient) Migrate ¶
func (f *ArchivalClient) Migrate(file string, poolName string) (bool, error)
func (*ArchivalClient) MigrateAsync ¶
func (f *ArchivalClient) MigrateAsync(file string, poolName string) (int64, error)
func (*ArchivalClient) Recall ¶
func (f *ArchivalClient) Recall(file string, resident bool) (bool, error)
func (*ArchivalClient) RecallAsync ¶
func (f *ArchivalClient) RecallAsync(file string, resident bool) (int64, error)
func (*ArchivalClient) Retrieve ¶
func (f *ArchivalClient) Retrieve() error
type AsyncStatus ¶
Click to show internal directories.
Click to hide internal directories.