pub struct AutopilotUpgrade {
pub redundancy_zones: HashMap<String, AutopilotZoneUpgradeVersions>,
pub status: String,
pub target_version_non_voters: Vec<String>,
pub target_version_read_replicas: Vec<String>,
pub other_version_voters: Vec<String>,
pub target_version: String,
pub target_version_voters: Vec<String>,
pub other_version_non_voters: Vec<String>,
pub other_version_read_replicas: Vec<String>,
}
Expand description
AutopilotUpgrade holds the current upgrade status. (Enterprise only)
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§redundancy_zones: HashMap<String, AutopilotZoneUpgradeVersions>
RedundancyZones holds the list of servers in each redundancy zone for the TargetVersion.
status: String
Status of the upgrade.
target_version_non_voters: Vec<String>
TargetVersionNonVoters holds the list of servers that are non-voters in the Raft configuration of the TargetVersion.
target_version_read_replicas: Vec<String>
TargetVersionReadReplicas holds the list of servers that are read replicas in the Raft configuration of the TargetVersion.
other_version_voters: Vec<String>
OtherVersionVoters holds the list of servers that are voters in the Raft configuration of a version other than the TargetVersion.
target_version: String
TargetVersion is the version that the cluster is upgrading to.
target_version_voters: Vec<String>
TargetVersionVoters holds the list of servers that are voters in the Raft configuration of the TargetVersion.
other_version_non_voters: Vec<String>
OtherVersionNonVoters holds the list of servers that are non-voters in the Raft configuration of a version other than the TargetVersion.
other_version_read_replicas: Vec<String>
OtherVersionReadReplicas holds the list of servers that are read replicas in the Raft configuration of a version other than the TargetVersion.
Implementations§
Source§impl AutopilotUpgrade
impl AutopilotUpgrade
pub fn builder() -> AutopilotUpgradeBuilder
Trait Implementations§
Source§impl Clone for AutopilotUpgrade
impl Clone for AutopilotUpgrade
Source§fn clone(&self) -> AutopilotUpgrade
fn clone(&self) -> AutopilotUpgrade
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more