Skip to content

@kubricate/core / BaseProvider / BaseEffect

Interface: BaseEffect<Type, T> ​

Base interface for all provider effects. Effects encapsulate actions that provision secrets into the cluster or backend.

Extended by ​

Type Parameters ​

Type ​

Type extends string

String literal type identifying the effect type

T ​

T = unknown

The value payload type for this effect

Properties ​

providerName ​

ts
providerName: undefined | string;

Name of the provider that created this effect. Used for diagnostics and conflict detection.


secretName? ​

ts
optional secretName: string;

Name of the secret this effect is associated with. Used for diagnostics and error reporting.


type ​

ts
type: Type;

Discriminator field identifying the effect type.


value ​

ts
value: T;

The effect payload/value to be applied.