2015-04-28 04:22:58 +03:00
< !DOCTYPE node PUBLIC
"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node name= "/" xmlns:doc= "http://www.freedesktop.org/dbus/1.0/doc.dtd" >
2015-09-08 17:31:22 +03:00
<!-- Deployment dictionary keys:
'id' (type 's')
'osname' (type 's')
'serial' (type 'i')
'checksum' (type 's')
'version' (type 's')
'timestamp' (type 't')
'origin' (type 's')
'signatures' (type 'av')
-->
2015-04-28 04:22:58 +03:00
<interface name= "org.projectatomic.rpmostree1.Sysroot" >
<!-- The booted OSName -->
<property name= "Booted" type= "o" access= "read" />
2015-09-02 19:40:50 +03:00
<!-- The system root path -->
<property name= "Path" type= "s" access= "read" />
2015-08-24 21:28:09 +03:00
<!-- The values are (method - name, sender - name) -->
2015-09-29 03:23:15 +03:00
<property name= "ActiveTransaction" type= "(sss)" access= "read" />
2015-05-21 04:52:04 +03:00
<method name= "CreateOSName" >
<arg type= "s" name= "name" />
<arg type= "o" name= "result" direction= "out" />
2015-05-28 01:10:03 +03:00
</method>
<method name= "GetOS" >
<arg name= "name" type= "s" />
<arg name= "object_path" type= "o" direction= "out" />
2015-05-21 04:52:04 +03:00
</method>
2015-09-08 17:31:22 +03:00
<!-- Array of all deployments in boot order -->
<property name= "Deployments" type= "aa{sv}" access= "read" />
2015-05-21 04:52:04 +03:00
</interface>
<interface name= "org.projectatomic.rpmostree1.OS" >
2015-09-08 17:31:22 +03:00
<property name= "BootedDeployment" type= "a{sv}" access= "read" />
<property name= "DefaultDeployment" type= "a{sv}" access= "read" />
<property name= "RollbackDeployment" type= "a{sv}" access= "read" />
2015-09-27 19:44:57 +03:00
<!-- CachedUpdate dictionary keys:
'osname' (type 's')
'checksum' (type 's')
'version' (type 's')
'timestamp' (type 't')
'origin' (type 's')
'signatures' (type 'av')
-->
<property name= "CachedUpdate" type= "a{sv}" access= "read" />
2015-05-21 04:52:04 +03:00
<property name= "HasCachedUpdateRpmDiff" type= "b" access= "read" />
2015-06-10 05:27:39 +03:00
2015-05-21 04:52:04 +03:00
<!-- NONE, DIFF, PREPARE, REBOOT -->
<property name= "AutomaticUpdatePolicy" type= "s" access= "read" />
<property name= "Name" type= "s" access= "read" />
2015-06-10 05:27:39 +03:00
<method name= "GetDeploymentsRpmDiff" >
<arg type= "s" name= "deployid0" />
<arg type= "s" name= "deployid1" />
<arg type= "a(sua{sv})" name= "result" direction= "out" />
</method>
2015-10-20 18:45:11 +03:00
<!-- Revision may be a full checksum or version string.
Available options:
"reboot" (type 'b')
-->
<method name= "Deploy" >
<arg type= "s" name= "revision" direction= "in" />
<arg type= "a{sv}" name= "options" direction= "in" />
<arg type= "s" name= "transaction_address" direction= "out" />
</method>
<!-- Available options:
"allow-downgrade" (type 'b')
"reboot" (type 'b')
-->
<method name= "Upgrade" >
<arg type= "a{sv}" name= "options" direction= "in" />
<arg type= "s" name= "transaction_address" direction= "out" />
</method>
2015-09-29 02:59:58 +03:00
<!-- details dictionary keys:
'osname' (type 's')
'checksum' (type 's')
'version' (type 's')
'timestamp' (type 't')
'origin' (type 's')
'signatures' (type 'av')
-->
2015-05-21 04:52:04 +03:00
<method name= "GetCachedUpdateRpmDiff" >
2015-06-11 05:17:49 +03:00
<arg type= "s" name= "deployid" />
2015-05-21 04:52:04 +03:00
<arg type= "a(sua{sv})" name= "result" direction= "out" />
2015-09-29 02:59:58 +03:00
<arg type= "a{sv}" name= "details" direction= "out" />
2015-05-21 04:52:04 +03:00
</method>
<method name= "DownloadUpdateRpmDiff" >
2015-08-17 20:42:03 +03:00
<arg type= "s" name= "transaction_address" direction= "out" />
2015-05-21 04:52:04 +03:00
</method>
2015-10-06 09:35:10 +03:00
<!-- Available options:
"reboot" (type 'b')
-->
2015-05-21 04:52:04 +03:00
<method name= "Rollback" >
2015-10-02 18:14:30 +03:00
<arg type= "a{sv}" name= "options" direction= "in" />
2015-08-17 20:42:03 +03:00
<arg type= "s" name= "transaction_address" direction= "out" />
2015-05-21 04:52:04 +03:00
</method>
2015-10-06 09:35:10 +03:00
<!-- Available options:
"reboot" (type 'b')
-->
2015-05-21 04:52:04 +03:00
<method name= "ClearRollbackTarget" >
2015-10-02 18:14:30 +03:00
<arg type= "a{sv}" name= "options" direction= "in" />
2015-08-17 20:42:03 +03:00
<arg type= "s" name= "transaction_address" direction= "out" />
2015-05-21 04:52:04 +03:00
</method>
2015-06-11 05:17:49 +03:00
<!-- Available options:
"skip-purge" (type 'b')
2015-10-07 09:33:06 +03:00
"reboot" (type 'b')
2015-06-11 05:17:49 +03:00
-->
2015-05-21 04:52:04 +03:00
<method name= "Rebase" >
2015-06-11 05:17:49 +03:00
<arg type= "a{sv}" name= "options" direction= "in" />
2015-05-21 04:52:04 +03:00
<arg type= "s" name= "refspec" />
<arg type= "as" name= "packages" />
2015-08-17 20:42:03 +03:00
<arg type= "s" name= "transaction_address" direction= "out" />
2015-05-21 04:52:04 +03:00
</method>
2015-09-29 02:59:58 +03:00
<!-- details dictionary keys:
'osname' (type 's')
'checksum' (type 's')
'version' (type 's')
'timestamp' (type 't')
'origin' (type 's')
'signatures' (type 'av')
-->
2015-05-21 04:52:04 +03:00
<method name= "GetCachedRebaseRpmDiff" >
<arg type= "s" name= "refspec" />
<arg type= "as" name= "packages" />
<arg type= "a(sua{sv})" name= "result" direction= "out" />
2015-09-29 02:59:58 +03:00
<arg type= "a{sv}" name= "details" direction= "out" />
2015-05-21 04:52:04 +03:00
</method>
<method name= "DownloadRebaseRpmDiff" >
<arg type= "s" name= "refspec" />
<arg type= "as" name= "packages" />
2015-08-17 20:42:03 +03:00
<arg type= "s" name= "transaction_address" direction= "out" />
2015-05-21 04:52:04 +03:00
</method>
</interface>
<interface name= "org.projectatomic.rpmostree1.Transaction" >
2015-05-25 20:19:21 +03:00
2015-05-21 04:52:04 +03:00
<!-- Yes, we can. -->
2015-08-14 18:17:06 +03:00
<method name= "Cancel" />
2015-08-26 18:29:06 +03:00
<!-- For a client to call when ready to receive signals.
The return boolean indicates whether the transaction was
started by this method call (true) or was already started
by another client (false). -->
<method name= "Start" >
<arg type= "b" name= "started" direction= "out" />
</method>
2015-05-21 04:52:04 +03:00
2015-08-18 23:14:34 +03:00
<signal name= "Finished" >
2015-07-23 18:30:33 +03:00
<arg name= "success" type= "b" direction= "out" />
2015-08-18 23:14:34 +03:00
<arg name= "error_message" type= "s" direction= "out" />
</signal>
2015-07-23 18:30:33 +03:00
2015-05-27 20:38:25 +03:00
<!-- For miscellaneous messages. -->
<signal name= "Message" >
<arg name= "text" type= "s" direction= "out" />
</signal>
2015-05-21 04:52:04 +03:00
<signal name= "DownloadProgress" >
<!-- time data, format is:
start time, elapsed seconds
-->
<arg name= "time" type= "(tt)" direction= "out" />
<!--
outstanding data counts, format is:
(outstanding fetches, outstanding writes)
-->
<arg name= "outstanding" type= "(uu)" direction= "out" />
<!--
metadata counts, format is:
(scanned, fetched, outstanding)
-->
<arg name= "metadata" type= "(uuu)" direction= "out" />
<!--
delta data, format is:
(total parts, fetched parts, total super blocks, total size)
-->
<arg name= "delta" type= "(uuut)" direction= "out" />
<!--
content data, format is:
(fetched, requested)
-->
<arg name= "content" type= "(uu)" direction= "out" />
<!--
transfer data, format is:
(bytes transfered, bytes/s)
-->
<arg name= "transfer" type= "(tt)" direction= "out" />
</signal>
<signal name= "SignatureProgress" >
<!-- An ostree GVariant containing signature data
see ostree_gpg_verify_result_get_all.
-->
<arg name= "signature" type= "av" direction= "out" />
<!-- The signed commit -->
<arg name= "commit" type= "s" direction= "out" />
</signal>
2015-08-07 17:04:07 +03:00
<!-- Indicates progress signals are done and subsequent
Message signals should be output on separate lines. -->
<signal name= "ProgressEnd" />
2015-04-28 04:22:58 +03:00
</interface>
</node>