Documentation ¶
Index ¶
- type FilerSource
- func (fs *FilerSource) AdjustedUrl(location *filer_pb.Location) string
- func (fs *FilerSource) DoInitialize(address, grpcAddress string, dir string, readChunkFromFiler bool) (err error)
- func (fs *FilerSource) Initialize(configuration util.Configuration, prefix string) error
- func (fs *FilerSource) LookupFileId(part string) (fileUrls []string, err error)
- func (fs *FilerSource) ReadPart(fileId string) (filename string, header http.Header, resp *http.Response, err error)
- func (fs *FilerSource) WithFilerClient(streamingMode bool, fn func(filer_pb.SeaweedFilerClient) error) error
- type ReplicationSource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilerSource ¶
type FilerSource struct { Dir string // contains filtered or unexported fields }
func (*FilerSource) AdjustedUrl ¶
func (fs *FilerSource) AdjustedUrl(location *filer_pb.Location) string
func (*FilerSource) DoInitialize ¶
func (fs *FilerSource) DoInitialize(address, grpcAddress string, dir string, readChunkFromFiler bool) (err error)
func (*FilerSource) Initialize ¶
func (fs *FilerSource) Initialize(configuration util.Configuration, prefix string) error
func (*FilerSource) LookupFileId ¶
func (fs *FilerSource) LookupFileId(part string) (fileUrls []string, err error)
func (*FilerSource) WithFilerClient ¶
func (fs *FilerSource) WithFilerClient(streamingMode bool, fn func(filer_pb.SeaweedFilerClient) error) error
type ReplicationSource ¶
type ReplicationSource interface {
ReadPart(part string) io.ReadCloser
}
Click to show internal directories.
Click to hide internal directories.