Skip to content

@kubricate/core / types / PluginInjectionStrategy

Interface: PluginInjectionStrategy

Custom plugin-defined injection strategy. Allows providers to implement custom injection mechanisms.

Note

This kind is not fully implemented yet. See https://github.com/thaitype/kubricate/issues/84

Example

typescript
const strategy: PluginInjectionStrategy = {
  kind: 'plugin',
  action: 'custom-mount',
  args: ['/custom/path']
};

Indexable

ts
[key: string]: unknown

Additional plugin-specific fields

Properties

action?

ts
optional action: string;

Custom action identifier for the plugin


args?

ts
optional args: unknown[];

Arguments to pass to the plugin


kind

ts
kind: "plugin";

Injection strategy type: custom plugin-defined injection