pub struct DeployConfig {Show 20 fields
pub id: String,
pub name: String,
pub runner: Runner,
pub deployment_method: DeploymentMethod,
pub source_path: Option<String>,
pub kind: Option<String>,
pub remote_path: Option<String>,
pub output_path: Option<String>,
pub build_command: Option<String>,
pub install_command: Option<String>,
pub binary_name: Option<String>,
pub build_target: Option<String>,
pub package_manager: Option<String>,
pub pm2_app: Option<String>,
pub pm2_env: Option<HashMap<String, Value>>,
pub port: Option<u16>,
pub shared_lib_path: Option<String>,
pub project_id: Option<i32>,
pub deploy_repo_id: Option<i64>,
pub repository: Option<String>,
}Expand description
Server-side deploy configuration returned by the API.
The CLI fetches this from GET /v1/frontend_apps/{id}/deploy_config
and merges the populated fields into the local .smb/config.toml.
Fields§
§id: String§name: String§runner: Runner§deployment_method: DeploymentMethod§source_path: Option<String>§kind: Option<String>§remote_path: Option<String>§output_path: Option<String>§build_command: Option<String>§install_command: Option<String>§binary_name: Option<String>§build_target: Option<String>§package_manager: Option<String>§pm2_app: Option<String>§pm2_env: Option<HashMap<String, Value>>§port: Option<u16>§project_id: Option<i32>§deploy_repo_id: Option<i64>§repository: Option<String>Trait Implementations§
Source§impl Clone for DeployConfig
impl Clone for DeployConfig
Source§fn clone(&self) -> DeployConfig
fn clone(&self) -> DeployConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeployConfig
impl Debug for DeployConfig
Source§impl<'de> Deserialize<'de> for DeployConfig
impl<'de> Deserialize<'de> for DeployConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DeployConfig
impl RefUnwindSafe for DeployConfig
impl Send for DeployConfig
impl Sync for DeployConfig
impl Unpin for DeployConfig
impl UnsafeUnpin for DeployConfig
impl UnwindSafe for DeployConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more