Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager represents an object for managing and scheduling published data upload to reflectors.
func NewManager ¶
NewManager returns a Manager instance. To initialize a returned instance (connect to the reflector DB), call Initialize() on it.
func (*Manager) Abort ¶
func (r *Manager) Abort()
Abort resets the upload schedule and cancels blob upload after the currently uploading blob is finished.
func (*Manager) Initialize ¶
func (r *Manager) Initialize()
Initialize connects to the reflector database
func (*Manager) IsInitialized ¶
IsInitialized returns true whenever Manager object is ready to use.
func (*Manager) ReflectAll ¶
ReflectAll uploads and then deletes all blobs in the blob directory.
Click to show internal directories.
Click to hide internal directories.