pub enum ClientConfig {
Aws(Box<AwsClientConfig>),
Gcp(Box<GcpClientConfig>),
Azure(Box<AzureClientConfig>),
Kubernetes(Box<KubernetesClientConfig>),
Local {
state_directory: String,
artifact_registry_config: Option<ArtifactRegistryConfig>,
},
Test,
}Expand description
Configuration for different cloud platform clients
Variants§
Aws(Box<AwsClientConfig>)
Gcp(Box<GcpClientConfig>)
Azure(Box<AzureClientConfig>)
Kubernetes(Box<KubernetesClientConfig>)
Local
Fields
§
artifact_registry_config: Option<ArtifactRegistryConfig>Optional artifact registry configuration for pulling container images. When present, the local platform will fetch credentials from the agent manager before pulling images, enabling centralized registry access control.
Test
Test platform - uses mock controllers without real cloud APIs
Implementations§
Source§impl ClientConfig
impl ClientConfig
Sourcepub fn aws_config(&self) -> Option<&AwsClientConfig>
pub fn aws_config(&self) -> Option<&AwsClientConfig>
Returns the AWS configuration if this is an AWS client config.
Sourcepub fn gcp_config(&self) -> Option<&GcpClientConfig>
pub fn gcp_config(&self) -> Option<&GcpClientConfig>
Returns the GCP configuration if this is a GCP client config.
Sourcepub fn azure_config(&self) -> Option<&AzureClientConfig>
pub fn azure_config(&self) -> Option<&AzureClientConfig>
Returns the Azure configuration if this is an Azure client config.
Sourcepub fn kubernetes_config(&self) -> Option<&KubernetesClientConfig>
pub fn kubernetes_config(&self) -> Option<&KubernetesClientConfig>
Returns the Kubernetes configuration if this is a Kubernetes client config.
Trait Implementations§
Source§impl Clone for ClientConfig
impl Clone for ClientConfig
Source§fn clone(&self) -> ClientConfig
fn clone(&self) -> ClientConfig
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 ClientConfig
impl Debug for ClientConfig
Source§impl<'de> Deserialize<'de> for ClientConfig
impl<'de> Deserialize<'de> for ClientConfig
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 ClientConfig
impl PartialEq for ClientConfig
Source§impl Serialize for ClientConfig
impl Serialize for ClientConfig
impl Eq for ClientConfig
impl StructuralPartialEq for ClientConfig
Auto Trait Implementations§
impl Freeze for ClientConfig
impl RefUnwindSafe for ClientConfig
impl Send for ClientConfig
impl Sync for ClientConfig
impl Unpin for ClientConfig
impl UnsafeUnpin for ClientConfig
impl UnwindSafe for ClientConfig
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.