module Secret:sig..end
type 'rw t
type secret_usage_type =
| |
NoType |
|||
| |
Volume |
|||
| |
Ceph |
|||
| |
ISCSI |
|||
| |
TLS |
(* |
Usage type of a secret.
| *) |
val lookup_by_uuid : 'a Libvirt.Connect.t -> Libvirt.uuid -> 'a tval lookup_by_uuid_string : 'a Libvirt.Connect.t -> string -> 'a tval lookup_by_usage : 'a Libvirt.Connect.t ->
secret_usage_type -> string -> 'a tval define_xml : [> `W ] Libvirt.Connect.t -> Libvirt.xml -> Libvirt.rw tval get_uuid : [> `R ] t -> Libvirt.uuidval get_uuid_string : [> `R ] t -> stringval get_usage_type : [> `R ] t -> secret_usage_typeval get_usage_id : [> `R ] t -> stringval get_xml_desc : [> `R ] t -> Libvirt.xmlval set_value : [> `W ] t -> bytes -> unitval get_value : [> `R ] t -> bytesval undefine : [> `W ] t -> unitval free : [> `R ] t -> unit
The secret object is automatically freed if it is garbage
collected. This function just forces it to be freed right
away.
val const : [> `R ] t -> Libvirt.ro tconst conn turns a read/write secret into a read-only
secret. Note that the opposite operation is impossible.