FlowGuard API - v1.2.0-tp.1
Preparing search index...
flowguard
createPolicySnapshot
Function createPolicySnapshot
createPolicySnapshot
(
policy
:
FlowGuardPolicy
,
resolvedAt
:
string
,
digestFn
:
(
text
:
string
)
=>
string
,
resolution
?:
{
requestedMode
:
"solo"
|
"team"
|
"team-ci"
|
"regulated"
;
effectiveGateBehavior
:
EffectiveGateBehavior
;
degradedReason
?:
"ci_context_missing"
;
source
?:
PolicySource
;
resolutionReason
?:
PolicyResolutionReason
;
centralMinimumMode
?:
"solo"
|
"team"
|
"regulated"
;
policyDigest
?:
string
;
policyVersion
?:
string
;
policyPathHint
?:
string
;
}
,
)
:
PolicySnapshot
Parameters
policy
:
FlowGuardPolicy
resolvedAt
:
string
digestFn
:
(
text
:
string
)
=>
string
Optional
resolution
:
{
requestedMode
:
"solo"
|
"team"
|
"team-ci"
|
"regulated"
;
effectiveGateBehavior
:
EffectiveGateBehavior
;
degradedReason
?:
"ci_context_missing"
;
source
?:
PolicySource
;
resolutionReason
?:
PolicyResolutionReason
;
centralMinimumMode
?:
"solo"
|
"team"
|
"regulated"
;
policyDigest
?:
string
;
policyVersion
?:
string
;
policyPathHint
?:
string
;
}
Returns
PolicySnapshot
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
FlowGuard API - v1.2.0-tp.1
Loading...