pub struct DeploymentConfigBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> DeploymentConfigBuilder<S>
impl<S: State> DeploymentConfigBuilder<S>
Sourcepub fn build(self) -> DeploymentConfigwhere
S: IsComplete,
pub fn build(self) -> DeploymentConfigwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn stack_settings(
self,
value: StackSettings,
) -> DeploymentConfigBuilder<SetStackSettings<S>>where
S::StackSettings: IsUnset,
pub fn stack_settings(
self,
value: StackSettings,
) -> DeploymentConfigBuilder<SetStackSettings<S>>where
S::StackSettings: IsUnset,
Required.
User-customizable deployment settings (network, deployment model, approvals). Provided by customer via CloudFormation, Terraform, CLI, or Helm.
Sourcepub fn management_config(
self,
value: ManagementConfig,
) -> DeploymentConfigBuilder<SetManagementConfig<S>>where
S::ManagementConfig: IsUnset,
pub fn management_config(
self,
value: ManagementConfig,
) -> DeploymentConfigBuilder<SetManagementConfig<S>>where
S::ManagementConfig: IsUnset,
Sourcepub fn maybe_management_config(
self,
value: Option<ManagementConfig>,
) -> DeploymentConfigBuilder<SetManagementConfig<S>>where
S::ManagementConfig: IsUnset,
pub fn maybe_management_config(
self,
value: Option<ManagementConfig>,
) -> DeploymentConfigBuilder<SetManagementConfig<S>>where
S::ManagementConfig: IsUnset,
Sourcepub fn environment_variables(
self,
value: EnvironmentVariablesSnapshot,
) -> DeploymentConfigBuilder<SetEnvironmentVariables<S>>where
S::EnvironmentVariables: IsUnset,
pub fn environment_variables(
self,
value: EnvironmentVariablesSnapshot,
) -> DeploymentConfigBuilder<SetEnvironmentVariables<S>>where
S::EnvironmentVariables: IsUnset,
Required.
Environment variables snapshot
Sourcepub fn allow_frozen_changes(
self,
value: bool,
) -> DeploymentConfigBuilder<SetAllowFrozenChanges<S>>where
S::AllowFrozenChanges: IsUnset,
pub fn allow_frozen_changes(
self,
value: bool,
) -> DeploymentConfigBuilder<SetAllowFrozenChanges<S>>where
S::AllowFrozenChanges: IsUnset,
Required.
Allow frozen resource changes during updates When true, skips the frozen resources compatibility check. This requires running with elevated cloud credentials.
Sourcepub fn artifact_registry(
self,
value: ArtifactRegistryConfig,
) -> DeploymentConfigBuilder<SetArtifactRegistry<S>>where
S::ArtifactRegistry: IsUnset,
pub fn artifact_registry(
self,
value: ArtifactRegistryConfig,
) -> DeploymentConfigBuilder<SetArtifactRegistry<S>>where
S::ArtifactRegistry: IsUnset,
Sourcepub fn maybe_artifact_registry(
self,
value: Option<ArtifactRegistryConfig>,
) -> DeploymentConfigBuilder<SetArtifactRegistry<S>>where
S::ArtifactRegistry: IsUnset,
pub fn maybe_artifact_registry(
self,
value: Option<ArtifactRegistryConfig>,
) -> DeploymentConfigBuilder<SetArtifactRegistry<S>>where
S::ArtifactRegistry: IsUnset,
Sourcepub fn compute_backend(
self,
value: ComputeBackend,
) -> DeploymentConfigBuilder<SetComputeBackend<S>>where
S::ComputeBackend: IsUnset,
pub fn compute_backend(
self,
value: ComputeBackend,
) -> DeploymentConfigBuilder<SetComputeBackend<S>>where
S::ComputeBackend: IsUnset,
Optional (Some / Option setters).
Compute backend for Container and Function resources. When None, the platform default is used (Horizon for cloud platforms). Contains cluster IDs and management tokens for container orchestration. Machine tokens are stored in environment_variables as built-in secret vars.
Sourcepub fn maybe_compute_backend(
self,
value: Option<ComputeBackend>,
) -> DeploymentConfigBuilder<SetComputeBackend<S>>where
S::ComputeBackend: IsUnset,
pub fn maybe_compute_backend(
self,
value: Option<ComputeBackend>,
) -> DeploymentConfigBuilder<SetComputeBackend<S>>where
S::ComputeBackend: IsUnset,
Optional (Some / Option setters).
Compute backend for Container and Function resources. When None, the platform default is used (Horizon for cloud platforms). Contains cluster IDs and management tokens for container orchestration. Machine tokens are stored in environment_variables as built-in secret vars.
Sourcepub fn external_bindings(
self,
value: ExternalBindings,
) -> DeploymentConfigBuilder<SetExternalBindings<S>>where
S::ExternalBindings: IsUnset,
pub fn external_bindings(
self,
value: ExternalBindings,
) -> DeploymentConfigBuilder<SetExternalBindings<S>>where
S::ExternalBindings: IsUnset,
Required.
External bindings for pre-existing services. Required for Kubernetes platform (all infrastructure resources). Optional for cloud platforms (override specific resources).
Sourcepub fn image_pull_credentials(
self,
value: ImagePullCredentials,
) -> DeploymentConfigBuilder<SetImagePullCredentials<S>>where
S::ImagePullCredentials: IsUnset,
pub fn image_pull_credentials(
self,
value: ImagePullCredentials,
) -> DeploymentConfigBuilder<SetImagePullCredentials<S>>where
S::ImagePullCredentials: IsUnset,
Sourcepub fn maybe_image_pull_credentials(
self,
value: Option<ImagePullCredentials>,
) -> DeploymentConfigBuilder<SetImagePullCredentials<S>>where
S::ImagePullCredentials: IsUnset,
pub fn maybe_image_pull_credentials(
self,
value: Option<ImagePullCredentials>,
) -> DeploymentConfigBuilder<SetImagePullCredentials<S>>where
S::ImagePullCredentials: IsUnset,
Sourcepub fn public_urls(
self,
value: HashMap<String, String>,
) -> DeploymentConfigBuilder<SetPublicUrls<S>>where
S::PublicUrls: IsUnset,
pub fn public_urls(
self,
value: HashMap<String, String>,
) -> DeploymentConfigBuilder<SetPublicUrls<S>>where
S::PublicUrls: IsUnset,
Optional (Some / Option setters).
Public URLs for exposed resources (optional override for all platforms).
- Kubernetes: Pre-computed by Helm from services config (highly recommended)
- Cloud: Optional override of domain_metadata or load balancer DNS
- Local: Optional override of dynamic localhost URLs
If not set, platforms determine public URLs from other sources:
- Cloud: domain_metadata FQDN or load balancer DNS
- Local: http://localhost:{allocated_port}
- Kubernetes: None (unless provided by Helm)
Key: resource ID, Value: public URL (e.g., “https://api.acme.com”)
Sourcepub fn maybe_public_urls(
self,
value: Option<HashMap<String, String>>,
) -> DeploymentConfigBuilder<SetPublicUrls<S>>where
S::PublicUrls: IsUnset,
pub fn maybe_public_urls(
self,
value: Option<HashMap<String, String>>,
) -> DeploymentConfigBuilder<SetPublicUrls<S>>where
S::PublicUrls: IsUnset,
Optional (Some / Option setters).
Public URLs for exposed resources (optional override for all platforms).
- Kubernetes: Pre-computed by Helm from services config (highly recommended)
- Cloud: Optional override of domain_metadata or load balancer DNS
- Local: Optional override of dynamic localhost URLs
If not set, platforms determine public URLs from other sources:
- Cloud: domain_metadata FQDN or load balancer DNS
- Local: http://localhost:{allocated_port}
- Kubernetes: None (unless provided by Helm)
Key: resource ID, Value: public URL (e.g., “https://api.acme.com”)