Documentation ¶
Index ¶
- func AllowOneInlinePrivacyPolicy(p ent.PrivacyPolicyRule) privacy.InlinePrivacyPolicy
- func AllowOneRule(p ent.PrivacyPolicyRule) []ent.PrivacyPolicyRule
- func AssertEmailSent(t *testing.T, emailAddress string, emailText string)
- func AssertEntLogged(t *testing.T, ent ent.Entity)
- func CreateEdge(t *testing.T, edge *ent.AssocEdgeData)
- func DefaultCompilerOptions() string
- func DenyOneInlinePrivacyPolicy(p ent.PrivacyPolicyRule) privacy.InlinePrivacyPolicy
- func DenyOneRule(p ent.PrivacyPolicyRule) []ent.PrivacyPolicyRule
- func EditEdge(t *testing.T, edge *ent.AssocEdgeData)
- func GetBaseBuilder(operation ent.WriteOperation, loader ent.Loader, existingEnt ent.Entity) *actions.EntMutationBuilder
- func SaveBuilder(t *testing.T, b ent.MutationBuilder)
- func VerifyEdge(t *testing.T, expectedEdge, edge *ent.AssocEdge)
- type ActionLoggerObserver
- type SendEmailHandler
- type SendMicroserviceObserver
- type Suite
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllowOneInlinePrivacyPolicy ¶
func AllowOneInlinePrivacyPolicy(p ent.PrivacyPolicyRule) privacy.InlinePrivacyPolicy
AllowOneInlinePrivacyPolicy wraps AllowOneRule() by an InlinePrivacyPolicy
func AllowOneRule ¶
func AllowOneRule(p ent.PrivacyPolicyRule) []ent.PrivacyPolicyRule
AllowOneRule sandwiches the given rule between an AllowIfOmniscientRule and an AlwaysDenyRule
func CreateEdge ¶
func CreateEdge(t *testing.T, edge *ent.AssocEdgeData)
func DefaultCompilerOptions ¶
func DefaultCompilerOptions() string
func DenyOneInlinePrivacyPolicy ¶
func DenyOneInlinePrivacyPolicy(p ent.PrivacyPolicyRule) privacy.InlinePrivacyPolicy
DenyOneInlinePrivacyPolicy wraps DenyOneRule() by an InlinePrivacyPolicy
func DenyOneRule ¶
func DenyOneRule(p ent.PrivacyPolicyRule) []ent.PrivacyPolicyRule
DenyOneRule sandwiches the given rule between an AllowIfOmniscientRule and an AlwaysDenyRule
func GetBaseBuilder ¶
func GetBaseBuilder( operation ent.WriteOperation, loader ent.Loader, existingEnt ent.Entity, ) *actions.EntMutationBuilder
func SaveBuilder ¶
func SaveBuilder(t *testing.T, b ent.MutationBuilder)
Types ¶
type ActionLoggerObserver ¶
This is reusable across ent types
func (*ActionLoggerObserver) Observe ¶
func (observer *ActionLoggerObserver) Observe() error
type SendEmailHandler ¶
func (*SendEmailHandler) SendEmail ¶
func (s *SendEmailHandler) SendEmail() error
type SendMicroserviceObserver ¶
type SendMicroserviceObserver struct { }
boo microserv
func (SendMicroserviceObserver) Observe ¶
func (SendMicroserviceObserver) Observe() error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.