Documentation ¶
Index ¶
- type FairClient
- func (fs *FairClient) AbortUpdate(source string) error
- func (fs *FairClient) AddArchive(name, description string) error
- func (fs *FairClient) AddArchiveItem(archive, uuid string) error
- func (fs *FairClient) Create(item *fair.ItemData) (*fair.ItemData, error)
- func (fs *FairClient) EndUpdate(source string) error
- func (fs *FairClient) GetArchiveItem(archive, uuid string) error
- func (fs *FairClient) Ping() error
- func (fs *FairClient) ReadOriginalData(item *fair.ItemData) ([]byte, error)
- func (fs *FairClient) SetSource(src *fair.Source) error
- func (fs *FairClient) StartUpdate(source string) error
- func (fs *FairClient) WriteOriginalData(item *fair.ItemData, data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FairClient ¶
type FairClient struct {
// contains filtered or unexported fields
}
func NewFairService ¶
func (*FairClient) AbortUpdate ¶
func (fs *FairClient) AbortUpdate(source string) error
func (*FairClient) AddArchive ¶ added in v2.0.6
func (fs *FairClient) AddArchive(name, description string) error
func (*FairClient) AddArchiveItem ¶ added in v2.0.6
func (fs *FairClient) AddArchiveItem(archive, uuid string) error
func (*FairClient) EndUpdate ¶
func (fs *FairClient) EndUpdate(source string) error
func (*FairClient) GetArchiveItem ¶ added in v2.0.6
func (fs *FairClient) GetArchiveItem(archive, uuid string) error
func (*FairClient) Ping ¶ added in v2.0.3
func (fs *FairClient) Ping() error
func (*FairClient) ReadOriginalData ¶ added in v2.0.4
func (fs *FairClient) ReadOriginalData(item *fair.ItemData) ([]byte, error)
func (*FairClient) SetSource ¶ added in v2.0.5
func (fs *FairClient) SetSource(src *fair.Source) error
func (*FairClient) StartUpdate ¶
func (fs *FairClient) StartUpdate(source string) error
func (*FairClient) WriteOriginalData ¶ added in v2.0.4
func (fs *FairClient) WriteOriginalData(item *fair.ItemData, data []byte) error
Click to show internal directories.
Click to hide internal directories.