[−][src]Struct selectel_mks::cluster::schemas::CreateOpts
Create options for a new cluster.
Implementations
impl CreateOpts
[src]
pub fn new(name: &str, kube_version: &str, region: &str) -> CreateOpts
[src]
pub fn with_network_id(self, network_id: &str) -> CreateOpts
[src]
Add a reference to a pre-created network.
pub fn with_subnet_id(self, subnet_id: &str) -> CreateOpts
[src]
Add a reference to a pre-created subnet.
pub fn with_nodegroups(self, nodegroups: Vec<CreateOpts>) -> CreateOpts
[src]
Add nodegroups parameters.
pub fn with_maintenance_window_start(
self,
maintenance_window_start: &str
) -> CreateOpts
[src]
self,
maintenance_window_start: &str
) -> CreateOpts
Add maintenance_window_start in UTC. It should be in hh:mm:ss format.
pub fn with_enable_autorepair(self, enable_autorepair: bool) -> CreateOpts
[src]
Add enable_autorepair flag. This flag indicates if worker nodes are allowed to be reinstalled automatically in case of their unavailability or unhealthiness.
pub fn with_enable_patch_version_auto_upgrade(
self,
enable_patch_version_auto_upgrade: bool
) -> CreateOpts
[src]
self,
enable_patch_version_auto_upgrade: bool
) -> CreateOpts
Add enable_patch_version_auto_upgrade flag. This flag indicates if Kubernetes patch version of the cluster is allowed to be upgraded automatically.
pub fn with_zonal(self, zonal: bool) -> CreateOpts
[src]
Add zonal flag. This flag indicates that cluster has only a single master and that control-plane is not in highly available mode.
pub fn with_kubernetes_options(
self,
kubernetes_options: KubernetesOptions
) -> CreateOpts
[src]
self,
kubernetes_options: KubernetesOptions
) -> CreateOpts
Add kubernetes_options. This parameter represents additional options such as Pod Security Policy, feature gates, etc.
Trait Implementations
impl Debug for CreateOpts
[src]
impl Serialize for CreateOpts
[src]
Auto Trait Implementations
impl RefUnwindSafe for CreateOpts
impl Send for CreateOpts
impl Sync for CreateOpts
impl Unpin for CreateOpts
impl UnwindSafe for CreateOpts
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,