package
0.0.0-20240430124035-aae10642ac46
Repository: https://github.com/orbit-ops/launchpad-core.git
Documentation: pkg.go.dev
# Functions
And groups conditions with the AND operator.
FixedError is a hook returning a fixed error.
HasAddedFields is a condition validating `.AddedField` on fields.
HasClearedFields is a condition validating `.FieldCleared` on fields.
HasFields is a condition validating `.Field` on fields.
HasOp is a condition testing mutation operation.
If executes the given hook under condition.
NewChain creates a new chain of hooks.
Not negates a given condition.
On executes the given hook only for the given operation.
Or groups conditions with the OR operator.
Reject returns a hook that rejects all operations that match op.
Unless skips the given hook only for the given operation.
# Type aliases
The AccessFunc type is an adapter to allow the use of ordinary function as Access mutator.
The ActionTokensFunc type is an adapter to allow the use of ordinary function as ActionTokens mutator.
The ApiKeyFunc type is an adapter to allow the use of ordinary function as ApiKey mutator.
The ApprovalFunc type is an adapter to allow the use of ordinary function as Approval mutator.
The AuditFunc type is an adapter to allow the use of ordinary function as Audit mutator.
Condition is a hook condition function.
The MissionFunc type is an adapter to allow the use of ordinary function as Mission mutator.
The RequestFunc type is an adapter to allow the use of ordinary function as Request mutator.
The RocketFunc type is an adapter to allow the use of ordinary function as Rocket mutator.