pub struct ExecutionConfig {
pub artifact_storage: Option<String>,
pub default_pool: Option<DefaultPool>,
pub execution_timeout: Option<Duration>,
pub private_pool: Option<PrivatePool>,
pub service_account: Option<String>,
pub usages: Option<Vec<String>>,
pub verbose: Option<bool>,
pub worker_pool: Option<String>,
}
Expand description
Configuration of the environment to use when calling Skaffold.
This type is not used in any activity, and only used as part of another schema.
Fields§
§artifact_storage: Option<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.
default_pool: Option<DefaultPool>
Optional. Use default Cloud Build pool.
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.
private_pool: Option<PrivatePool>
Optional. Use private Cloud Build pool.
service_account: Option<String>
Optional. Google service account to use for execution. If unspecified, the project execution service account (-compute@developer.gserviceaccount.com) is used.
usages: Option<Vec<String>>
Required. Usages when this configuration should be applied.
verbose: Option<bool>
Optional. If true, additional logging will be enabled when running builds in this execution environment.
worker_pool: Option<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.
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§fn default() -> ExecutionConfig
fn default() -> ExecutionConfig
Source§impl<'de> Deserialize<'de> for ExecutionConfig
impl<'de> Deserialize<'de> for ExecutionConfig
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>,
Source§impl Serialize for ExecutionConfig
impl Serialize for ExecutionConfig
impl Part 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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 more