Documentation ¶
Index ¶
- Constants
- func ArchiveBin(object interface{}) ([]byte, error)
- func ArchiveXML(object interface{}) (string, error)
- func NewDTActivityTraceTapMessage(object map[string]interface{}, objects []interface{}) interface{}
- func NewDTCPUClusterInfo(object map[string]interface{}, objects []interface{}) interface{}
- func NewDTKTraceTapMessage(object map[string]interface{}, objects []interface{}) interface{}
- func NewDTTapHeartbeatMessage(object map[string]interface{}, objects []interface{}) interface{}
- func NewDTTapMessage(object map[string]interface{}, objects []interface{}) interface{}
- func NewDTTapStatusMessage(object map[string]interface{}, objects []interface{}) interface{}
- func NewNSArray(object map[string]interface{}, objects []interface{}) interface{}
- func NewNSDate(object map[string]interface{}, objects []interface{}) interface{}
- func NewNSError(object map[string]interface{}, objects []interface{}) interface{}
- func NewNSMutableData(object map[string]interface{}, objects []interface{}) interface{}
- func NewNSMutableDictionary(internalDict map[string]interface{}) interface{}
- func NewNSNull() interface{}
- func NewNSNullFromArchived(object map[string]interface{}, objects []interface{}) interface{}
- func NewNSUUIDFromBytes(object map[string]interface{}, objects []interface{}) interface{}
- func NewNSValue(object map[string]interface{}, objects []interface{}) interface{}
- func NewXCActivityRecord(object map[string]interface{}, objects []interface{}) interface{}
- func NewXCTAttachment(object map[string]interface{}, objects []interface{}) interface{}
- func NewXCTCapabilities(object map[string]interface{}, objects []interface{}) interface{}
- func NewXCTIssue(object map[string]interface{}, objects []interface{}) interface{}
- func NewXCTSourceCodeContext(object map[string]interface{}, objects []interface{}) interface{}
- func NewXCTSourceCodeLocation(object map[string]interface{}, objects []interface{}) interface{}
- func NewXCTTestIdentifier(object map[string]interface{}, objects []interface{}) interface{}
- func NewXCTestConfigurationFromBytes(object map[string]interface{}, objects []interface{}) interface{}
- func SetupDecoders()
- func SetupEncoders()
- func Unarchive(xml []byte) (result []interface{}, err error)
- type DTActivityTraceTapMessage
- type DTCPUClusterInfo
- type DTKTraceTapMessage
- type DTTapHeartbeatMessage
- type DTTapMessage
- type DTTapStatusMessage
- type NSArray
- type NSDate
- type NSError
- type NSMutableArray
- type NSMutableDictionary
- type NSNull
- type NSSet
- type NSURL
- type NSUUID
- type NSValue
- type PartiallyExtractedXcTestConfig
- type XCActivityRecord
- type XCTAttachment
- type XCTCapabilities
- type XCTIssue
- type XCTSourceCodeContext
- type XCTSourceCodeLocation
- type XCTTestIdentifier
- type XCTTestIdentifierSet
- type XCTestConfiguration
Constants ¶
View Source
const ( LifetimeKeepAlways = uint64(0) LifetimeDeleteOnSuccess = uint64(1) )
View Source
const (
NsKeyedArchiver = "NSKeyedArchiver"
)
Variables ¶
This section is empty.
Functions ¶
func ArchiveBin ¶
func ArchiveXML ¶
func NewDTActivityTraceTapMessage ¶
func NewDTActivityTraceTapMessage(object map[string]interface{}, objects []interface{}) interface{}
func NewDTCPUClusterInfo ¶ added in v1.0.90
func NewDTCPUClusterInfo(object map[string]interface{}, objects []interface{}) interface{}
func NewDTKTraceTapMessage ¶ added in v1.0.67
func NewDTKTraceTapMessage(object map[string]interface{}, objects []interface{}) interface{}
func NewDTTapHeartbeatMessage ¶
func NewDTTapHeartbeatMessage(object map[string]interface{}, objects []interface{}) interface{}
func NewDTTapMessage ¶ added in v1.0.90
func NewDTTapMessage(object map[string]interface{}, objects []interface{}) interface{}
func NewDTTapStatusMessage ¶ added in v1.0.67
func NewDTTapStatusMessage(object map[string]interface{}, objects []interface{}) interface{}
func NewNSArray ¶ added in v1.0.122
func NewNSArray(object map[string]interface{}, objects []interface{}) interface{}
func NewNSError ¶
func NewNSError(object map[string]interface{}, objects []interface{}) interface{}
func NewNSMutableData ¶ added in v1.0.122
func NewNSMutableData(object map[string]interface{}, objects []interface{}) interface{}
func NewNSMutableDictionary ¶
func NewNSMutableDictionary(internalDict map[string]interface{}) interface{}
func NewNSNullFromArchived ¶
func NewNSNullFromArchived(object map[string]interface{}, objects []interface{}) interface{}
func NewNSUUIDFromBytes ¶
func NewNSUUIDFromBytes(object map[string]interface{}, objects []interface{}) interface{}
func NewNSValue ¶ added in v1.0.67
func NewNSValue(object map[string]interface{}, objects []interface{}) interface{}
func NewXCActivityRecord ¶ added in v1.0.122
func NewXCActivityRecord(object map[string]interface{}, objects []interface{}) interface{}
func NewXCTAttachment ¶ added in v1.0.122
func NewXCTAttachment(object map[string]interface{}, objects []interface{}) interface{}
func NewXCTCapabilities ¶
func NewXCTCapabilities(object map[string]interface{}, objects []interface{}) interface{}
func NewXCTIssue ¶ added in v1.0.122
func NewXCTIssue(object map[string]interface{}, objects []interface{}) interface{}
func NewXCTSourceCodeContext ¶ added in v1.0.122
func NewXCTSourceCodeContext(object map[string]interface{}, objects []interface{}) interface{}
func NewXCTSourceCodeLocation ¶ added in v1.0.122
func NewXCTSourceCodeLocation(object map[string]interface{}, objects []interface{}) interface{}
func NewXCTTestIdentifier ¶ added in v1.0.67
func NewXCTTestIdentifier(object map[string]interface{}, objects []interface{}) interface{}
func NewXCTestConfigurationFromBytes ¶
func NewXCTestConfigurationFromBytes(object map[string]interface{}, objects []interface{}) interface{}
func SetupDecoders ¶
func SetupDecoders()
func SetupEncoders ¶
func SetupEncoders()
func Unarchive ¶
Unarchive extracts NSKeyedArchiver Plists, either in XML or Binary format, and returns an array of the archived objects converted to usable Go Types. Primitives will be extracted just like regular Plist primitives (string, float64, int64, []uint8 etc.). NSArray, NSMutableArray, NSSet and NSMutableSet will transformed into []interface{} NSDictionary and NSMutableDictionary will be transformed into map[string] interface{}. I might add non string keys later.
Types ¶
type DTActivityTraceTapMessage ¶
type DTActivityTraceTapMessage struct {
DTTapMessagePlist map[string]interface{}
}
type DTCPUClusterInfo ¶ added in v1.0.90
type DTKTraceTapMessage ¶ added in v1.0.67
type DTKTraceTapMessage struct {
DTTapMessagePlist map[string]interface{}
}
type DTTapHeartbeatMessage ¶
type DTTapHeartbeatMessage struct {
DTTapMessagePlist map[string]interface{}
}
type DTTapMessage ¶ added in v1.0.90
type DTTapMessage struct {
DTTapMessagePlist map[string]interface{}
}
type DTTapStatusMessage ¶ added in v1.0.67
type DTTapStatusMessage struct {
DTTapMessagePlist map[string]interface{}
}
type NSMutableArray ¶ added in v1.0.122
type NSMutableArray struct {
Values []interface{}
}
type NSMutableDictionary ¶
type NSMutableDictionary struct {
// contains filtered or unexported fields
}
type PartiallyExtractedXcTestConfig ¶
type PartiallyExtractedXcTestConfig struct {
// contains filtered or unexported fields
}
TODO: make this nice, partially extracting objects is not really cool
type XCActivityRecord ¶
type XCTAttachment ¶ added in v1.0.122
type XCTCapabilities ¶
type XCTCapabilities struct {
CapabilitiesDictionary map[string]interface{}
}
type XCTIssue ¶ added in v1.0.122
type XCTIssue struct { RuntimeIssueSeverity uint64 DetailedDescription string CompactDescription string SourceCodeContext XCTSourceCodeContext }
type XCTSourceCodeContext ¶ added in v1.0.122
type XCTSourceCodeContext struct {
Location XCTSourceCodeLocation
}
type XCTSourceCodeLocation ¶ added in v1.0.122
type XCTTestIdentifier ¶ added in v1.0.67
func (XCTTestIdentifier) String ¶ added in v1.0.67
func (x XCTTestIdentifier) String() string
type XCTTestIdentifierSet ¶ added in v1.0.122
type XCTTestIdentifierSet struct {
Identifiers NSMutableArray
}
type XCTestConfiguration ¶
type XCTestConfiguration struct {
// contains filtered or unexported fields
}
func NewXCTestConfiguration ¶
Click to show internal directories.
Click to hide internal directories.