Documentation ¶
Index ¶
- Constants
- type Module
- func (m *Module) AltNames() []string
- func (a Module) GetObject(ctx context.Context, backupID, key string) ([]byte, error)
- func (a Module) HomeDir(backupID string) string
- func (m *Module) Init(ctx context.Context, params moduletools.ModuleInitParams) error
- func (a Module) Initialize(ctx context.Context, backupID string) error
- func (m *Module) IsExternal() bool
- func (m *Module) MetaInfo() (map[string]interface{}, error)
- func (m *Module) Name() string
- func (a Module) PutFile(ctx context.Context, backupID, key, srcPath string) error
- func (a Module) PutObject(ctx context.Context, backupID, key string, data []byte) error
- func (a Module) Read(ctx context.Context, backupID, key string, w io.WriteCloser) (int64, error)
- func (m *Module) RootHandler() http.Handler
- func (a Module) SourceDataPath() string
- func (m *Module) Type() modulecapabilities.ModuleType
- func (a Module) Write(ctx context.Context, backupID, key string, r io.ReadCloser) (written int64, err error)
- func (a Module) WriteToFile(ctx context.Context, backupID, key, destPath string) error
Constants ¶
View Source
const ( Name = "backup-azure" AltName1 = "azure" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
func (*Module) Init ¶
func (m *Module) Init(ctx context.Context, params moduletools.ModuleInitParams, ) error
func (*Module) IsExternal ¶
func (*Module) RootHandler ¶
func (Module) SourceDataPath ¶
func (a Module) SourceDataPath() string
func (*Module) Type ¶
func (m *Module) Type() modulecapabilities.ModuleType
Click to show internal directories.
Click to hide internal directories.