libvirt/docs/devhelp
Miloslav Trmač 9dc3b99345 Secret manipulation API docs refresh & wire up python generator
Sample session:

>>> import libvirt
>>> c = libvirt.open('qemu:///session')

>>> c.listSecrets()
['12247729-47d2-a783-88ce-b329d4781cd3', 'reee', 'abc']

>>> s = c.secretDefineXML("<secret ephemeral='no' private='no'>\n<description>Something for use</description>\n<volume>/foo/bar</volume>\n</secret>\n")

>>> s.UUIDString()
'340c2dfb-811b-eda8-da9e-25ccd7bfd650'

>>> s.XMLDesc()
"<secret ephemeral='no' private='no'>\n  <uuid>340c2dfb-811b-eda8-da9e-25ccd7bfd650</uuid>\n  <description>Something for use</description>\n  <volume>/foo/bar</volume>\n</secret>\n"

>>> s.setValue('abc\0xx\xffx')
0

>>> s.value()
'abc\x00xx\xffx'

>>> s.undefine()
0

* python/generator.py: Add rules for virSecret APIs
* python/libvir.c, python/libvirt-python-api.xml: Manual impl of
  virSecretSetValue, virSecretGetValue$ and virConnectListSecrets APIs
* python/libvirt_wrap.h, python/types.c: Wrapper for virSecret objects
* docs/libvirt-api.xml, docs/libvirt-refs.xml,
  docs/html/libvirt-virterror.html, docs/html/libvirt-libvirt.html,
  docs/devhelp/libvirt-virterror.html, docs/devhelp/libvirt-libvirt.html:
  Re-generate with 'make api'
2009-09-01 18:27:06 +01:00
..
.gitignore generate .gitignore files from .cvsignore ones 2008-10-17 10:03:15 +00:00
devhelp.xsl remove all trailing blank lines 2009-07-16 15:06:42 +02:00
general.html * libvirt.spec.in proxy/Makefile.am src/proxy_internal.c 2006-07-03 13:45:55 +00:00
home.png * configure.in libvirt.spec.in docs/Makefile.am docs/devhelp/*: 2006-02-22 10:54:54 +00:00
html.xsl remove all trailing blank lines 2009-07-16 15:06:42 +02:00
index.html Correct typos in the documentation (Atsushi SAKAI) 2008-01-24 10:15:13 +00:00
left.png * configure.in libvirt.spec.in docs/Makefile.am docs/devhelp/*: 2006-02-22 10:54:54 +00:00
libvirt-conf.html typos fixes 2008-04-04 07:58:29 +00:00
libvirt-libvirt.html Secret manipulation API docs refresh & wire up python generator 2009-09-01 18:27:06 +01:00
libvirt-virterror.html Secret manipulation API docs refresh & wire up python generator 2009-09-01 18:27:06 +01:00
Makefile.am Fix devhelp build dependencies 2009-01-14 17:36:05 +00:00
right.png * configure.in libvirt.spec.in docs/Makefile.am docs/devhelp/*: 2006-02-22 10:54:54 +00:00
style.css Remove all trailing blanks; turn on the rule to detect them. 2008-02-05 19:27:37 +00:00
up.png * configure.in libvirt.spec.in docs/Makefile.am docs/devhelp/*: 2006-02-22 10:54:54 +00:00