k8s_cluster_api/v1beta1/machine/
impls.rs

1use super::*;
2
3impl MachineSpec {
4    pub fn new(cluster_name: &str) -> Self {
5        let cluster_name = cluster_name.to_string();
6        Self {
7            cluster_name,
8            ..Self::default()
9        }
10    }
11}