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 ¶ added in v0.26.0
func (*Operation) Pretend ¶ added in v0.26.0
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.