dls: add HostConfig.config
This commit is contained in:
@ -171,11 +171,13 @@ pub struct ClusterConfig {
|
|||||||
#[serde(rename_all = "PascalCase")]
|
#[serde(rename_all = "PascalCase")]
|
||||||
pub struct HostConfig {
|
pub struct HostConfig {
|
||||||
pub name: String,
|
pub name: String,
|
||||||
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub cluster_name: Option<String>,
|
pub cluster_name: Option<String>,
|
||||||
|
|
||||||
pub annotations: Map<String, String>,
|
pub annotations: Map<String, String>,
|
||||||
pub bootstrap_config: String,
|
pub bootstrap_config: String,
|
||||||
#[serde(rename = "IPXE")]
|
pub config: String,
|
||||||
|
#[serde(rename = "IPXE", skip_serializing_if = "Option::is_none")]
|
||||||
pub ipxe: Option<String>,
|
pub ipxe: Option<String>,
|
||||||
#[serde(rename = "IPs")]
|
#[serde(rename = "IPs")]
|
||||||
pub ips: Vec<IpAddr>,
|
pub ips: Vec<IpAddr>,
|
||||||
|
|||||||
Reference in New Issue
Block a user