Documentation
¶
Index ¶
- Constants
- type Module
- func (m *Module) AllBackups(context.Context) ([]*backup.DistributedBackupDescriptor, error)
- func (m *Module) AltNames() []string
- func (m *Module) GetObject(ctx context.Context, backupID, key, overrideBucket, overridePath string) ([]byte, error)
- func (m *Module) HomeDir(backupID, overrideBucket, overridePath string) string
- func (m *Module) Init(ctx context.Context, params moduletools.ModuleInitParams) error
- func (m *Module) Initialize(ctx context.Context, backupID, overrideBucket, overridePath string) error
- func (m *Module) IsExternal() bool
- func (m *Module) MetaInfo() (map[string]interface{}, error)
- func (m *Module) Name() string
- func (m *Module) PutObject(ctx context.Context, backupID, key, bucket, overridePath string, byes []byte) error
- func (m *Module) Read(ctx context.Context, backupID, key, overrideBucket, overridePath string, ...) (int64, error)
- func (m *Module) RootHandler() http.Handler
- func (m *Module) SourceDataPath() string
- func (m *Module) Type() modulecapabilities.ModuleType
- func (m *Module) Write(ctx context.Context, backupID, key, overrideBucket, overridePath string, ...) (int64, error)
- func (m *Module) WriteToFile(ctx context.Context, ...) error
Constants ¶
View Source
const ( Name = "backup-filesystem" AltName1 = "filesystem" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
func (*Module) AllBackups ¶ added in v1.27.4
func (*Module) Init ¶
func (m *Module) Init(ctx context.Context, params moduletools.ModuleInitParams, ) error
func (*Module) Initialize ¶
func (*Module) IsExternal ¶
func (*Module) RootHandler ¶
func (*Module) SourceDataPath ¶
func (*Module) Type ¶
func (m *Module) Type() modulecapabilities.ModuleType
Click to show internal directories.
Click to hide internal directories.