Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComputedFile ¶
type Machine ¶
type Machine struct { Machine mdb.Machine ComputedFiles []ComputedFile }
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func New ¶
func New(objSrv objectserver.ObjectServer, logger log.Logger) *Manager
New creates a new *Manager. Object data will be added to the object server objSrv. Only one Manager should be created per application. The logger will be used to log problems.
func (*Manager) Add ¶
Add will add a machine to the Manager. Re-adding a machine will result in a panic. The length of the returned channel buffer is determined by size. A channel is returned from which file information may be read. It is guaranteed that corresponding object data are in the object server before file information is available.
Click to show internal directories.
Click to hide internal directories.