Struct google_api_proto::google::cloud::deploy::v1::ExecutionConfig
source · pub struct ExecutionConfig {
pub usages: Vec<i32>,
pub worker_pool: String,
pub service_account: String,
pub artifact_storage: String,
pub execution_timeout: Option<Duration>,
pub verbose: bool,
pub execution_environment: Option<ExecutionEnvironment>,
}
Expand description
Configuration of the environment to use when calling Skaffold.
Fields§
§usages: Vec<i32>
Required. Usages when this configuration should be applied.
worker_pool: String
Optional. The resource name of the WorkerPool
, with the format
projects/{project}/locations/{location}/workerPools/{worker_pool}
.
If this optional field is unspecified, the default Cloud Build pool will be
used.
service_account: String
Optional. Google service account to use for execution. If unspecified, the project execution service account (<PROJECT_NUMBER>-compute@developer.gserviceaccount.com) is used.
artifact_storage: String
Optional. Cloud Storage location in which to store execution outputs. This can either be a bucket (“gs://my-bucket”) or a path within a bucket (“gs://my-bucket/my-dir”). If unspecified, a default bucket located in the same region will be used.
execution_timeout: Option<Duration>
Optional. Execution timeout for a Cloud Build Execution. This must be between 10m and 24h in seconds format. If unspecified, a default timeout of 1h is used.
verbose: bool
Optional. If true, additional logging will be enabled when running builds in this execution environment.
execution_environment: Option<ExecutionEnvironment>
Details of the environment.
Implementations§
source§impl ExecutionConfig
impl ExecutionConfig
sourcepub fn usages(
&self,
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<ExecutionEnvironmentUsage>>
pub fn usages( &self, ) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<ExecutionEnvironmentUsage>>
Returns an iterator which yields the valid enum values contained in usages
.
sourcepub fn push_usages(&mut self, value: ExecutionEnvironmentUsage)
pub fn push_usages(&mut self, value: ExecutionEnvironmentUsage)
Appends the provided enum value to usages
.
Trait Implementations§
source§impl Clone for ExecutionConfig
impl Clone for ExecutionConfig
source§fn clone(&self) -> ExecutionConfig
fn clone(&self) -> ExecutionConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExecutionConfig
impl Debug for ExecutionConfig
source§impl Default for ExecutionConfig
impl Default for ExecutionConfig
source§impl Message for ExecutionConfig
impl Message for ExecutionConfig
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ExecutionConfig
impl PartialEq for ExecutionConfig
source§fn eq(&self, other: &ExecutionConfig) -> bool
fn eq(&self, other: &ExecutionConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExecutionConfig
Auto Trait Implementations§
impl Freeze for ExecutionConfig
impl RefUnwindSafe for ExecutionConfig
impl Send for ExecutionConfig
impl Sync for ExecutionConfig
impl Unpin for ExecutionConfig
impl UnwindSafe for ExecutionConfig
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§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>
T
in a tonic::Request