summaryrefslogtreecommitdiff
path: root/src/vyconf_client.mli
diff options
context:
space:
mode:
Diffstat (limited to 'src/vyconf_client.mli')
-rw-r--r--src/vyconf_client.mli6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/vyconf_client.mli b/src/vyconf_client.mli
index 8eaada8..0feb063 100644
--- a/src/vyconf_client.mli
+++ b/src/vyconf_client.mli
@@ -19,7 +19,7 @@ type response = {
}
-val create : ?token:(string option) -> string -> Vyconf_types.request_output_format -> Vyconf_types.request_config_format -> t Lwt.t
+val create : ?token:(string option) -> string -> Vyconf_connect.Vyconf_pbt.request_output_format -> Vyconf_connect.Vyconf_pbt.request_config_format -> t Lwt.t
val get_token : t -> (string, string) result Lwt.t
@@ -29,6 +29,8 @@ val get_status : t -> response Lwt.t
val setup_session : ?on_behalf_of:(int option) -> t -> string -> (t, string) result Lwt.t
+val teardown_session : ?on_behalf_of:(int option) -> t -> (string, string) result Lwt.t
+
val exists : t -> string list -> (string, string) result Lwt.t
val get_value : t -> string list -> (string, string) result Lwt.t
@@ -38,3 +40,5 @@ val get_values : t -> string list -> (string, string) result Lwt.t
val list_children : t -> string list -> (string, string) result Lwt.t
val show_config : t -> string list -> (string, string) result Lwt.t
+
+val validate : t -> string list -> (string, string) result Lwt.t