Skip to main content

HelmAdapter

Struct HelmAdapter 

Source
pub struct HelmAdapter;

Trait Implementations§

Source§

impl Adapter for HelmAdapter

Source§

fn name(&self) -> &'static str

Short ecosystem identifier (e.g. "cargo", "npm", "bundler"). Used for routing operator commands + matching manifests.
Source§

fn manifest_files(&self) -> &'static [&'static str]

Manifest filenames this adapter recognizes — the first one found in the workspace dispatches to this adapter. Examples: Read more
Source§

fn lock(&self, _ctx: &AdapterCtx) -> AdapterResult<LockOutcome>

gen lock <path> — resolve the manifest to a fresh lockfile. May read the network (this is the resolver invocation). Idempotent: re-running with no manifest changes is a no-op.
Source§

fn build(&self, _ctx: &AdapterCtx) -> AdapterResult<AdapterBuildSpec>

gen build <path> — manifest + lockfile → typed build-spec. Read more
Source§

fn plan(&self, _ctx: &AdapterCtx, _intent: &PlanIntent) -> AdapterResult<Plan>

gen plan <path> — given an intent (bump X, enable feature Y), produce the diff of what would change. Read-only. Used by pre-bump confirmation flows.
Source§

fn confirm(&self, _ctx: &AdapterCtx) -> AdapterResult<ConfirmReport>

gen confirm <path> — verify spec invariants: Read more
Source§

fn diff( &self, _ctx: &AdapterCtx, _against: &DiffRef, ) -> AdapterResult<DiffReport>

gen diff <path> <ref> — diff current state vs a reference (file path, git rev, or “previous”).
Source§

fn sbom(&self, _ctx: &AdapterCtx, _format: SbomFormat) -> AdapterResult<Sbom>

gen sbom <path> — software bill of materials in the given format. Pure function of the build-spec.
Source§

fn quirks_registry(&self) -> Vec<AdapterQuirkEntry>

gen quirks list — typed registry of upstream third-party package quirks the adapter knows about. Each adapter’s quirks shape is its own (CrateQuirk for Cargo, future NpmQuirk for npm, GemQuirk for Bundler) — the trait surface stays uniform via the opaque serde_json::Value envelope. Read more
Source§

fn dispatcher_reflection(&self) -> Vec<DispatcherVariant>

Reflection over the adapter’s typed quirk enum — kebab-case serde tags + per-variant field names. Surfaces what #[derive(TypedDispatcher)] knows mechanically without exposing the concrete enum type through the trait. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.