Crate sherpack_kube

Crate sherpack_kube 

Source
Expand description

Sherpack Kube - Kubernetes integration for Sherpack

This crate provides:

  • Storage Drivers: Persist release information in Kubernetes (Secrets, ConfigMaps) or locally
  • Release Management: Full lifecycle management with state machine and auto-recovery
  • Hooks System: Improved hooks with policies and better error handling
  • Diff Engine: Compare releases and detect cluster drift
  • Health Checks: Validate deployments with REAL Kubernetes API calls
  • Sync Waves: Resource ordering with wait-for dependencies
  • Progress Reporting: Real-time feedback during deployment operations
  • Annotations: Helm-compatible annotation parsing with Sherpack extensions

Re-exports§

pub use actions::InstallOptions;
pub use actions::RollbackOptions;
pub use actions::UninstallOptions;
pub use actions::UpgradeOptions;
pub use annotations::DeletePolicy;
pub use annotations::FailurePolicy;
pub use annotations::ResourceRef;
pub use client::KubeClient;
pub use diff::ChangeType;
pub use diff::DiffEngine;
pub use diff::DiffResult;
pub use diff::ResourceChange;
pub use error::KubeError;
pub use error::Result;
pub use health::HealthCheckConfig;
pub use health::HealthChecker;
pub use health::HealthStatus;
pub use health::ResourceHealth;
pub use hooks::Hook;
pub use hooks::HookCleanupPolicy;
pub use hooks::HookExecutor;
pub use hooks::HookFailurePolicy;
pub use hooks::HookPhase;
pub use progress::ProgressReporter;
pub use progress::ResourceState;
pub use progress::ResourceStatus;
pub use release::ReleaseState;
pub use release::StoredRelease;
pub use release::ValueSource;
pub use release::ValuesProvenance;
pub use resources::ApplyResult;
pub use resources::DeleteResult;
pub use resources::OperationSummary;
pub use resources::ResourceManager;
pub use storage::CompressionMethod;
pub use storage::LargeReleaseStrategy;
pub use storage::MockStorageDriver;
pub use storage::OperationCounts;
pub use storage::StorageConfig;
pub use storage::StorageDriver;
pub use waves::ExecutionPlan;
pub use waves::Resource;
pub use waves::Wave;
pub use waves::WaveExecutionConfig;
pub use crd::ChangeKind;
pub use crd::ChangeSeverity;
pub use crd::CrdAnalysis;
pub use crd::CrdAnalyzer;
pub use crd::CrdApplyResult;
pub use crd::CrdChange;
pub use crd::CrdManager;
pub use crd::CrdParser;
pub use crd::CrdSchema;
pub use crd::CrdScope;
pub use crd::CrdUpgradeResult;
pub use crd::ForceStrategy;
pub use crd::ResourceCategory;
pub use crd::SafeStrategy;
pub use crd::SkipStrategy;
pub use crd::UpgradeDecision;
pub use crd::UpgradeStrategy;
pub use crd::strategy_from_options;
pub use crd::CRD_POLICY_ANNOTATION;
pub use crd::CrdDeletionImpact;
pub use crd::CrdLintCode;
pub use crd::CrdLintWarning;
pub use crd::CrdLocation;
pub use crd::CrdOwnership;
pub use crd::CrdPolicy;
pub use crd::CrdProtection;
pub use crd::DeletionConfirmation;
pub use crd::DeletionImpactSummary;
pub use crd::DetectedCrd;
pub use crd::HELM_RESOURCE_POLICY;
pub use crd::JinjaConstruct;
pub use crd::LintSeverity;
pub use crd::TemplatedCrdFile;
pub use crd::contains_jinja_syntax;
pub use crd::detect_crds_in_manifests;
pub use crd::is_crd_manifest;
pub use crd::lint_crds;

Modules§

actions
Action options for install, upgrade, uninstall, and rollback operations
annotations
Annotation parsing with Helm compatibility
client
High-level Kubernetes client for Sherpack operations
crd
CRD (CustomResourceDefinition) handling for Sherpack
diff
Diff engine for comparing releases and detecting cluster drift
error
Error types for sherpack-kube
health
Health check system for validating deployments
hooks
Improved hooks system with better policies and error handling
progress
Real-time progress reporting for Kubernetes operations
release
Release types with improved state machine and provenance tracking
resources
Kubernetes resource operations for applying and deleting manifests
storage
Storage drivers for persisting release information
waves
Sync wave execution system