Documentation
¶
Overview ¶
Package diskimages2 provides Go bindings for the diskimages2 framework.
Key Types ¶
- DIAttachParams
- DIDeviceHandle
- DIImageInfoParams
- DIResizeParams
- BlankDiskImageCreator
- DICommonAttach
- DICreateASIFParams
Code generated from Apple documentation. DO NOT EDIT.
Index ¶
- func NewErrorBlock(handler ErrorHandler) (objc.ID, func())
- type BaseDiskImageCreator
- type BaseDiskImageCreatorClass
- type BlankDiskImageCreator
- func (b BlankDiskImageCreator) Autorelease() BlankDiskImageCreator
- func (b BlankDiskImageCreator) CreateImageWithNumBlocksError(numBlocks uint64) (bool, error)
- func (b BlankDiskImageCreator) FileSystem() uint64
- func (b BlankDiskImageCreator) Init() BlankDiskImageCreator
- func (b BlankDiskImageCreator) InitWithURLError(url foundation.INSURL) (BlankDiskImageCreator, error)
- func (b BlankDiskImageCreator) SetFileSystem(value uint64)
- type BlankDiskImageCreatorClass
- type DIAttachParams
- func DIAttachParamsFromID(id objc.ID) DIAttachParams
- func NewDIAttachParams() DIAttachParams
- func NewDIAttachParamsWithExistingParamsError(params IDIAttachParams) (DIAttachParams, error)
- func NewDIAttachParamsWithURLError(url foundation.INSURL) (DIAttachParams, error)
- func NewDIAttachParamsWithURLShadowURLsError(url foundation.INSURL, shadowURLs foundation.INSArray) (DIAttachParams, error)
- func (d DIAttachParams) AutoMount() bool
- func (d DIAttachParams) Autorelease() DIAttachParams
- func (d DIAttachParams) BlockSize() uint32
- func (d DIAttachParams) CommandSize() uint64
- func (d DIAttachParams) CustomCacheURL() foundation.INSURL
- func (d DIAttachParams) EmulateExternalDisk() bool
- func (d DIAttachParams) FileMode() int64
- func (d DIAttachParams) HandleRefCount() bool
- func (d DIAttachParams) Init() DIAttachParams
- func (d DIAttachParams) InitWithExistingParamsError(params IDIAttachParams) (DIAttachParams, error)
- func (d DIAttachParams) InitWithURLError(url foundation.INSURL) (DIAttachParams, error)
- func (d DIAttachParams) InitWithURLShadowURLsError(url foundation.INSURL, shadowURLs foundation.INSArray) (DIAttachParams, error)
- func (d DIAttachParams) InputMountedFrom() string
- func (d DIAttachParams) NewAttachWithError() (IDIDeviceHandle, error)
- func (d DIAttachParams) OnDiskCache() bool
- func (d DIAttachParams) RegEntryID() uint64
- func (d DIAttachParams) SetAutoMount(value bool)
- func (d DIAttachParams) SetCommandSize(value uint64)
- func (d DIAttachParams) SetCustomCacheURL(value foundation.INSURL)
- func (d DIAttachParams) SetEmulateExternalDisk(value bool)
- func (d DIAttachParams) SetFileMode(value int64)
- func (d DIAttachParams) SetHandleRefCount(value bool)
- func (d DIAttachParams) SetInputMountedFrom(value string)
- func (d DIAttachParams) SetOnDiskCache(value bool)
- func (d DIAttachParams) SetPassphraseError(passphrase []byte) (bool, error)
- func (d DIAttachParams) SetRegEntryID(value uint64)
- func (d DIAttachParams) SetShouldValidateShadows(value bool)
- func (d DIAttachParams) SetSingleInstanceDaemon(value bool)
- func (d DIAttachParams) SetSuppressSsdFlags(value bool)
- func (d DIAttachParams) SetUniqueDevice(value bool)
- func (d DIAttachParams) SetupDefaults()
- func (d DIAttachParams) ShouldValidateShadows() bool
- func (d DIAttachParams) SingleInstanceDaemon() bool
- func (d DIAttachParams) SuppressSsdFlags() bool
- func (d DIAttachParams) UniqueDevice() bool
- type DIAttachParamsClass
- type DIBaseParams
- type DIBaseParamsClass
- type DICommonAttach
- type DICommonAttachClass
- func (dc DICommonAttachClass) Alloc() DICommonAttach
- func (_DICommonAttachClass DICommonAttachClass) DefaultDiskImageAttachBSDNameError(url foundation.INSURL, bsdName string) (bool, error)
- func (_DICommonAttachClass DICommonAttachClass) DiskImageAttachBSDNameError(url foundation.INSURL, bsdName string) (bool, error)
- func (_DICommonAttachClass DICommonAttachClass) DiskImageAttachReadOnlyAutoMountBSDNameError(url foundation.INSURL, readOnly bool, autoMount bool, bsdName string) (bool, error)
- type DICreateASIFParams
- func (d DICreateASIFParams) Autorelease() DICreateASIFParams
- func (d DICreateASIFParams) BlockSize() uint32
- func (d DICreateASIFParams) Init() DICreateASIFParams
- func (d DICreateASIFParams) InitWithURLNumBlocksError(url foundation.INSURL, numBlocks uint64) (DICreateASIFParams, error)
- func (d DICreateASIFParams) SetBlockSize(value uint32)
- func (d DICreateASIFParams) ValidateBlockSizeSupport() bool
- type DICreateASIFParamsClass
- type DICreateParams
- type DICreateParamsClass
- type DIDeviceHandle
- func (d DIDeviceHandle) AddToRefCountWithError() (bool, error)
- func (d DIDeviceHandle) Autorelease() DIDeviceHandle
- func (d DIDeviceHandle) BSDName() string
- func (d DIDeviceHandle) HandleRefCount() bool
- func (d DIDeviceHandle) Init() DIDeviceHandle
- func (d DIDeviceHandle) InitWithRegEntryID(regEntryID uint64) DIDeviceHandle
- func (d DIDeviceHandle) InitWithRegEntryIDXpcEndpoint(regEntryID uint64, xpcEndpoint foundation.NSXPCListenerEndpoint) DIDeviceHandle
- func (d DIDeviceHandle) RegEntryID() uint64
- func (d DIDeviceHandle) SetBSDName(value string)
- func (d DIDeviceHandle) SetHandleRefCount(value bool)
- func (d DIDeviceHandle) SetXpcEndpoint(value foundation.NSXPCListenerEndpoint)
- func (d DIDeviceHandle) UpdateBSDNameWithBlockDeviceError(blockDevice string) (bool, error)
- func (d DIDeviceHandle) WaitForDeviceWithError() (bool, error)
- func (d DIDeviceHandle) WaitForQuietWithServiceError(service uint32) (bool, error)
- func (d DIDeviceHandle) XpcEndpoint() foundation.NSXPCListenerEndpoint
- type DIDeviceHandleClass
- type DIImageInfoParams
- func (d DIImageInfoParams) Autorelease() DIImageInfoParams
- func (d DIImageInfoParams) EncryptionInfoOnly() bool
- func (d DIImageInfoParams) ExtraInfo() bool
- func (d DIImageInfoParams) ImageInfo() foundation.INSDictionary
- func (d DIImageInfoParams) Init() DIImageInfoParams
- func (d DIImageInfoParams) InitWithExistingParamsError(params IDIImageInfoParams) (DIImageInfoParams, error)
- func (d DIImageInfoParams) InitWithURLError(url foundation.INSURL) (DIImageInfoParams, error)
- func (d DIImageInfoParams) OpenEncryption() bool
- func (d DIImageInfoParams) RetrieveWithError() (bool, error)
- func (d DIImageInfoParams) SetEncryptionInfoOnly(value bool)
- func (d DIImageInfoParams) SetExtraInfo(value bool)
- func (d DIImageInfoParams) SetImageInfo(value foundation.INSDictionary)
- func (d DIImageInfoParams) SetOpenEncryption(value bool)
- type DIImageInfoParamsClass
- type DIResizeParams
- func DIResizeParamsFromID(id objc.ID) DIResizeParams
- func NewDIResizeParams() DIResizeParams
- func NewDIResizeParamsWithExistingParamsSizeError(params IDIResizeParams, size uint64) (DIResizeParams, error)
- func NewDIResizeParamsWithURLSizeError(url foundation.INSURL, size uint64) (DIResizeParams, error)
- func (d DIResizeParams) Autorelease() DIResizeParams
- func (d DIResizeParams) Init() DIResizeParams
- func (d DIResizeParams) InitWithExistingParamsSizeError(params IDIResizeParams, size uint64) (DIResizeParams, error)
- func (d DIResizeParams) InitWithURLSizeError(url foundation.INSURL, size uint64) (DIResizeParams, error)
- func (d DIResizeParams) OpenExistingImageWithError() (bool, error)
- func (d DIResizeParams) ResizeWithError() (bool, error)
- func (d DIResizeParams) SetSize(value uint64)
- func (d DIResizeParams) Size() uint64
- type DIResizeParamsClass
- type ErrorHandler
- type IBaseDiskImageCreator
- type IBlankDiskImageCreator
- type IDIAttachParams
- type IDIBaseParams
- type IDICommonAttach
- type IDICreateASIFParams
- type IDICreateParams
- type IDIDeviceHandle
- type IDIImageInfoParams
- type IDIResizeParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewErrorBlock ¶
func NewErrorBlock(handler ErrorHandler) (objc.ID, func())
NewErrorBlock wraps a Go ErrorHandler as an Objective-C block. The caller must defer the returned cleanup function.
Used by:
Types ¶
type BaseDiskImageCreator ¶
type BaseDiskImageCreator struct {
objectivec.Object
}
A parent class referenced by other diskimages2 classes. [Full Topic]
func BaseDiskImageCreatorFromID ¶
func BaseDiskImageCreatorFromID(id objc.ID) BaseDiskImageCreator
BaseDiskImageCreatorFromID constructs a BaseDiskImageCreator from an objc.ID.
A parent class referenced by other diskimages2 classes.
func NewBaseDiskImageCreator ¶
func NewBaseDiskImageCreator() BaseDiskImageCreator
NewBaseDiskImageCreator creates a new BaseDiskImageCreator instance.
func (BaseDiskImageCreator) Autorelease ¶
func (b BaseDiskImageCreator) Autorelease() BaseDiskImageCreator
Autorelease adds the receiver to the current autorelease pool.
func (BaseDiskImageCreator) Init ¶
func (b BaseDiskImageCreator) Init() BaseDiskImageCreator
Init initializes the instance.
type BaseDiskImageCreatorClass ¶
type BaseDiskImageCreatorClass struct {
// contains filtered or unexported fields
}
func GetBaseDiskImageCreatorClass ¶
func GetBaseDiskImageCreatorClass() BaseDiskImageCreatorClass
GetBaseDiskImageCreatorClass returns the class object for BaseDiskImageCreator.
func (BaseDiskImageCreatorClass) Alloc ¶
func (bc BaseDiskImageCreatorClass) Alloc() BaseDiskImageCreator
Alloc allocates memory for a new instance of the class.
type BlankDiskImageCreator ¶
type BlankDiskImageCreator struct {
BaseDiskImageCreator
}
Methods ¶
- BlankDiskImageCreator.CreateImageWithNumBlocksError
- BlankDiskImageCreator.InitWithURLError
- BlankDiskImageCreator.FileSystem
- BlankDiskImageCreator.SetFileSystem
See: https://developer.apple.com/documentation/DiskImages2/BlankDiskImageCreator
func BlankDiskImageCreatorFromID ¶
func BlankDiskImageCreatorFromID(id objc.ID) BlankDiskImageCreator
BlankDiskImageCreatorFromID constructs a BlankDiskImageCreator from an objc.ID.
func NewBlankDiskImageCreator ¶
func NewBlankDiskImageCreator() BlankDiskImageCreator
NewBlankDiskImageCreator creates a new BlankDiskImageCreator instance.
func NewBlankDiskImageCreatorWithURLError ¶
func NewBlankDiskImageCreatorWithURLError(url foundation.INSURL) (BlankDiskImageCreator, error)
See: https://developer.apple.com/documentation/DiskImages2/BlankDiskImageCreator/initWithURL:error:
func (BlankDiskImageCreator) Autorelease ¶
func (b BlankDiskImageCreator) Autorelease() BlankDiskImageCreator
Autorelease adds the receiver to the current autorelease pool.
func (BlankDiskImageCreator) CreateImageWithNumBlocksError ¶
func (b BlankDiskImageCreator) CreateImageWithNumBlocksError(numBlocks uint64) (bool, error)
func (BlankDiskImageCreator) FileSystem ¶
func (b BlankDiskImageCreator) FileSystem() uint64
See: https://developer.apple.com/documentation/DiskImages2/BlankDiskImageCreator/fileSystem
func (BlankDiskImageCreator) Init ¶
func (b BlankDiskImageCreator) Init() BlankDiskImageCreator
Init initializes the instance.
func (BlankDiskImageCreator) InitWithURLError ¶
func (b BlankDiskImageCreator) InitWithURLError(url foundation.INSURL) (BlankDiskImageCreator, error)
See: https://developer.apple.com/documentation/DiskImages2/BlankDiskImageCreator/initWithURL:error:
func (BlankDiskImageCreator) SetFileSystem ¶
func (b BlankDiskImageCreator) SetFileSystem(value uint64)
type BlankDiskImageCreatorClass ¶
type BlankDiskImageCreatorClass struct {
// contains filtered or unexported fields
}
func GetBlankDiskImageCreatorClass ¶
func GetBlankDiskImageCreatorClass() BlankDiskImageCreatorClass
GetBlankDiskImageCreatorClass returns the class object for BlankDiskImageCreator.
func (BlankDiskImageCreatorClass) Alloc ¶
func (bc BlankDiskImageCreatorClass) Alloc() BlankDiskImageCreator
Alloc allocates memory for a new instance of the class.
type DIAttachParams ¶
type DIAttachParams struct {
DIBaseParams
}
Methods ¶
- DIAttachParams.AutoMount
- DIAttachParams.SetAutoMount
- DIAttachParams.FileMode
- DIAttachParams.SetFileMode
- DIAttachParams.EmulateExternalDisk
- DIAttachParams.SetEmulateExternalDisk
- DIAttachParams.OnDiskCache
- DIAttachParams.SetOnDiskCache
- DIAttachParams.UniqueDevice
- DIAttachParams.SetUniqueDevice
- DIAttachParams.HandleRefCount
- DIAttachParams.SetHandleRefCount
- DIAttachParams.SingleInstanceDaemon
- DIAttachParams.SetSingleInstanceDaemon
- DIAttachParams.SuppressSsdFlags
- DIAttachParams.SetSuppressSsdFlags
- DIAttachParams.ShouldValidateShadows
- DIAttachParams.SetShouldValidateShadows
- DIAttachParams.CommandSize
- DIAttachParams.SetCommandSize
- DIAttachParams.RegEntryID
- DIAttachParams.SetRegEntryID
- DIAttachParams.CustomCacheURL
- DIAttachParams.SetCustomCacheURL
- DIAttachParams.InputMountedFrom
- DIAttachParams.SetInputMountedFrom
- DIAttachParams.SetPassphraseError
- DIAttachParams.NewAttachWithError
- DIAttachParams.SetupDefaults
- DIAttachParams.InitWithURLError
- DIAttachParams.InitWithURLShadowURLsError
- DIAttachParams.InitWithExistingParamsError
- DIAttachParams.BlockSize
See: https://developer.apple.com/documentation/DiskImages2/DIAttachParams
func DIAttachParamsFromID ¶
func DIAttachParamsFromID(id objc.ID) DIAttachParams
DIAttachParamsFromID constructs a DIAttachParams from an objc.ID.
func NewDIAttachParams ¶
func NewDIAttachParams() DIAttachParams
NewDIAttachParams creates a new DIAttachParams instance.
func NewDIAttachParamsWithExistingParamsError ¶
func NewDIAttachParamsWithExistingParamsError(params IDIAttachParams) (DIAttachParams, error)
See: https://developer.apple.com/documentation/DiskImages2/DIAttachParams/initWithExistingParams:error:
func NewDIAttachParamsWithURLError ¶
func NewDIAttachParamsWithURLError(url foundation.INSURL) (DIAttachParams, error)
See: https://developer.apple.com/documentation/DiskImages2/DIAttachParams/initWithURL:error:
func NewDIAttachParamsWithURLShadowURLsError ¶
func NewDIAttachParamsWithURLShadowURLsError(url foundation.INSURL, shadowURLs foundation.INSArray) (DIAttachParams, error)
See: https://developer.apple.com/documentation/DiskImages2/DIAttachParams/initWithURL:shadowURLs:error:
func (DIAttachParams) AutoMount ¶
func (d DIAttachParams) AutoMount() bool
See: https://developer.apple.com/documentation/DiskImages2/DIAttachParams/autoMount
func (DIAttachParams) Autorelease ¶
func (d DIAttachParams) Autorelease() DIAttachParams
Autorelease adds the receiver to the current autorelease pool.
func (DIAttachParams) BlockSize ¶
func (d DIAttachParams) BlockSize() uint32
See: https://developer.apple.com/documentation/DiskImages2/DIAttachParams/blockSize
func (DIAttachParams) CommandSize ¶
func (d DIAttachParams) CommandSize() uint64
See: https://developer.apple.com/documentation/DiskImages2/DIAttachParams/commandSize
func (DIAttachParams) CustomCacheURL ¶
func (d DIAttachParams) CustomCacheURL() foundation.INSURL
See: https://developer.apple.com/documentation/DiskImages2/DIAttachParams/customCacheURL
func (DIAttachParams) EmulateExternalDisk ¶
func (d DIAttachParams) EmulateExternalDisk() bool
See: https://developer.apple.com/documentation/DiskImages2/DIAttachParams/emulateExternalDisk
func (DIAttachParams) FileMode ¶
func (d DIAttachParams) FileMode() int64
See: https://developer.apple.com/documentation/DiskImages2/DIAttachParams/fileMode
func (DIAttachParams) HandleRefCount ¶
func (d DIAttachParams) HandleRefCount() bool
See: https://developer.apple.com/documentation/DiskImages2/DIAttachParams/handleRefCount
func (DIAttachParams) Init ¶
func (d DIAttachParams) Init() DIAttachParams
Init initializes the instance.
func (DIAttachParams) InitWithExistingParamsError ¶
func (d DIAttachParams) InitWithExistingParamsError(params IDIAttachParams) (DIAttachParams, error)
See: https://developer.apple.com/documentation/DiskImages2/DIAttachParams/initWithExistingParams:error:
func (DIAttachParams) InitWithURLError ¶
func (d DIAttachParams) InitWithURLError(url foundation.INSURL) (DIAttachParams, error)
See: https://developer.apple.com/documentation/DiskImages2/DIAttachParams/initWithURL:error:
func (DIAttachParams) InitWithURLShadowURLsError ¶
func (d DIAttachParams) InitWithURLShadowURLsError(url foundation.INSURL, shadowURLs foundation.INSArray) (DIAttachParams, error)
See: https://developer.apple.com/documentation/DiskImages2/DIAttachParams/initWithURL:shadowURLs:error:
func (DIAttachParams) InputMountedFrom ¶
func (d DIAttachParams) InputMountedFrom() string
See: https://developer.apple.com/documentation/DiskImages2/DIAttachParams/inputMountedFrom
func (DIAttachParams) NewAttachWithError ¶
func (d DIAttachParams) NewAttachWithError() (IDIDeviceHandle, error)
See: https://developer.apple.com/documentation/DiskImages2/DIAttachParams/newAttachWithError:
func (DIAttachParams) OnDiskCache ¶
func (d DIAttachParams) OnDiskCache() bool
See: https://developer.apple.com/documentation/DiskImages2/DIAttachParams/onDiskCache
func (DIAttachParams) RegEntryID ¶
func (d DIAttachParams) RegEntryID() uint64
See: https://developer.apple.com/documentation/DiskImages2/DIAttachParams/regEntryID
func (DIAttachParams) SetAutoMount ¶
func (d DIAttachParams) SetAutoMount(value bool)
func (DIAttachParams) SetCommandSize ¶
func (d DIAttachParams) SetCommandSize(value uint64)
func (DIAttachParams) SetCustomCacheURL ¶
func (d DIAttachParams) SetCustomCacheURL(value foundation.INSURL)
func (DIAttachParams) SetEmulateExternalDisk ¶
func (d DIAttachParams) SetEmulateExternalDisk(value bool)
func (DIAttachParams) SetFileMode ¶
func (d DIAttachParams) SetFileMode(value int64)
func (DIAttachParams) SetHandleRefCount ¶
func (d DIAttachParams) SetHandleRefCount(value bool)
func (DIAttachParams) SetInputMountedFrom ¶
func (d DIAttachParams) SetInputMountedFrom(value string)
func (DIAttachParams) SetOnDiskCache ¶
func (d DIAttachParams) SetOnDiskCache(value bool)
func (DIAttachParams) SetPassphraseError ¶
func (d DIAttachParams) SetPassphraseError(passphrase []byte) (bool, error)
See: https://developer.apple.com/documentation/DiskImages2/DIAttachParams/setPassphrase:error:
func (DIAttachParams) SetRegEntryID ¶
func (d DIAttachParams) SetRegEntryID(value uint64)
func (DIAttachParams) SetShouldValidateShadows ¶
func (d DIAttachParams) SetShouldValidateShadows(value bool)
func (DIAttachParams) SetSingleInstanceDaemon ¶
func (d DIAttachParams) SetSingleInstanceDaemon(value bool)
func (DIAttachParams) SetSuppressSsdFlags ¶
func (d DIAttachParams) SetSuppressSsdFlags(value bool)
func (DIAttachParams) SetUniqueDevice ¶
func (d DIAttachParams) SetUniqueDevice(value bool)
func (DIAttachParams) SetupDefaults ¶
func (d DIAttachParams) SetupDefaults()
See: https://developer.apple.com/documentation/DiskImages2/DIAttachParams/setupDefaults
func (DIAttachParams) ShouldValidateShadows ¶
func (d DIAttachParams) ShouldValidateShadows() bool
See: https://developer.apple.com/documentation/DiskImages2/DIAttachParams/shouldValidateShadows
func (DIAttachParams) SingleInstanceDaemon ¶
func (d DIAttachParams) SingleInstanceDaemon() bool
See: https://developer.apple.com/documentation/DiskImages2/DIAttachParams/singleInstanceDaemon
func (DIAttachParams) SuppressSsdFlags ¶
func (d DIAttachParams) SuppressSsdFlags() bool
See: https://developer.apple.com/documentation/DiskImages2/DIAttachParams/suppressSsdFlags
func (DIAttachParams) UniqueDevice ¶
func (d DIAttachParams) UniqueDevice() bool
See: https://developer.apple.com/documentation/DiskImages2/DIAttachParams/uniqueDevice
type DIAttachParamsClass ¶
type DIAttachParamsClass struct {
// contains filtered or unexported fields
}
func GetDIAttachParamsClass ¶
func GetDIAttachParamsClass() DIAttachParamsClass
GetDIAttachParamsClass returns the class object for DIAttachParams.
func (DIAttachParamsClass) Alloc ¶
func (dc DIAttachParamsClass) Alloc() DIAttachParams
Alloc allocates memory for a new instance of the class.
func (DIAttachParamsClass) SupportsSecureCoding ¶
func (_DIAttachParamsClass DIAttachParamsClass) SupportsSecureCoding() bool
See: https://developer.apple.com/documentation/DiskImages2/DIAttachParams/supportsSecureCoding
type DIBaseParams ¶
type DIBaseParams struct {
objectivec.Object
}
A parent class referenced by other diskimages2 classes. [Full Topic]
func DIBaseParamsFromID ¶
func DIBaseParamsFromID(id objc.ID) DIBaseParams
DIBaseParamsFromID constructs a DIBaseParams from an objc.ID.
A parent class referenced by other diskimages2 classes.
func NewDIBaseParams ¶
func NewDIBaseParams() DIBaseParams
NewDIBaseParams creates a new DIBaseParams instance.
func (DIBaseParams) Autorelease ¶
func (d DIBaseParams) Autorelease() DIBaseParams
Autorelease adds the receiver to the current autorelease pool.
type DIBaseParamsClass ¶
type DIBaseParamsClass struct {
// contains filtered or unexported fields
}
func GetDIBaseParamsClass ¶
func GetDIBaseParamsClass() DIBaseParamsClass
GetDIBaseParamsClass returns the class object for DIBaseParams.
func (DIBaseParamsClass) Alloc ¶
func (dc DIBaseParamsClass) Alloc() DIBaseParams
Alloc allocates memory for a new instance of the class.
type DICommonAttach ¶
type DICommonAttach struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/DiskImages2/DICommonAttach
func DICommonAttachFromID ¶
func DICommonAttachFromID(id objc.ID) DICommonAttach
DICommonAttachFromID constructs a DICommonAttach from an objc.ID.
func NewDICommonAttach ¶
func NewDICommonAttach() DICommonAttach
NewDICommonAttach creates a new DICommonAttach instance.
func (DICommonAttach) Autorelease ¶
func (d DICommonAttach) Autorelease() DICommonAttach
Autorelease adds the receiver to the current autorelease pool.
func (DICommonAttach) Init ¶
func (d DICommonAttach) Init() DICommonAttach
Init initializes the instance.
type DICommonAttachClass ¶
type DICommonAttachClass struct {
// contains filtered or unexported fields
}
func GetDICommonAttachClass ¶
func GetDICommonAttachClass() DICommonAttachClass
GetDICommonAttachClass returns the class object for DICommonAttach.
func (DICommonAttachClass) Alloc ¶
func (dc DICommonAttachClass) Alloc() DICommonAttach
Alloc allocates memory for a new instance of the class.
func (DICommonAttachClass) DefaultDiskImageAttachBSDNameError ¶
func (_DICommonAttachClass DICommonAttachClass) DefaultDiskImageAttachBSDNameError(url foundation.INSURL, bsdName string) (bool, error)
func (DICommonAttachClass) DiskImageAttachBSDNameError ¶
func (_DICommonAttachClass DICommonAttachClass) DiskImageAttachBSDNameError(url foundation.INSURL, bsdName string) (bool, error)
See: https://developer.apple.com/documentation/DiskImages2/DICommonAttach/diskImageAttach:BSDName:error:
func (DICommonAttachClass) DiskImageAttachReadOnlyAutoMountBSDNameError ¶
func (_DICommonAttachClass DICommonAttachClass) DiskImageAttachReadOnlyAutoMountBSDNameError(url foundation.INSURL, readOnly bool, autoMount bool, bsdName string) (bool, error)
type DICreateASIFParams ¶
type DICreateASIFParams struct {
DICreateParams
}
Methods ¶
- DICreateASIFParams.ValidateBlockSizeSupport
- DICreateASIFParams.InitWithURLNumBlocksError
- DICreateASIFParams.BlockSize
- DICreateASIFParams.SetBlockSize
See: https://developer.apple.com/documentation/DiskImages2/DICreateASIFParams
func DICreateASIFParamsFromID ¶
func DICreateASIFParamsFromID(id objc.ID) DICreateASIFParams
DICreateASIFParamsFromID constructs a DICreateASIFParams from an objc.ID.
func NewDICreateASIFParams ¶
func NewDICreateASIFParams() DICreateASIFParams
NewDICreateASIFParams creates a new DICreateASIFParams instance.
func NewDICreateASIFParamsWithURLNumBlocksError ¶
func NewDICreateASIFParamsWithURLNumBlocksError(url foundation.INSURL, numBlocks uint64) (DICreateASIFParams, error)
See: https://developer.apple.com/documentation/DiskImages2/DICreateASIFParams/initWithURL:numBlocks:error:
func (DICreateASIFParams) Autorelease ¶
func (d DICreateASIFParams) Autorelease() DICreateASIFParams
Autorelease adds the receiver to the current autorelease pool.
func (DICreateASIFParams) BlockSize ¶
func (d DICreateASIFParams) BlockSize() uint32
See: https://developer.apple.com/documentation/DiskImages2/DICreateASIFParams/blockSize
func (DICreateASIFParams) Init ¶
func (d DICreateASIFParams) Init() DICreateASIFParams
Init initializes the instance.
func (DICreateASIFParams) InitWithURLNumBlocksError ¶
func (d DICreateASIFParams) InitWithURLNumBlocksError(url foundation.INSURL, numBlocks uint64) (DICreateASIFParams, error)
See: https://developer.apple.com/documentation/DiskImages2/DICreateASIFParams/initWithURL:numBlocks:error:
func (DICreateASIFParams) SetBlockSize ¶
func (d DICreateASIFParams) SetBlockSize(value uint32)
func (DICreateASIFParams) ValidateBlockSizeSupport ¶
func (d DICreateASIFParams) ValidateBlockSizeSupport() bool
See: https://developer.apple.com/documentation/DiskImages2/DICreateASIFParams/validateBlockSizeSupport
type DICreateASIFParamsClass ¶
type DICreateASIFParamsClass struct {
// contains filtered or unexported fields
}
func GetDICreateASIFParamsClass ¶
func GetDICreateASIFParamsClass() DICreateASIFParamsClass
GetDICreateASIFParamsClass returns the class object for DICreateASIFParams.
func (DICreateASIFParamsClass) Alloc ¶
func (dc DICreateASIFParamsClass) Alloc() DICreateASIFParams
Alloc allocates memory for a new instance of the class.
type DICreateParams ¶
type DICreateParams struct {
objectivec.Object
}
A parent class referenced by other diskimages2 classes. [Full Topic]
func DICreateParamsFromID ¶
func DICreateParamsFromID(id objc.ID) DICreateParams
DICreateParamsFromID constructs a DICreateParams from an objc.ID.
A parent class referenced by other diskimages2 classes.
func NewDICreateParams ¶
func NewDICreateParams() DICreateParams
NewDICreateParams creates a new DICreateParams instance.
func (DICreateParams) Autorelease ¶
func (d DICreateParams) Autorelease() DICreateParams
Autorelease adds the receiver to the current autorelease pool.
func (DICreateParams) Init ¶
func (d DICreateParams) Init() DICreateParams
Init initializes the instance.
type DICreateParamsClass ¶
type DICreateParamsClass struct {
// contains filtered or unexported fields
}
func GetDICreateParamsClass ¶
func GetDICreateParamsClass() DICreateParamsClass
GetDICreateParamsClass returns the class object for DICreateParams.
func (DICreateParamsClass) Alloc ¶
func (dc DICreateParamsClass) Alloc() DICreateParams
Alloc allocates memory for a new instance of the class.
type DIDeviceHandle ¶
type DIDeviceHandle struct {
objectivec.Object
}
Methods ¶
- DIDeviceHandle.BSDName
- DIDeviceHandle.SetBSDName
- DIDeviceHandle.RegEntryID
- DIDeviceHandle.HandleRefCount
- DIDeviceHandle.SetHandleRefCount
- DIDeviceHandle.WaitForDeviceWithError
- DIDeviceHandle.WaitForQuietWithServiceError
- DIDeviceHandle.AddToRefCountWithError
- DIDeviceHandle.UpdateBSDNameWithBlockDeviceError
- DIDeviceHandle.XpcEndpoint
- DIDeviceHandle.SetXpcEndpoint
- DIDeviceHandle.InitWithRegEntryID
- DIDeviceHandle.InitWithRegEntryIDXpcEndpoint
See: https://developer.apple.com/documentation/DiskImages2/DIDeviceHandle
func DIDeviceHandleFromID ¶
func DIDeviceHandleFromID(id objc.ID) DIDeviceHandle
DIDeviceHandleFromID constructs a DIDeviceHandle from an objc.ID.
func NewDIDeviceHandle ¶
func NewDIDeviceHandle() DIDeviceHandle
NewDIDeviceHandle creates a new DIDeviceHandle instance.
func NewDIDeviceHandleWithRegEntryID ¶
func NewDIDeviceHandleWithRegEntryID(regEntryID uint64) DIDeviceHandle
See: https://developer.apple.com/documentation/DiskImages2/DIDeviceHandle/initWithRegEntryID:
func NewDIDeviceHandleWithRegEntryIDXpcEndpoint ¶
func NewDIDeviceHandleWithRegEntryIDXpcEndpoint(regEntryID uint64, xpcEndpoint foundation.NSXPCListenerEndpoint) DIDeviceHandle
See: https://developer.apple.com/documentation/DiskImages2/DIDeviceHandle/initWithRegEntryID:xpcEndpoint:
func (DIDeviceHandle) AddToRefCountWithError ¶
func (d DIDeviceHandle) AddToRefCountWithError() (bool, error)
See: https://developer.apple.com/documentation/DiskImages2/DIDeviceHandle/addToRefCountWithError:
func (DIDeviceHandle) Autorelease ¶
func (d DIDeviceHandle) Autorelease() DIDeviceHandle
Autorelease adds the receiver to the current autorelease pool.
func (DIDeviceHandle) BSDName ¶
func (d DIDeviceHandle) BSDName() string
See: https://developer.apple.com/documentation/DiskImages2/DIDeviceHandle/BSDName
func (DIDeviceHandle) HandleRefCount ¶
func (d DIDeviceHandle) HandleRefCount() bool
See: https://developer.apple.com/documentation/DiskImages2/DIDeviceHandle/handleRefCount
func (DIDeviceHandle) Init ¶
func (d DIDeviceHandle) Init() DIDeviceHandle
Init initializes the instance.
func (DIDeviceHandle) InitWithRegEntryID ¶
func (d DIDeviceHandle) InitWithRegEntryID(regEntryID uint64) DIDeviceHandle
See: https://developer.apple.com/documentation/DiskImages2/DIDeviceHandle/initWithRegEntryID:
func (DIDeviceHandle) InitWithRegEntryIDXpcEndpoint ¶
func (d DIDeviceHandle) InitWithRegEntryIDXpcEndpoint(regEntryID uint64, xpcEndpoint foundation.NSXPCListenerEndpoint) DIDeviceHandle
See: https://developer.apple.com/documentation/DiskImages2/DIDeviceHandle/initWithRegEntryID:xpcEndpoint:
func (DIDeviceHandle) RegEntryID ¶
func (d DIDeviceHandle) RegEntryID() uint64
See: https://developer.apple.com/documentation/DiskImages2/DIDeviceHandle/regEntryID
func (DIDeviceHandle) SetBSDName ¶
func (d DIDeviceHandle) SetBSDName(value string)
func (DIDeviceHandle) SetHandleRefCount ¶
func (d DIDeviceHandle) SetHandleRefCount(value bool)
func (DIDeviceHandle) SetXpcEndpoint ¶
func (d DIDeviceHandle) SetXpcEndpoint(value foundation.NSXPCListenerEndpoint)
func (DIDeviceHandle) UpdateBSDNameWithBlockDeviceError ¶
func (d DIDeviceHandle) UpdateBSDNameWithBlockDeviceError(blockDevice string) (bool, error)
func (DIDeviceHandle) WaitForDeviceWithError ¶
func (d DIDeviceHandle) WaitForDeviceWithError() (bool, error)
See: https://developer.apple.com/documentation/DiskImages2/DIDeviceHandle/waitForDeviceWithError:
func (DIDeviceHandle) WaitForQuietWithServiceError ¶
func (d DIDeviceHandle) WaitForQuietWithServiceError(service uint32) (bool, error)
See: https://developer.apple.com/documentation/DiskImages2/DIDeviceHandle/waitForQuietWithService:error:
func (DIDeviceHandle) XpcEndpoint ¶
func (d DIDeviceHandle) XpcEndpoint() foundation.NSXPCListenerEndpoint
See: https://developer.apple.com/documentation/DiskImages2/DIDeviceHandle/xpcEndpoint
type DIDeviceHandleClass ¶
type DIDeviceHandleClass struct {
// contains filtered or unexported fields
}
func GetDIDeviceHandleClass ¶
func GetDIDeviceHandleClass() DIDeviceHandleClass
GetDIDeviceHandleClass returns the class object for DIDeviceHandle.
func (DIDeviceHandleClass) Alloc ¶
func (dc DIDeviceHandleClass) Alloc() DIDeviceHandle
Alloc allocates memory for a new instance of the class.
func (DIDeviceHandleClass) SupportsSecureCoding ¶
func (_DIDeviceHandleClass DIDeviceHandleClass) SupportsSecureCoding() bool
See: https://developer.apple.com/documentation/DiskImages2/DIDeviceHandle/supportsSecureCoding
type DIImageInfoParams ¶
type DIImageInfoParams struct {
DIBaseParams
}
Methods ¶
- DIImageInfoParams.ImageInfo
- DIImageInfoParams.SetImageInfo
- DIImageInfoParams.ExtraInfo
- DIImageInfoParams.SetExtraInfo
- DIImageInfoParams.EncryptionInfoOnly
- DIImageInfoParams.SetEncryptionInfoOnly
- DIImageInfoParams.OpenEncryption
- DIImageInfoParams.SetOpenEncryption
- DIImageInfoParams.RetrieveWithError
- DIImageInfoParams.InitWithURLError
- DIImageInfoParams.InitWithExistingParamsError
See: https://developer.apple.com/documentation/DiskImages2/DIImageInfoParams
func DIImageInfoParamsFromID ¶
func DIImageInfoParamsFromID(id objc.ID) DIImageInfoParams
DIImageInfoParamsFromID constructs a DIImageInfoParams from an objc.ID.
func NewDIImageInfoParams ¶
func NewDIImageInfoParams() DIImageInfoParams
NewDIImageInfoParams creates a new DIImageInfoParams instance.
func NewDIImageInfoParamsWithExistingParamsError ¶
func NewDIImageInfoParamsWithExistingParamsError(params IDIImageInfoParams) (DIImageInfoParams, error)
See: https://developer.apple.com/documentation/DiskImages2/DIImageInfoParams/initWithExistingParams:error:
func NewDIImageInfoParamsWithURLError ¶
func NewDIImageInfoParamsWithURLError(url foundation.INSURL) (DIImageInfoParams, error)
See: https://developer.apple.com/documentation/DiskImages2/DIImageInfoParams/initWithURL:error:
func (DIImageInfoParams) Autorelease ¶
func (d DIImageInfoParams) Autorelease() DIImageInfoParams
Autorelease adds the receiver to the current autorelease pool.
func (DIImageInfoParams) EncryptionInfoOnly ¶
func (d DIImageInfoParams) EncryptionInfoOnly() bool
See: https://developer.apple.com/documentation/DiskImages2/DIImageInfoParams/encryptionInfoOnly
func (DIImageInfoParams) ExtraInfo ¶
func (d DIImageInfoParams) ExtraInfo() bool
See: https://developer.apple.com/documentation/DiskImages2/DIImageInfoParams/extraInfo
func (DIImageInfoParams) ImageInfo ¶
func (d DIImageInfoParams) ImageInfo() foundation.INSDictionary
See: https://developer.apple.com/documentation/DiskImages2/DIImageInfoParams/imageInfo
func (DIImageInfoParams) Init ¶
func (d DIImageInfoParams) Init() DIImageInfoParams
Init initializes the instance.
func (DIImageInfoParams) InitWithExistingParamsError ¶
func (d DIImageInfoParams) InitWithExistingParamsError(params IDIImageInfoParams) (DIImageInfoParams, error)
See: https://developer.apple.com/documentation/DiskImages2/DIImageInfoParams/initWithExistingParams:error:
func (DIImageInfoParams) InitWithURLError ¶
func (d DIImageInfoParams) InitWithURLError(url foundation.INSURL) (DIImageInfoParams, error)
See: https://developer.apple.com/documentation/DiskImages2/DIImageInfoParams/initWithURL:error:
func (DIImageInfoParams) OpenEncryption ¶
func (d DIImageInfoParams) OpenEncryption() bool
See: https://developer.apple.com/documentation/DiskImages2/DIImageInfoParams/openEncryption
func (DIImageInfoParams) RetrieveWithError ¶
func (d DIImageInfoParams) RetrieveWithError() (bool, error)
See: https://developer.apple.com/documentation/DiskImages2/DIImageInfoParams/retrieveWithError:
func (DIImageInfoParams) SetEncryptionInfoOnly ¶
func (d DIImageInfoParams) SetEncryptionInfoOnly(value bool)
func (DIImageInfoParams) SetExtraInfo ¶
func (d DIImageInfoParams) SetExtraInfo(value bool)
func (DIImageInfoParams) SetImageInfo ¶
func (d DIImageInfoParams) SetImageInfo(value foundation.INSDictionary)
func (DIImageInfoParams) SetOpenEncryption ¶
func (d DIImageInfoParams) SetOpenEncryption(value bool)
type DIImageInfoParamsClass ¶
type DIImageInfoParamsClass struct {
// contains filtered or unexported fields
}
func GetDIImageInfoParamsClass ¶
func GetDIImageInfoParamsClass() DIImageInfoParamsClass
GetDIImageInfoParamsClass returns the class object for DIImageInfoParams.
func (DIImageInfoParamsClass) Alloc ¶
func (dc DIImageInfoParamsClass) Alloc() DIImageInfoParams
Alloc allocates memory for a new instance of the class.
func (DIImageInfoParamsClass) IsDiskImageWithURL ¶
func (_DIImageInfoParamsClass DIImageInfoParamsClass) IsDiskImageWithURL(url foundation.INSURL) bool
See: https://developer.apple.com/documentation/DiskImages2/DIImageInfoParams/isDiskImageWithURL:
func (DIImageInfoParamsClass) SupportsSecureCoding ¶
func (_DIImageInfoParamsClass DIImageInfoParamsClass) SupportsSecureCoding() bool
See: https://developer.apple.com/documentation/DiskImages2/DIImageInfoParams/supportsSecureCoding
type DIResizeParams ¶
type DIResizeParams struct {
DIBaseParams
}
Methods ¶
- DIResizeParams.Size
- DIResizeParams.SetSize
- DIResizeParams.ResizeWithError
- DIResizeParams.OpenExistingImageWithError
- DIResizeParams.InitWithURLSizeError
- DIResizeParams.InitWithExistingParamsSizeError
See: https://developer.apple.com/documentation/DiskImages2/DIResizeParams
func DIResizeParamsFromID ¶
func DIResizeParamsFromID(id objc.ID) DIResizeParams
DIResizeParamsFromID constructs a DIResizeParams from an objc.ID.
func NewDIResizeParams ¶
func NewDIResizeParams() DIResizeParams
NewDIResizeParams creates a new DIResizeParams instance.
func NewDIResizeParamsWithExistingParamsSizeError ¶
func NewDIResizeParamsWithExistingParamsSizeError(params IDIResizeParams, size uint64) (DIResizeParams, error)
func NewDIResizeParamsWithURLSizeError ¶
func NewDIResizeParamsWithURLSizeError(url foundation.INSURL, size uint64) (DIResizeParams, error)
See: https://developer.apple.com/documentation/DiskImages2/DIResizeParams/initWithURL:size:error:
func (DIResizeParams) Autorelease ¶
func (d DIResizeParams) Autorelease() DIResizeParams
Autorelease adds the receiver to the current autorelease pool.
func (DIResizeParams) Init ¶
func (d DIResizeParams) Init() DIResizeParams
Init initializes the instance.
func (DIResizeParams) InitWithExistingParamsSizeError ¶
func (d DIResizeParams) InitWithExistingParamsSizeError(params IDIResizeParams, size uint64) (DIResizeParams, error)
func (DIResizeParams) InitWithURLSizeError ¶
func (d DIResizeParams) InitWithURLSizeError(url foundation.INSURL, size uint64) (DIResizeParams, error)
See: https://developer.apple.com/documentation/DiskImages2/DIResizeParams/initWithURL:size:error:
func (DIResizeParams) OpenExistingImageWithError ¶
func (d DIResizeParams) OpenExistingImageWithError() (bool, error)
See: https://developer.apple.com/documentation/DiskImages2/DIResizeParams/openExistingImageWithError:
func (DIResizeParams) ResizeWithError ¶
func (d DIResizeParams) ResizeWithError() (bool, error)
See: https://developer.apple.com/documentation/DiskImages2/DIResizeParams/resizeWithError:
func (DIResizeParams) SetSize ¶
func (d DIResizeParams) SetSize(value uint64)
func (DIResizeParams) Size ¶
func (d DIResizeParams) Size() uint64
See: https://developer.apple.com/documentation/DiskImages2/DIResizeParams/size
type DIResizeParamsClass ¶
type DIResizeParamsClass struct {
// contains filtered or unexported fields
}
func GetDIResizeParamsClass ¶
func GetDIResizeParamsClass() DIResizeParamsClass
GetDIResizeParamsClass returns the class object for DIResizeParams.
func (DIResizeParamsClass) Alloc ¶
func (dc DIResizeParamsClass) Alloc() DIResizeParams
Alloc allocates memory for a new instance of the class.
func (DIResizeParamsClass) SupportsSecureCoding ¶
func (_DIResizeParamsClass DIResizeParamsClass) SupportsSecureCoding() bool
See: https://developer.apple.com/documentation/DiskImages2/DIResizeParams/supportsSecureCoding
type ErrorHandler ¶
type ErrorHandler = func()
ErrorHandler is the signature for a completion handler block.
Used by:
type IBaseDiskImageCreator ¶
type IBaseDiskImageCreator interface {
objectivec.IObject
}
An interface definition for the BaseDiskImageCreator class.
type IBlankDiskImageCreator ¶
type IBlankDiskImageCreator interface {
IBaseDiskImageCreator
CreateImageWithNumBlocksError(numBlocks uint64) (bool, error)
InitWithURLError(url foundation.INSURL) (BlankDiskImageCreator, error)
FileSystem() uint64
SetFileSystem(value uint64)
}
An interface definition for the BlankDiskImageCreator class.
Methods ¶
- [IBlankDiskImageCreator.CreateImageWithNumBlocksError]
- [IBlankDiskImageCreator.InitWithURLError]
- [IBlankDiskImageCreator.FileSystem]
- [IBlankDiskImageCreator.SetFileSystem]
See: https://developer.apple.com/documentation/DiskImages2/BlankDiskImageCreator
type IDIAttachParams ¶
type IDIAttachParams interface {
IDIBaseParams
AutoMount() bool
SetAutoMount(value bool)
FileMode() int64
SetFileMode(value int64)
EmulateExternalDisk() bool
SetEmulateExternalDisk(value bool)
OnDiskCache() bool
SetOnDiskCache(value bool)
UniqueDevice() bool
SetUniqueDevice(value bool)
HandleRefCount() bool
SetHandleRefCount(value bool)
SingleInstanceDaemon() bool
SetSingleInstanceDaemon(value bool)
SuppressSsdFlags() bool
SetSuppressSsdFlags(value bool)
ShouldValidateShadows() bool
SetShouldValidateShadows(value bool)
CommandSize() uint64
SetCommandSize(value uint64)
RegEntryID() uint64
SetRegEntryID(value uint64)
CustomCacheURL() foundation.INSURL
SetCustomCacheURL(value foundation.INSURL)
InputMountedFrom() string
SetInputMountedFrom(value string)
SetPassphraseError(passphrase []byte) (bool, error)
NewAttachWithError() (IDIDeviceHandle, error)
SetupDefaults()
InitWithURLError(url foundation.INSURL) (DIAttachParams, error)
InitWithURLShadowURLsError(url foundation.INSURL, shadowURLs foundation.INSArray) (DIAttachParams, error)
InitWithExistingParamsError(params IDIAttachParams) (DIAttachParams, error)
BlockSize() uint32
}
An interface definition for the DIAttachParams class.
Methods ¶
- [IDIAttachParams.AutoMount]
- [IDIAttachParams.SetAutoMount]
- [IDIAttachParams.FileMode]
- [IDIAttachParams.SetFileMode]
- [IDIAttachParams.EmulateExternalDisk]
- [IDIAttachParams.SetEmulateExternalDisk]
- [IDIAttachParams.OnDiskCache]
- [IDIAttachParams.SetOnDiskCache]
- [IDIAttachParams.UniqueDevice]
- [IDIAttachParams.SetUniqueDevice]
- [IDIAttachParams.HandleRefCount]
- [IDIAttachParams.SetHandleRefCount]
- [IDIAttachParams.SingleInstanceDaemon]
- [IDIAttachParams.SetSingleInstanceDaemon]
- [IDIAttachParams.SuppressSsdFlags]
- [IDIAttachParams.SetSuppressSsdFlags]
- [IDIAttachParams.ShouldValidateShadows]
- [IDIAttachParams.SetShouldValidateShadows]
- [IDIAttachParams.CommandSize]
- [IDIAttachParams.SetCommandSize]
- [IDIAttachParams.RegEntryID]
- [IDIAttachParams.SetRegEntryID]
- [IDIAttachParams.CustomCacheURL]
- [IDIAttachParams.SetCustomCacheURL]
- [IDIAttachParams.InputMountedFrom]
- [IDIAttachParams.SetInputMountedFrom]
- [IDIAttachParams.SetPassphraseError]
- [IDIAttachParams.NewAttachWithError]
- [IDIAttachParams.SetupDefaults]
- [IDIAttachParams.InitWithURLError]
- [IDIAttachParams.InitWithURLShadowURLsError]
- [IDIAttachParams.InitWithExistingParamsError]
- [IDIAttachParams.BlockSize]
See: https://developer.apple.com/documentation/DiskImages2/DIAttachParams
type IDIBaseParams ¶
type IDIBaseParams interface {
objectivec.IObject
}
An interface definition for the DIBaseParams class.
type IDICommonAttach ¶
type IDICommonAttach interface {
objectivec.IObject
}
An interface definition for the DICommonAttach class.
See: https://developer.apple.com/documentation/DiskImages2/DICommonAttach
type IDICreateASIFParams ¶
type IDICreateASIFParams interface {
IDICreateParams
ValidateBlockSizeSupport() bool
InitWithURLNumBlocksError(url foundation.INSURL, numBlocks uint64) (DICreateASIFParams, error)
BlockSize() uint32
SetBlockSize(value uint32)
}
An interface definition for the DICreateASIFParams class.
Methods ¶
- [IDICreateASIFParams.ValidateBlockSizeSupport]
- [IDICreateASIFParams.InitWithURLNumBlocksError]
- [IDICreateASIFParams.BlockSize]
- [IDICreateASIFParams.SetBlockSize]
See: https://developer.apple.com/documentation/DiskImages2/DICreateASIFParams
type IDICreateParams ¶
type IDICreateParams interface {
objectivec.IObject
}
An interface definition for the DICreateParams class.
type IDIDeviceHandle ¶
type IDIDeviceHandle interface {
objectivec.IObject
BSDName() string
SetBSDName(value string)
RegEntryID() uint64
HandleRefCount() bool
SetHandleRefCount(value bool)
WaitForDeviceWithError() (bool, error)
WaitForQuietWithServiceError(service uint32) (bool, error)
AddToRefCountWithError() (bool, error)
UpdateBSDNameWithBlockDeviceError(blockDevice string) (bool, error)
XpcEndpoint() foundation.NSXPCListenerEndpoint
SetXpcEndpoint(value foundation.NSXPCListenerEndpoint)
InitWithRegEntryID(regEntryID uint64) DIDeviceHandle
InitWithRegEntryIDXpcEndpoint(regEntryID uint64, xpcEndpoint foundation.NSXPCListenerEndpoint) DIDeviceHandle
}
An interface definition for the DIDeviceHandle class.
Methods ¶
- [IDIDeviceHandle.BSDName]
- [IDIDeviceHandle.SetBSDName]
- [IDIDeviceHandle.RegEntryID]
- [IDIDeviceHandle.HandleRefCount]
- [IDIDeviceHandle.SetHandleRefCount]
- [IDIDeviceHandle.WaitForDeviceWithError]
- [IDIDeviceHandle.WaitForQuietWithServiceError]
- [IDIDeviceHandle.AddToRefCountWithError]
- [IDIDeviceHandle.UpdateBSDNameWithBlockDeviceError]
- [IDIDeviceHandle.XpcEndpoint]
- [IDIDeviceHandle.SetXpcEndpoint]
- [IDIDeviceHandle.InitWithRegEntryID]
- [IDIDeviceHandle.InitWithRegEntryIDXpcEndpoint]
See: https://developer.apple.com/documentation/DiskImages2/DIDeviceHandle
type IDIImageInfoParams ¶
type IDIImageInfoParams interface {
IDIBaseParams
ImageInfo() foundation.INSDictionary
SetImageInfo(value foundation.INSDictionary)
ExtraInfo() bool
SetExtraInfo(value bool)
EncryptionInfoOnly() bool
SetEncryptionInfoOnly(value bool)
OpenEncryption() bool
SetOpenEncryption(value bool)
RetrieveWithError() (bool, error)
InitWithURLError(url foundation.INSURL) (DIImageInfoParams, error)
InitWithExistingParamsError(params IDIImageInfoParams) (DIImageInfoParams, error)
}
An interface definition for the DIImageInfoParams class.
Methods ¶
- [IDIImageInfoParams.ImageInfo]
- [IDIImageInfoParams.SetImageInfo]
- [IDIImageInfoParams.ExtraInfo]
- [IDIImageInfoParams.SetExtraInfo]
- [IDIImageInfoParams.EncryptionInfoOnly]
- [IDIImageInfoParams.SetEncryptionInfoOnly]
- [IDIImageInfoParams.OpenEncryption]
- [IDIImageInfoParams.SetOpenEncryption]
- [IDIImageInfoParams.RetrieveWithError]
- [IDIImageInfoParams.InitWithURLError]
- [IDIImageInfoParams.InitWithExistingParamsError]
See: https://developer.apple.com/documentation/DiskImages2/DIImageInfoParams
type IDIResizeParams ¶
type IDIResizeParams interface {
IDIBaseParams
Size() uint64
SetSize(value uint64)
ResizeWithError() (bool, error)
OpenExistingImageWithError() (bool, error)
InitWithURLSizeError(url foundation.INSURL, size uint64) (DIResizeParams, error)
InitWithExistingParamsSizeError(params IDIResizeParams, size uint64) (DIResizeParams, error)
}
An interface definition for the DIResizeParams class.
Methods ¶
- [IDIResizeParams.Size]
- [IDIResizeParams.SetSize]
- [IDIResizeParams.ResizeWithError]
- [IDIResizeParams.OpenExistingImageWithError]
- [IDIResizeParams.InitWithURLSizeError]
- [IDIResizeParams.InitWithExistingParamsSizeError]
See: https://developer.apple.com/documentation/DiskImages2/DIResizeParams
Source Files
¶
- base_disk_image_creator.gen.go
- blank_disk_image_creator.gen.go
- blocks.gen.go
- di_attach_params.gen.go
- di_base_params.gen.go
- di_common_attach.gen.go
- di_create_asif_params.gen.go
- di_create_params.gen.go
- di_device_handle.gen.go
- di_image_info_params.gen.go
- di_resize_params.gen.go
- doc.gen.go
- functions.gen.go
- generate.go
- types.gen.go
- undefined_types.gen.go