DefineGleamPolicyArgs
Defined in: policyDefiners/defineGleamPolicy.ts:50
Input arguments for defining a gleam.toml policy.
Type Parameters
Section titled “Type Parameters”C
Properties
Section titled “Properties”defaultConfig?
Section titled “defaultConfig?”
optionaldefaultConfig?:C
Defined in: policyDefiners/defineGleamPolicy.ts:69
Optional default configuration for the policy.
description
Section titled “description”description:
string
Defined in: policyDefiners/defineGleamPolicy.ts:59
A description of the policy’s purpose.
handler
Section titled “handler”handler:
GleamTomlHandler<C>
Defined in: policyDefiners/defineGleamPolicy.ts:64
The handler function that receives the parsed gleam.toml and policy arguments.
name:
string
Defined in: policyDefiners/defineGleamPolicy.ts:54
The name of the policy.