pub enum BuildBinding {
Codebuild(CodebuildBuildBinding),
Aca(AcaBuildBinding),
Cloudbuild(CloudbuildBuildBinding),
Local(LocalBuildBinding),
Kubernetes(KubernetesBuildBinding),
}Expand description
Service-type based build binding that supports multiple build providers
Variants§
Codebuild(CodebuildBuildBinding)
AWS CodeBuild
Aca(AcaBuildBinding)
Azure Container Apps Jobs
Cloudbuild(CloudbuildBuildBinding)
Google Cloud Build
Local(LocalBuildBinding)
Local build execution
Kubernetes(KubernetesBuildBinding)
Kubernetes build execution
Implementations§
Source§impl BuildBinding
impl BuildBinding
Sourcepub fn codebuild(
project_name: impl Into<BindingValue<String>>,
build_env_vars: impl Into<BindingValue<HashMap<String, String>>>,
monitoring: impl Into<BindingValue<Option<MonitoringConfig>>>,
) -> Self
pub fn codebuild( project_name: impl Into<BindingValue<String>>, build_env_vars: impl Into<BindingValue<HashMap<String, String>>>, monitoring: impl Into<BindingValue<Option<MonitoringConfig>>>, ) -> Self
Creates a CodeBuild binding
Sourcepub fn aca(
managed_environment_id: impl Into<BindingValue<String>>,
resource_group_name: impl Into<BindingValue<String>>,
build_env_vars: impl Into<BindingValue<HashMap<String, String>>>,
managed_identity_id: impl Into<BindingValue<Option<String>>>,
resource_prefix: impl Into<BindingValue<String>>,
monitoring: impl Into<BindingValue<Option<MonitoringConfig>>>,
) -> Self
pub fn aca( managed_environment_id: impl Into<BindingValue<String>>, resource_group_name: impl Into<BindingValue<String>>, build_env_vars: impl Into<BindingValue<HashMap<String, String>>>, managed_identity_id: impl Into<BindingValue<Option<String>>>, resource_prefix: impl Into<BindingValue<String>>, monitoring: impl Into<BindingValue<Option<MonitoringConfig>>>, ) -> Self
Creates an ACA (Azure Container Apps) build binding
Sourcepub fn cloudbuild(
build_env_vars: impl Into<BindingValue<HashMap<String, String>>>,
service_account: impl Into<BindingValue<String>>,
monitoring: impl Into<BindingValue<Option<MonitoringConfig>>>,
) -> Self
pub fn cloudbuild( build_env_vars: impl Into<BindingValue<HashMap<String, String>>>, service_account: impl Into<BindingValue<String>>, monitoring: impl Into<BindingValue<Option<MonitoringConfig>>>, ) -> Self
Creates a Cloud Build binding
Sourcepub fn local(
data_dir: impl Into<BindingValue<String>>,
build_env_vars: impl Into<BindingValue<HashMap<String, String>>>,
) -> Self
pub fn local( data_dir: impl Into<BindingValue<String>>, build_env_vars: impl Into<BindingValue<HashMap<String, String>>>, ) -> Self
Creates a local build binding
Sourcepub fn kubernetes(
namespace: impl Into<BindingValue<String>>,
service_account_name: impl Into<BindingValue<String>>,
build_env_vars: impl Into<BindingValue<HashMap<String, String>>>,
) -> Self
pub fn kubernetes( namespace: impl Into<BindingValue<String>>, service_account_name: impl Into<BindingValue<String>>, build_env_vars: impl Into<BindingValue<HashMap<String, String>>>, ) -> Self
Creates a Kubernetes build binding
Trait Implementations§
Source§impl Clone for BuildBinding
impl Clone for BuildBinding
Source§fn clone(&self) -> BuildBinding
fn clone(&self) -> BuildBinding
Returns a duplicate of the value. Read more
1.0.0 · 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 BuildBinding
impl Debug for BuildBinding
Source§impl<'de> Deserialize<'de> for BuildBinding
impl<'de> Deserialize<'de> for BuildBinding
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 PartialEq for BuildBinding
impl PartialEq for BuildBinding
Source§impl Serialize for BuildBinding
impl Serialize for BuildBinding
impl Eq for BuildBinding
impl StructuralPartialEq for BuildBinding
Auto Trait Implementations§
impl Freeze for BuildBinding
impl RefUnwindSafe for BuildBinding
impl Send for BuildBinding
impl Sync for BuildBinding
impl Unpin for BuildBinding
impl UnsafeUnpin for BuildBinding
impl UnwindSafe for BuildBinding
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.