| Class | Libvirt::Secret |
| In: |
ext/libvirt/_libvirt.c
|
| Parent: | Object |
| USAGE_TYPE_VOLUME | = | INT2NUM(VIR_SECRET_USAGE_TYPE_VOLUME) |
| connection | [R] |
Call virSecretFree to free this secret. After this call the secret object is no longer valid.
/*
* call-seq:
* secret.free -> nil
*
* Call +virSecretFree+[http://www.libvirt.org/html/libvirt-libvirt.html#virSecretFree]
* to free this secret. After this call the secret object is no longer valid.
*/
static VALUE libvirt_secret_free(VALUE s) {
Call virSecretGetValue to retrieve the value from this secret.
/*
* call-seq:
* secret.get_value(flags=0) -> string
*
* Call +virSecretGetValue+[http://www.libvirt.org/html/libvirt-libvirt.html#virSecretGetValue]
* to retrieve the value from this secret.
*/
static VALUE libvirt_secret_get_value(int argc, VALUE *argv, VALUE s) {
Call virSecretSetValue to set a new value in this secret.
/*
* call-seq:
* secret.set_value(value, flags=0) -> nil
*
* Call +virSecretSetValue+[http://www.libvirt.org/html/libvirt-libvirt.html#virSecretSetValue]
* to set a new value in this secret.
*/
static VALUE libvirt_secret_set_value(int argc, VALUE *argv, VALUE s) {
Call virSecretUndefine to undefine this secret.
/*
* call-seq:
* secret.undefine -> nil
*
* Call +virSecretUndefine+[http://www.libvirt.org/html/libvirt-libvirt.html#virSecretUndefine]
* to undefine this secret.
*/
static VALUE libvirt_secret_undefine(VALUE s) {
Call virSecretGetUsageID to retrieve the usageid for this secret.
/*
* call-seq:
* secret.usageid -> string
*
* Call +virSecretGetUsageID+[http://www.libvirt.org/html/libvirt-libvirt.html#virSecretGetUsageID]
* to retrieve the usageid for this secret.
*/
static VALUE libvirt_secret_usageid(VALUE s) {
Call virSecretGetUsageType to retrieve the usagetype for this secret.
/*
* call-seq:
* secret.usagetype -> fixnum
*
* Call +virSecretGetUsageType+[http://www.libvirt.org/html/libvirt-libvirt.html#virSecretGetUsageType]
* to retrieve the usagetype for this secret.
*/
static VALUE libvirt_secret_usagetype(VALUE s) {
Call virSecretGetUUIDString to retrieve the UUID for this secret.
/*
* call-seq:
* secret.uuid -> string
*
* Call +virSecretGetUUIDString+[http://www.libvirt.org/html/libvirt-libvirt.html#virSecretGetUUIDString]
* to retrieve the UUID for this secret.
*/
static VALUE libvirt_secret_uuid(VALUE s) {
Call virSecretGetXMLDesc to retrieve the XML for this secret.
/*
* call-seq:
* secret.xml_desc(flags=0) -> string
*
* Call +virSecretGetXMLDesc+[http://www.libvirt.org/html/libvirt-libvirt.html#virSecretGetXMLDesc]
* to retrieve the XML for this secret.
*/
static VALUE libvirt_secret_xml_desc(int argc, VALUE *argv, VALUE s) {