async fn create_fullnode_set(
        &self,
        num_validators: u32,
        num_fullnodes_per_validator: u32,
        image_tag: &str,
        config_overrides: Vec<String>,
        delete_data: bool,
    ) -> Result<()> {
        let fullnodes = (0..num_validators).flat_map(move |validator_index| {
            let config_overrides = config_overrides.clone();
            (0..num_fullnodes_per_validator).map(move |fullnode_index| {
                let fullnode_config = FullnodeConfig {
                    fullnode_index,
                    num_fullnodes_per_validator,
                    validator_index,
                    num_validators,
                    image_tag: image_tag.to_string(),
                    config_overrides: config_overrides.clone(),
                };
                self.upsert_node(Fullnode(fullnode_config), delete_data)
            })
        });
        try_join_all(fullnodes).await?;
        Ok(())
    }
/// Creates a set of fullnodes with the given `image_tag`
Creates a set of fullnodes with the given `image_tag`
Creates a set of fullnodes with the given ` image_tag `
async fn create_fullnode_set(
        &self,
        num_validators: u32,
        num_fullnodes_per_validator: u32,
        image_tag: &str,
        config_overrides: Vec<String>,
        delete_data: bool,
    ) -> Result<()> {
        let fullnodes = (0..num_validators).flat_map(move |validator_index| {
            let config_overrides = config_overrides.clone();
            (0..num_fullnodes_per_validator).map(move |fullnode_index| {
                let fullnode_config = FullnodeConfig {
                    fullnode_index,
                    num_fullnodes_per_validator,
                    validator_index,
                    num_validators,
                    image_tag: image_tag.to_string(),
                    config_overrides: config_overrides.clone(),
                };
                self.upsert_node(Fullnode(fullnode_config), delete_data)
            })
        });
        try_join_all(fullnodes).await?;
        Ok(())
    }
async fn create_fullnode_set ( & self , num_validators : u32 , num_fullnodes_per_validator : u32 , image_tag : & str , config_overrides : Vec < String > , delete_data : bool , ) -> Result < ( ) > { let fullnodes = ( 0 .. num_validators ) . flat_map ( move | validator_index | { let config_overrides = config_overrides . clone ( ) ; ( 0 .. num_fullnodes_per_validator ) . map ( move | fullnode_index | { let fullnode_config = FullnodeConfig { fullnode_index , num_fullnodes_per_validator , validator_index , num_validators , image_tag : image_tag . to_string ( ) , config_overrides : config_overrides . clone ( ) , } ; self . upsert_node ( Fullnode ( fullnode_config ) , delete_data ) } ) } ) ; try_join_all ( fullnodes ) . await ? ; Ok ( ( ) ) }
Creates a set of fullnodes with the given `image_tag`
Creates a set of fullnodes with the given ` image_tag `
&self
num_validators
u32
num_fullnodes_per_validator
u32
image_tag
&str
config_overrides
Vec<String>
delete_data
bool
&self
num_validators
u32
num_fullnodes_per_validator
u32
image_tag
&str
config_overrides
Vec<String>
delete_data
bool