pub struct ClusterStatus {Show 23 fields
pub agent: Option<ClusterStatusAgent>,
pub agent_affinity_hash: Option<String>,
pub agent_config_changed: Option<bool>,
pub agent_deployed_generation: Option<i64>,
pub agent_env_vars_hash: Option<String>,
pub agent_host_network: Option<bool>,
pub agent_migrated: Option<bool>,
pub agent_namespace_migrated: Option<bool>,
pub agent_private_repo_url: Option<String>,
pub agent_resources_hash: Option<String>,
pub agent_tls_mode: Option<String>,
pub agent_tolerations_hash: Option<String>,
pub api_server_ca_hash: Option<String>,
pub api_server_url: Option<String>,
pub cattle_namespace_migrated: Option<bool>,
pub conditions: Option<Vec<ClusterStatusConditions>>,
pub desired_ready_git_repos: Option<i64>,
pub display: Option<ClusterStatusDisplay>,
pub garbage_collection_interval: Option<String>,
pub namespace: Option<String>,
pub ready_git_repos: Option<i64>,
pub resource_counts: Option<ClusterStatusResourceCounts>,
pub summary: Option<ClusterStatusSummary>,
}
Fields§
§agent: Option<ClusterStatusAgent>
AgentStatus contains information about the agent.
agent_affinity_hash: Option<String>
AgentAffinityHash is a hash of the agent’s affinity configuration, used to detect changes.
agent_config_changed: Option<bool>
AgentConfigChanged is set to true if any of the agent configuration changed, like the API server URL or CA. Setting it to true will trigger a re-import of the cluster.
agent_deployed_generation: Option<i64>
AgentDeployedGeneration is the generation of the agent that is currently deployed.
agent_env_vars_hash: Option<String>
AgentEnvVarsHash is a hash of the agent’s env vars, used to detect changes.
agent_host_network: Option<bool>
AgentHostNetwork defines observed state of spec.hostNetwork setting that is currently used.
agent_migrated: Option<bool>
AgentMigrated is always set to true after importing a cluster. If false, it will trigger a migration. Old agents don’t have this in their status.
agent_namespace_migrated: Option<bool>
AgentNamespaceMigrated is always set to true after importing a cluster. If false, it will trigger a migration. Old Fleet agents don’t have this in their status.
agent_private_repo_url: Option<String>
AgentPrivateRepoURL is the private repo URL for the agent that is currently used.
agent_resources_hash: Option<String>
AgentResourcesHash is a hash of the agent’s resources configuration, used to detect changes.
agent_tls_mode: Option<String>
AgentTLSMode supports two values: system-store
and strict
. If set to
system-store
, instructs the agent to trust CA bundles from the operating
system’s store. If set to strict
, then the agent shall only connect to a
server which uses the exact CA configured when creating/updating the agent.
agent_tolerations_hash: Option<String>
AgentTolerationsHash is a hash of the agent’s tolerations configuration, used to detect changes.
api_server_ca_hash: Option<String>
APIServerCAHash is a hash of the upstream API server CA, used to detect changes.
api_server_url: Option<String>
APIServerURL is the currently used URL of the API server that the cluster uses to connect to upstream.
cattle_namespace_migrated: Option<bool>
CattleNamespaceMigrated is always set to true after importing a cluster. If false, it will trigger a migration. Old Fleet agents, don’t have this in their status.
conditions: Option<Vec<ClusterStatusConditions>>
§desired_ready_git_repos: Option<i64>
DesiredReadyGitRepos is the number of gitrepos for this cluster that are desired to be ready.
display: Option<ClusterStatusDisplay>
Display contains the number of ready bundles, nodes and a summary state.
garbage_collection_interval: Option<String>
GarbageCollectionInterval determines how often agents clean up obsolete Helm releases.
namespace: Option<String>
Namespace is the cluster namespace, it contains the clusters service account as well as any bundledeployments. Example: “cluster-fleet-local-cluster-294db1acfa77-d9ccf852678f”
ready_git_repos: Option<i64>
ReadyGitRepos is the number of gitrepos for this cluster that are ready.
resource_counts: Option<ClusterStatusResourceCounts>
ResourceCounts is an aggregate over the ResourceCounts.
summary: Option<ClusterStatusSummary>
Summary is a summary of the bundledeployments.
Trait Implementations§
Source§impl Clone for ClusterStatus
impl Clone for ClusterStatus
Source§fn clone(&self) -> ClusterStatus
fn clone(&self) -> ClusterStatus
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ClusterStatus
impl Debug for ClusterStatus
Source§impl Default for ClusterStatus
impl Default for ClusterStatus
Source§fn default() -> ClusterStatus
fn default() -> ClusterStatus
Source§impl<'de> Deserialize<'de> for ClusterStatus
impl<'de> Deserialize<'de> for ClusterStatus
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>,
Source§impl JsonSchema for ClusterStatus
impl JsonSchema for ClusterStatus
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moreSource§impl PartialEq for ClusterStatus
impl PartialEq for ClusterStatus
Source§impl Serialize for ClusterStatus
impl Serialize for ClusterStatus
impl StructuralPartialEq for ClusterStatus
Auto Trait Implementations§
impl Freeze for ClusterStatus
impl RefUnwindSafe for ClusterStatus
impl Send for ClusterStatus
impl Sync for ClusterStatus
impl Unpin for ClusterStatus
impl UnwindSafe for ClusterStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more