Documentation ¶
Index ¶
Constants ¶
View Source
const ProtectCmdlet = "Protect-Path"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewWindowsDiskManager ¶
func (*Manager) GetFormatter ¶
func (m *Manager) GetFormatter() WindowsDiskFormatter
func (*Manager) GetLinker ¶
func (m *Manager) GetLinker() WindowsDiskLinker
func (*Manager) GetPartitioner ¶
func (m *Manager) GetPartitioner() WindowsDiskPartitioner
func (*Manager) GetProtector ¶
func (m *Manager) GetProtector() WindowsDiskProtector
type Partitioner ¶
func (*Partitioner) GetCountOnDisk ¶
func (p *Partitioner) GetCountOnDisk(diskNumber string) (string, error)
func (*Partitioner) GetFreeSpaceOnDisk ¶
func (p *Partitioner) GetFreeSpaceOnDisk(diskNumber string) (int, error)
func (*Partitioner) InitializeDisk ¶
func (p *Partitioner) InitializeDisk(diskNumber string) error
func (*Partitioner) PartitionDisk ¶
func (p *Partitioner) PartitionDisk(diskNumber string) (string, error)
type Protector ¶
func (*Protector) CommandExists ¶
type WindowsDiskFormatter ¶
type WindowsDiskLinker ¶
type WindowsDiskPartitioner ¶
type WindowsDiskProtector ¶
type WindowsDiskProtector interface {
CommandExists() bool
}
Click to show internal directories.
Click to hide internal directories.