pub struct KubernetesPodConfig {
pub agent_path: Option<String>,
pub console_container_number: Option<i64>,
pub disable_agent: Option<bool>,
pub expose_auth_metadata_as_annotations: Option<HashMap<String, String>>,
pub expose_auth_metadata_as_env: Option<HashMap<String, String>>,
pub expose_auth_metadata_as_labels: Option<HashMap<String, String>>,
pub idle_command: Option<Vec<String>>,
pub metadata: Option<ObjectMeta>,
pub mode: Option<String>,
pub shell_command: Option<Vec<String>>,
pub spec: Option<PodSpec>,
pub subsystems: Option<HashMap<String, String>>,
}Expand description
goland:noinspection GoVetStructTag
Fields§
§agent_path: Option<String>AgentPath contains the path to the ContainerSSH Guest Agent.
console_container_number: Option<i64>ConsoleContainerNumber specifies the container to attach the running process to. Defaults to 0.
disable_agent: Option<bool>DisableAgent disables using the ContainerSSH Guest Agent.
expose_auth_metadata_as_annotations: Option<HashMap<String, String>>ExposeAuthMetadataAsAnnotations causes the specified metadata entries received from the authentication process to be exposed in the pod annotations. They are provided as a map, where the key is the authentication metadata entry name and the value is the annotation name. The annotation name must conform to Kubernetes annotation name requirements or the pod will not start. The default is to expose no annotations.
expose_auth_metadata_as_env: Option<HashMap<String, String>>ExposeAuthMetadataAsEnv causes the specified metadata entries received from the authentication process to be exposed as environment variables. They are provided as a map, where the key is the authentication metadata entry name and the value is the environment variable. The default is to expose no authentication metadata.
expose_auth_metadata_as_labels: Option<HashMap<String, String>>ExposeAuthMetadataAsLabels causes the specified metadata entries received from the authentication process to be exposed in the pod labels. They are provided as a map, where the key is the authentication metadata entry name and the value is the label name. The label name must conform to Kubernetes label name requirements or the pod will not start. The default is to expose no labels.
idle_command: Option<Vec<String>>IdleCommand contains the command to run as the first process in the container. Other commands are executed using the "exec" method.
metadata: Option<ObjectMeta>§mode: Option<String>KubernetesExecutionModeConnection launches one container per SSH connection (default), while KubernetesExecutionModeSession launches one container per SSH session.
shell_command: Option<Vec<String>>ShellCommand is the command used for launching shells when the container. Required in KubernetesExecutionModeConnection and when the agent is used.
spec: Option<PodSpec>§subsystems: Option<HashMap<String, String>>Subsystems contains a map of subsystem names and the executable to launch.
Implementations§
Source§impl KubernetesPodConfig
impl KubernetesPodConfig
pub fn new() -> KubernetesPodConfig
Trait Implementations§
Source§impl Clone for KubernetesPodConfig
impl Clone for KubernetesPodConfig
Source§fn clone(&self) -> KubernetesPodConfig
fn clone(&self) -> KubernetesPodConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for KubernetesPodConfig
impl Debug for KubernetesPodConfig
Source§impl<'de> Deserialize<'de> for KubernetesPodConfig
impl<'de> Deserialize<'de> for KubernetesPodConfig
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 FromStr for KubernetesPodConfig
Converts Query Parameters representation (style=form, explode=false) to a KubernetesPodConfig value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for KubernetesPodConfig
Converts Query Parameters representation (style=form, explode=false) to a KubernetesPodConfig value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for KubernetesPodConfig
impl PartialEq for KubernetesPodConfig
Source§impl Serialize for KubernetesPodConfig
impl Serialize for KubernetesPodConfig
Source§impl ToString for KubernetesPodConfig
Converts the KubernetesPodConfig value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
impl ToString for KubernetesPodConfig
Converts the KubernetesPodConfig value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer