pub struct DeployerConfig {Show 26 fields
pub capability: DeployerCapability,
pub provider: Provider,
pub strategy: String,
pub tenant: String,
pub environment: String,
pub pack_path: PathBuf,
pub bundle_root: Option<PathBuf>,
pub bundle_source: Option<String>,
pub bundle_digest: Option<String>,
pub repo_registry_base: Option<String>,
pub store_registry_base: Option<String>,
pub providers_dir: PathBuf,
pub packs_dir: PathBuf,
pub provider_pack: Option<PathBuf>,
pub pack_ref: Option<PackRef>,
pub distributor_url: Option<String>,
pub distributor_token: Option<String>,
pub preview: bool,
pub dry_run: bool,
pub execute_local: bool,
pub output: OutputFormat,
pub greentic: GreenticConfig,
pub provenance: ProvenanceMap,
pub config_warnings: Vec<String>,
pub deploy_pack_id_override: Option<String>,
pub deploy_flow_id_override: Option<String>,
}Expand description
Complete configuration used by the deployer runtime.
Fields§
§capability: DeployerCapability§provider: Provider§strategy: String§tenant: String§environment: String§pack_path: PathBuf§bundle_root: Option<PathBuf>§bundle_source: Option<String>§bundle_digest: Option<String>§repo_registry_base: Option<String>§store_registry_base: Option<String>§providers_dir: PathBuf§packs_dir: PathBuf§provider_pack: Option<PathBuf>§pack_ref: Option<PackRef>§distributor_url: Option<String>§distributor_token: Option<String>§preview: bool§dry_run: bool§execute_local: bool§output: OutputFormat§greentic: GreenticConfig§provenance: ProvenanceMap§config_warnings: Vec<String>§deploy_pack_id_override: Option<String>§deploy_flow_id_override: Option<String>Implementations§
Source§impl DeployerConfig
impl DeployerConfig
pub fn resolve(request: DeployerRequest) -> Result<Self>
pub fn deploy_base(&self) -> PathBuf
pub fn runtime_base(&self) -> PathBuf
pub fn output_scope_key(&self) -> String
pub fn provider_output_dir(&self) -> PathBuf
pub fn runtime_output_dir(&self) -> PathBuf
pub fn telemetry_config(&self) -> &TelemetryConfig
pub fn paths(&self) -> &PathsConfig
Trait Implementations§
Source§impl Clone for DeployerConfig
impl Clone for DeployerConfig
Source§fn clone(&self) -> DeployerConfig
fn clone(&self) -> DeployerConfig
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 moreAuto Trait Implementations§
impl Freeze for DeployerConfig
impl RefUnwindSafe for DeployerConfig
impl Send for DeployerConfig
impl Sync for DeployerConfig
impl Unpin for DeployerConfig
impl UnsafeUnpin for DeployerConfig
impl UnwindSafe for DeployerConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::RequestCreates a shared type from an unshared type.