Skip to content

@kubricate/core / BaseProvider / CustomEffect

Interface: CustomEffect<T>

Custom effect type for provider-specific actions. Used for effects that don't map directly to kubectl apply.

Extends

Type Parameters

T

T extends object = any

The custom value payload type

Properties

providerName

ts
providerName: undefined | string;

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

Inherited from

BaseEffect.providerName


secretName?

ts
optional secretName: string;

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

Inherited from

BaseEffect.secretName


type

ts
type: "custom";

Discriminator field identifying the effect type.

Inherited from

BaseEffect.type


value

ts
value: T;

The effect payload/value to be applied.

Inherited from

BaseEffect.value