package
0.7.4
Repository: https://github.com/gitploy-io/gitploy.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.

# Structs

Chain acts as a list of hooks and is effectively immutable.

# Type aliases

The ChatUserFunc type is an adapter to allow the use of ordinary function as ChatUser mutator.
Condition is a hook condition function.
The DeploymentFunc type is an adapter to allow the use of ordinary function as Deployment mutator.
The DeploymentStatisticsFunc type is an adapter to allow the use of ordinary function as DeploymentStatistics mutator.
The DeploymentStatusFunc type is an adapter to allow the use of ordinary function as DeploymentStatus mutator.
The EventFunc type is an adapter to allow the use of ordinary function as Event mutator.
The LockFunc type is an adapter to allow the use of ordinary function as Lock mutator.
The NotificationRecordFunc type is an adapter to allow the use of ordinary function as NotificationRecord mutator.
The PermFunc type is an adapter to allow the use of ordinary function as Perm mutator.
The RepoFunc type is an adapter to allow the use of ordinary function as Repo mutator.
The ReviewFunc type is an adapter to allow the use of ordinary function as Review mutator.
The UserFunc type is an adapter to allow the use of ordinary function as User mutator.