pub struct CreateProjectRequest {
pub name: String,
pub description: Option<String>,
pub git_url: Option<String>,
pub git_branch: Option<String>,
pub git_credential_id: Option<String>,
pub build_kind: Option<BuildKind>,
pub build_path: Option<String>,
pub deploy_spec_path: Option<String>,
pub registry_credential_id: Option<String>,
pub default_environment_id: Option<String>,
pub auto_deploy: Option<bool>,
pub poll_interval_secs: Option<u64>,
}Expand description
Body for POST /api/v1/projects.
Fields§
§name: StringProject name (globally unique).
description: Option<String>Free-form description.
git_url: Option<String>Git repository URL.
git_branch: Option<String>Git branch to build from.
git_credential_id: Option<String>Reference to a GitCredential id.
build_kind: Option<BuildKind>How the project is built.
build_path: Option<String>Relative build path within the repo.
deploy_spec_path: Option<String>Relative path (inside the cloned repo) to a DeploymentSpec YAML
that the workflow DeployProject action should apply.
registry_credential_id: Option<String>Reference to a RegistryCredential id.
default_environment_id: Option<String>Default environment id.
auto_deploy: Option<bool>Enable automatic deploy on new commits.
poll_interval_secs: Option<u64>Polling interval in seconds (None = no polling).
Trait Implementations§
Source§impl ComposeSchema for CreateProjectRequest
impl ComposeSchema for CreateProjectRequest
Source§impl Debug for CreateProjectRequest
impl Debug for CreateProjectRequest
Source§impl<'de> Deserialize<'de> for CreateProjectRequest
impl<'de> Deserialize<'de> for CreateProjectRequest
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
Source§impl Serialize for CreateProjectRequest
impl Serialize for CreateProjectRequest
Auto Trait Implementations§
impl Freeze for CreateProjectRequest
impl RefUnwindSafe for CreateProjectRequest
impl Send for CreateProjectRequest
impl Sync for CreateProjectRequest
impl Unpin for CreateProjectRequest
impl UnsafeUnpin for CreateProjectRequest
impl UnwindSafe for CreateProjectRequest
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