source

package
v0.0.0-...-2206af0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 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(hostAndPort string) string

func (*FilerSource) DoInitialize

func (fs *FilerSource) DoInitialize(grpcAddress string, dir string) (err error)

func (*FilerSource) Initialize

func (fs *FilerSource) Initialize(configuration util.Configuration, prefix string) error

func (*FilerSource) LookupFileId

func (fs *FilerSource) LookupFileId(part string) (fileUrl string, err error)

func (*FilerSource) ReadPart

func (fs *FilerSource) ReadPart(part string) (filename string, header http.Header, resp *http.Response, err error)

func (*FilerSource) WithFilerClient

func (fs *FilerSource) WithFilerClient(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