pub struct ProviderOptions {Show 14 fields
pub k8s_versions: Vec<String>,
pub k8s_version_fallback_window: Option<u32>,
pub k8s_schema_mirrors: Vec<String>,
pub k8s_schema_cache_dir: Option<PathBuf>,
pub no_cache: bool,
pub allow_net: bool,
pub disable_k8s_schemas: bool,
pub crd_lookup_loose: bool,
pub crd_catalog_mirrors: Vec<String>,
pub crd_catalog_cache_dir: Option<PathBuf>,
pub crd_override_dir: Option<PathBuf>,
pub local_schema_universe: LocalSchemaUniverse,
pub crd_cache_record_source: bool,
pub api_version_guess: bool,
}Expand description
Options consumed by build_provider. Comes from the CLI surface or
from library callers.
Fields§
§k8s_versions: Vec<String>User-ordered K8s version list; the first entry is the primary.
k8s_version_fallback_window: Option<u32>Auto-fallback window of older K8s minors. None = disabled.
k8s_schema_mirrors: Vec<String>Additional K8s schema mirror URLs.
k8s_schema_cache_dir: Option<PathBuf>Managed K8s cache root.
no_cache: boolBypass persistent K8s cache reads while refreshing cache writes.
allow_net: boolWhether provider cache misses may access upstream sources.
disable_k8s_schemas: boolWhether versioned Kubernetes OpenAPI providers are omitted.
crd_lookup_loose: boolcrd_lookup_loose=true activates the cross-version CRD cache
scan + CrdVersionAvailableAtOtherVersions hint.
crd_catalog_mirrors: Vec<String>Additional CRD catalog mirror URLs.
crd_catalog_cache_dir: Option<PathBuf>Managed CRD cache root.
crd_override_dir: Option<PathBuf>Hand-maintained CRD override root.
local_schema_universe: LocalSchemaUniverseChart-local schema universe built from sources such as static crds/.
crd_cache_record_source: boolWrite .meta sidecars next to CRD cache entries.
api_version_guess: boolEnable Feature D apiVersion inference.
Trait Implementations§
Source§impl Clone for ProviderOptions
impl Clone for ProviderOptions
Source§fn clone(&self) -> ProviderOptions
fn clone(&self) -> ProviderOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more