Struct google_container1::api::ServerConfig
source · pub struct ServerConfig {
pub channels: Option<Vec<ReleaseChannelConfig>>,
pub default_cluster_version: Option<String>,
pub default_image_type: Option<String>,
pub valid_image_types: Option<Vec<String>>,
pub valid_master_versions: Option<Vec<String>>,
pub valid_node_versions: Option<Vec<String>>,
}
Expand description
Kubernetes Engine service configuration.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations get server config projects (response)
- zones get serverconfig projects (response)
Fields§
§channels: Option<Vec<ReleaseChannelConfig>>
List of release channel configurations.
default_cluster_version: Option<String>
Version of Kubernetes the service deploys by default.
default_image_type: Option<String>
Default image type.
valid_image_types: Option<Vec<String>>
List of valid image types.
valid_master_versions: Option<Vec<String>>
List of valid master versions, in descending order.
valid_node_versions: Option<Vec<String>>
List of valid node upgrade target versions, in descending order.
Trait Implementations§
source§impl Clone for ServerConfig
impl Clone for ServerConfig
source§fn clone(&self) -> ServerConfig
fn clone(&self) -> ServerConfig
Returns a copy 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 ServerConfig
impl Debug for ServerConfig
source§impl Default for ServerConfig
impl Default for ServerConfig
source§fn default() -> ServerConfig
fn default() -> ServerConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ServerConfig
impl<'de> Deserialize<'de> for ServerConfig
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 Serialize for ServerConfig
impl Serialize for ServerConfig
impl ResponseResult for ServerConfig
Auto Trait Implementations§
impl RefUnwindSafe for ServerConfig
impl Send for ServerConfig
impl Sync for ServerConfig
impl Unpin for ServerConfig
impl UnwindSafe for ServerConfig
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