Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operation ¶
type Operation struct {
// contains filtered or unexported fields
}
func (*Operation) CreatePartition ¶
CreatePartition adds the supplied partition to the list of partitions to be created as part of an operation.
func (*Operation) DeletePartition ¶
func (*Operation) Pretend ¶
Pretend is like Commit() but uses the --pretend flag and returns the output on stdout for parsing.
Note: because sgdisk does not do any escaping on its output, callers should ensure
the partitions' labels do not have any nasty characters that will interfere with parsing (e.g. \n)
Click to show internal directories.
Click to hide internal directories.