properties: {},
},
returns: {
- description: "List the configured datastores.",
+ description: "List the configured datastores (with config digest).",
type: Array,
items: {
type: datastore::DataStoreConfig,
},
},
},
+ returns: {
+ description: "The datastore configuration (with config digest).",
+ type: datastore::DataStoreConfig,
+ },
)]
/// Read a datastore configuration.
pub fn read_datastore(name: String) -> Result<Value, Error> {
properties: {},
},
returns: {
- description: "The list of configured remotes.",
+ description: "The list of configured remotes (with config digest).",
type: Array,
items: {
type: remotes::Remote,
},
},
},
+ returns: {
+ description: "The remote configuration (with config digest).",
+ type: remotes::Remote,
+ },
)]
/// Read remote configuration data.
pub fn read_remote(name: String) -> Result<Value, Error> {