source

package
v0.0.0-...-5c6c1e7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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) ReadPart

func (fs *FilerSource) ReadPart(fileId string) (filename string, header http.Header, resp *http.Response, 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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL