pub struct HelmChart {Show 15 fields
pub api_version: String,
pub name: String,
pub version: String,
pub kube_version: Option<String>,
pub description: Option<String>,
pub chart_type: Option<String>,
pub keywords: Vec<String>,
pub home: Option<String>,
pub sources: Vec<String>,
pub dependencies: Vec<HelmDependency>,
pub maintainers: Vec<HelmMaintainer>,
pub icon: Option<String>,
pub app_version: Option<String>,
pub deprecated: bool,
pub annotations: BTreeMap<String, String>,
}Expand description
Helm Chart.yaml structure
Fields§
§api_version: StringAPI version (v1 or v2)
name: StringChart name
version: StringChart version (SemVer)
kube_version: Option<String>Kubernetes version constraint
description: Option<String>Chart description
chart_type: Option<String>Chart type (application or library)
keywords: Vec<String>Keywords for searching
home: Option<String>Project home page
sources: Vec<String>Source code URLs
dependencies: Vec<HelmDependency>Chart dependencies
maintainers: Vec<HelmMaintainer>Maintainers
icon: Option<String>Icon URL
app_version: Option<String>App version
deprecated: boolWhether chart is deprecated
annotations: BTreeMap<String, String>Annotations
Implementations§
Source§impl HelmChart
impl HelmChart
Sourcepub fn parse(content: &str) -> Result<Self, ChartError>
pub fn parse(content: &str) -> Result<Self, ChartError>
Parse a Chart.yaml string
Sourcepub fn to_sherpack(&self) -> SherpackPack
pub fn to_sherpack(&self) -> SherpackPack
Convert to Sherpack Pack
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HelmChart
impl<'de> Deserialize<'de> for HelmChart
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HelmChart
impl RefUnwindSafe for HelmChart
impl Send for HelmChart
impl Sync for HelmChart
impl Unpin for HelmChart
impl UnwindSafe for HelmChart
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
Mutably borrows from an owned value. Read more