pub enum ChartSource {
Registry {
repo: String,
chart: String,
version: String,
},
ArtifactHub {
package: String,
version: String,
},
File {
path: String,
},
Git {
repo: String,
tag: String,
path: String,
},
}Expand description
A chart values schema source. Specifies where to find values.schema.json.
Variants§
Registry
Fetch from an HTTP Helm chart repository.
ingress-nginx = { source = "registry", repo = "https://...", chart = "ingress-nginx", version = "4.12.0" }
ArtifactHub
Fetch from ArtifactHub API.
postgresql = { source = "artifacthub", package = "bitnami/postgresql", version = "16.4.0" }
File
Read a local values.schema.json file.
my-chart = { source = "file", path = "./schemas/my-chart-values.schema.json" }
Git
Clone a git repo at a tag and extract values.schema.json.
my-chart = { source = "git", repo = "https://...", tag = "v1.0.0", path = "charts/my-chart" }
Trait Implementations§
Source§impl Clone for ChartSource
impl Clone for ChartSource
Source§fn clone(&self) -> ChartSource
fn clone(&self) -> ChartSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChartSource
impl Debug for ChartSource
Source§impl<'de> Deserialize<'de> for ChartSource
impl<'de> Deserialize<'de> for ChartSource
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 ChartSource
impl RefUnwindSafe for ChartSource
impl Send for ChartSource
impl Sync for ChartSource
impl Unpin for ChartSource
impl UnsafeUnpin for ChartSource
impl UnwindSafe for ChartSource
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