Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions cli/docs/cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -4844,14 +4844,6 @@
{
"long": "description"
},
{
"long": "discoverable",
"values": [
"true",
"false"
],
"help": "A non-discoverable silo can only be retrieved by ID - it will not be part of the \"list all silos\" output."
},
{
"long": "identity-mode",
"values": [
Expand Down
14 changes: 0 additions & 14 deletions cli/src/generated_cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7613,16 +7613,6 @@ impl<T: CliConfig> Cli<T> {
.value_parser(::clap::value_parser!(::std::string::String))
.required_unless_present("json-body"),
)
.arg(
::clap::Arg::new("discoverable")
.long("discoverable")
.value_parser(::clap::value_parser!(bool))
.required_unless_present("json-body")
.help(
"A non-discoverable silo can only be retrieved by ID - it will not be \
part of the \"list all silos\" output.",
),
)
.arg(
::clap::Arg::new("identity-mode")
.long("identity-mode")
Expand Down Expand Up @@ -18763,10 +18753,6 @@ impl<T: CliConfig> Cli<T> {
request = request.body_map(|body| body.description(value.clone()))
}

if let Some(value) = matches.get_one::<bool>("discoverable") {
request = request.body_map(|body| body.discoverable(value.clone()))
}

if let Some(value) = matches.get_one::<types::SiloIdentityMode>("identity-mode") {
request = request.body_map(|body| body.identity_mode(value.clone()))
}
Expand Down
7 changes: 1 addition & 6 deletions oxide.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://oxide.computer",
"email": "api@oxide.computer"
},
"version": "2026091100.0.0"
"version": "2026091500.0.0"
},
"paths": {
"/device/auth": {
Expand Down Expand Up @@ -27724,10 +27724,6 @@
"description": {
"type": "string"
},
"discoverable": {
"description": "A non-discoverable silo can only be retrieved by ID - it will not be part of the \"list all silos\" output.",
"type": "boolean"
},
"identity_mode": {
"$ref": "#/components/schemas/SiloIdentityMode"
},
Expand Down Expand Up @@ -27764,7 +27760,6 @@
},
"required": [
"description",
"discoverable",
"identity_mode",
"name",
"quotas",
Expand Down
21 changes: 2 additions & 19 deletions sdk/src/generated_sdk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10653,9 +10653,6 @@ pub mod types {
#[serde(skip_serializing_if = "::std::option::Option::is_none")]
pub admin_group_name: ::std::option::Option<::std::string::String>,
pub description: ::std::string::String,
/// A non-discoverable silo can only be retrieved by ID - it will not be
/// part of the "list all silos" output.
pub discoverable: bool,
pub identity_mode: SiloIdentityMode,
/// Mapping of which Fleet roles are conferred by each Silo role
///
Expand Down Expand Up @@ -35414,7 +35411,6 @@ pub mod types {
::std::string::String,
>,
description: ::std::result::Result<::std::string::String, ::std::string::String>,
discoverable: ::std::result::Result<bool, ::std::string::String>,
identity_mode: ::std::result::Result<super::SiloIdentityMode, ::std::string::String>,
mapped_fleet_roles: ::std::result::Result<
::std::collections::HashMap<
Expand All @@ -35436,7 +35432,6 @@ pub mod types {
Self {
admin_group_name: Ok(Default::default()),
description: Err("no value supplied for description".to_string()),
discoverable: Err("no value supplied for discoverable".to_string()),
identity_mode: Err("no value supplied for identity_mode".to_string()),
mapped_fleet_roles: Ok(Default::default()),
name: Err("no value supplied for name".to_string()),
Expand Down Expand Up @@ -35467,16 +35462,6 @@ pub mod types {
.map_err(|e| format!("error converting supplied value for description: {e}"));
self
}
pub fn discoverable<T>(mut self, value: T) -> Self
where
T: ::std::convert::TryInto<bool>,
T::Error: ::std::fmt::Display,
{
self.discoverable = value
.try_into()
.map_err(|e| format!("error converting supplied value for discoverable: {e}"));
self
}
pub fn identity_mode<T>(mut self, value: T) -> Self
where
T: ::std::convert::TryInto<super::SiloIdentityMode>,
Expand Down Expand Up @@ -35542,7 +35527,6 @@ pub mod types {
Ok(Self {
admin_group_name: value.admin_group_name?,
description: value.description?,
discoverable: value.discoverable?,
identity_mode: value.identity_mode?,
mapped_fleet_roles: value.mapped_fleet_roles?,
name: value.name?,
Expand All @@ -35557,7 +35541,6 @@ pub mod types {
Self {
admin_group_name: Ok(value.admin_group_name),
description: Ok(value.description),
discoverable: Ok(value.discoverable),
identity_mode: Ok(value.identity_mode),
mapped_fleet_roles: Ok(value.mapped_fleet_roles),
name: Ok(value.name),
Expand Down Expand Up @@ -45368,7 +45351,7 @@ pub mod types {
///
/// API for interacting with the Oxide control plane
///
/// Version: 2026091100.0.0
/// Version: 2026091500.0.0
pub struct Client {
pub(crate) baseurl: String,
pub(crate) client: reqwest::Client,
Expand Down Expand Up @@ -45409,7 +45392,7 @@ impl Client {

impl ClientInfo<()> for Client {
fn api_version() -> &'static str {
"2026091100.0.0"
"2026091500.0.0"
}

fn baseurl(&self) -> &str {
Expand Down
Loading