Documentation
¶
Index ¶
- Constants
- Variables
- func CustomTextRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func CustomTextSetEventMapper(event *repository.Event) (eventstore.Event, error)
- func CustomTextTemplateRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func FeaturesSetEventMapper(event *repository.Event) (eventstore.Event, error)
- func GlobalOrgSetMapper(event *repository.Event) (eventstore.Event, error)
- func IDPConfigAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func IDPConfigChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func IDPConfigDeactivatedEventMapper(event *repository.Event) (eventstore.Event, error)
- func IDPConfigReactivatedEventMapper(event *repository.Event) (eventstore.Event, error)
- func IDPConfigRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func IDPJWTConfigAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func IDPJWTConfigChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func IDPOIDCConfigAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func IDPOIDCConfigChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func IdentityProviderAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func IdentityProviderCascadeRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func IdentityProviderRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LabelPolicyActivatedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LabelPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LabelPolicyAssetsRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LabelPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LabelPolicyFontAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LabelPolicyFontRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LabelPolicyIconAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LabelPolicyIconDarkAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LabelPolicyIconDarkRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LabelPolicyIconRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LabelPolicyLogoAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LabelPolicyLogoDarkAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LabelPolicyLogoDarkRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LabelPolicyLogoRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LockoutPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LockoutPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LoginPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LoginPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func MailTemplateAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func MailTemplateChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func MailTextAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func MailTextChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func MemberAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func MemberCascadeRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func MemberChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func MemberRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func MigrateUniqueConstraintEventMapper(event *repository.Event) (eventstore.Event, error)
- func MultiFactorAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func MultiFactorRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func NewAddMigrateUniqueConstraint(uniqueMigration *domain.UniqueConstraintMigration) *eventstore.EventUniqueConstraint
- func NewAddSetupStepDoneUniqueConstraint(step domain.Step) *eventstore.EventUniqueConstraint
- func NewAddSetupStepStartedUniqueConstraint(step domain.Step) *eventstore.EventUniqueConstraint
- func OrgIAMPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func OrgIAMPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func PasswordAgePolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func PasswordAgePolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func PasswordComplexityPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func PasswordComplexityPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func PrivacyPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func PrivacyPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func ProjectSetMapper(event *repository.Event) (eventstore.Event, error)
- func RegisterEventMappers(es *eventstore.Eventstore)
- func SecondFactorAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func SecondFactorRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func SetupStepMapper(event *repository.Event) (eventstore.Event, error)
- type Aggregate
- type CustomTextRemovedEvent
- type CustomTextSetEvent
- type CustomTextTemplateRemovedEvent
- type FeaturesSetEvent
- type GlobalOrgSetEvent
- type IDPConfigAddedEvent
- type IDPConfigChangedEvent
- type IDPConfigDeactivatedEvent
- type IDPConfigReactivatedEvent
- type IDPConfigRemovedEvent
- type IDPJWTConfigAddedEvent
- type IDPJWTConfigChangedEvent
- type IDPOIDCConfigAddedEvent
- type IDPOIDCConfigChangedEvent
- type IdentityProviderAddedEvent
- type IdentityProviderCascadeRemovedEvent
- type IdentityProviderRemovedEvent
- type LabelPolicyActivatedEvent
- type LabelPolicyAddedEvent
- type LabelPolicyAssetsRemovedEvent
- type LabelPolicyChangedEvent
- type LabelPolicyFontAddedEvent
- type LabelPolicyFontRemovedEvent
- type LabelPolicyIconAddedEvent
- type LabelPolicyIconDarkAddedEvent
- type LabelPolicyIconDarkRemovedEvent
- type LabelPolicyIconRemovedEvent
- type LabelPolicyLogoAddedEvent
- type LabelPolicyLogoDarkAddedEvent
- type LabelPolicyLogoDarkRemovedEvent
- type LabelPolicyLogoRemovedEvent
- type LockoutPolicyAddedEvent
- type LockoutPolicyChangedEvent
- type LoginPolicyAddedEvent
- type LoginPolicyChangedEvent
- type LoginPolicyMultiFactorAddedEvent
- type LoginPolicyMultiFactorRemovedEvent
- type LoginPolicySecondFactorAddedEvent
- type LoginPolicySecondFactorRemovedEvent
- type MailTemplateAddedEvent
- type MailTemplateChangedEvent
- type MailTextAddedEvent
- type MailTextChangedEvent
- type MemberAddedEvent
- type MemberCascadeRemovedEvent
- type MemberChangedEvent
- type MemberRemovedEvent
- type MigrateUniqueConstraintEvent
- type OrgIAMPolicyAddedEvent
- type OrgIAMPolicyChangedEvent
- type PasswordAgePolicyAddedEvent
- type PasswordAgePolicyChangedEvent
- type PasswordComplexityPolicyAddedEvent
- type PasswordComplexityPolicyChangedEvent
- type PrivacyPolicyAddedEvent
- type PrivacyPolicyChangedEvent
- type ProjectSetEvent
- type SetupStepEvent
Constants ¶
View Source
const ( AggregateType = "iam" AggregateVersion = "v1" )
View Source
const ( UniqueStepStarted = "stepstarted" UniqueStepDone = "stepdone" SetupDoneEventType eventstore.EventType = "iam.setup.done" SetupStartedEventType eventstore.EventType = "iam.setup.started" )
View Source
const ( IDPConfigAddedEventType eventstore.EventType = "iam.idp.config.added" IDPConfigChangedEventType eventstore.EventType = "iam.idp.config.changed" IDPConfigRemovedEventType eventstore.EventType = "iam.idp.config.removed" IDPConfigDeactivatedEventType eventstore.EventType = "iam.idp.config.deactivated" IDPConfigReactivatedEventType eventstore.EventType = "iam.idp.config.reactivated" )
View Source
const ( IDPJWTConfigAddedEventType eventstore.EventType = "iam.idp." + idpconfig.JWTConfigAddedEventType IDPJWTConfigChangedEventType eventstore.EventType = "iam.idp." + idpconfig.JWTConfigChangedEventType )
View Source
const ( IDPOIDCConfigAddedEventType eventstore.EventType = "iam.idp." + idpconfig.OIDCConfigAddedEventType IDPOIDCConfigChangedEventType eventstore.EventType = "iam.idp." + idpconfig.OIDCConfigChangedEventType )
View Source
const ( PasswordComplexityPolicyAddedEventType = iamEventTypePrefix + policy.PasswordComplexityPolicyAddedEventType PasswordComplexityPolicyChangedEventType = iamEventTypePrefix + policy.PasswordComplexityPolicyChangedEventType )
View Source
const ( PrivacyPolicyAddedEventType = iamEventTypePrefix + policy.PrivacyPolicyAddedEventType PrivacyPolicyChangedEventType = iamEventTypePrefix + policy.PrivacyPolicyChangedEventType )
View Source
const (
GlobalOrgSetEventType eventstore.EventType = "iam.global.org.set"
)
View Source
const (
ProjectSetEventType eventstore.EventType = "iam.project.iam.set"
)
View Source
const (
UniqueConstraintsMigratedEventType eventstore.EventType = "iam.unique.constraints.migrated"
)
Variables ¶
View Source
var ( CustomTextSetEventType = iamEventTypePrefix + policy.CustomTextSetEventType CustomTextRemovedEventType = iamEventTypePrefix + policy.CustomTextRemovedEventType CustomTextTemplateRemovedEventType = iamEventTypePrefix + policy.CustomTextTemplateRemovedEventType )
View Source
var ( MemberAddedEventType = iamEventTypePrefix + member.AddedEventType MemberChangedEventType = iamEventTypePrefix + member.ChangedEventType MemberRemovedEventType = iamEventTypePrefix + member.RemovedEventType MemberCascadeRemovedEventType = iamEventTypePrefix + member.CascadeRemovedEventType )
View Source
var ( LabelPolicyAddedEventType = iamEventTypePrefix + policy.LabelPolicyAddedEventType LabelPolicyChangedEventType = iamEventTypePrefix + policy.LabelPolicyChangedEventType LabelPolicyActivatedEventType = iamEventTypePrefix + policy.LabelPolicyActivatedEventType LabelPolicyLogoAddedEventType = iamEventTypePrefix + policy.LabelPolicyLogoAddedEventType LabelPolicyLogoRemovedEventType = iamEventTypePrefix + policy.LabelPolicyLogoRemovedEventType LabelPolicyIconAddedEventType = iamEventTypePrefix + policy.LabelPolicyIconAddedEventType LabelPolicyIconRemovedEventType = iamEventTypePrefix + policy.LabelPolicyIconRemovedEventType LabelPolicyLogoDarkAddedEventType = iamEventTypePrefix + policy.LabelPolicyLogoDarkAddedEventType LabelPolicyLogoDarkRemovedEventType = iamEventTypePrefix + policy.LabelPolicyLogoDarkRemovedEventType LabelPolicyIconDarkAddedEventType = iamEventTypePrefix + policy.LabelPolicyIconDarkAddedEventType LabelPolicyIconDarkRemovedEventType = iamEventTypePrefix + policy.LabelPolicyIconDarkRemovedEventType LabelPolicyFontAddedEventType = iamEventTypePrefix + policy.LabelPolicyFontAddedEventType LabelPolicyFontRemovedEventType = iamEventTypePrefix + policy.LabelPolicyFontRemovedEventType LabelPolicyAssetsRemovedEventType = iamEventTypePrefix + policy.LabelPolicyAssetsRemovedEventType )
View Source
var ( LoginPolicyAddedEventType = iamEventTypePrefix + policy.LoginPolicyAddedEventType LoginPolicyChangedEventType = iamEventTypePrefix + policy.LoginPolicyChangedEventType )
View Source
var ( LoginPolicySecondFactorAddedEventType = iamEventTypePrefix + policy.LoginPolicySecondFactorAddedEventType LoginPolicySecondFactorRemovedEventType = iamEventTypePrefix + policy.LoginPolicySecondFactorRemovedEventType LoginPolicyMultiFactorAddedEventType = iamEventTypePrefix + policy.LoginPolicyMultiFactorAddedEventType LoginPolicyMultiFactorRemovedEventType = iamEventTypePrefix + policy.LoginPolicyMultiFactorRemovedEventType )
View Source
var ( LoginPolicyIDPProviderAddedEventType = iamEventTypePrefix + policy.LoginPolicyIDPProviderAddedType LoginPolicyIDPProviderRemovedEventType = iamEventTypePrefix + policy.LoginPolicyIDPProviderRemovedType LoginPolicyIDPProviderCascadeRemovedEventType = iamEventTypePrefix + policy.LoginPolicyIDPProviderCascadeRemovedType )
View Source
var ( MailTemplateAddedEventType = iamEventTypePrefix + policy.MailTemplatePolicyAddedEventType MailTemplateChangedEventType = iamEventTypePrefix + policy.MailTemplatePolicyChangedEventType )
View Source
var ( MailTextAddedEventType = iamEventTypePrefix + policy.MailTextPolicyAddedEventType MailTextChangedEventType = iamEventTypePrefix + policy.MailTextPolicyChangedEventType )
View Source
var ( OrgIAMPolicyAddedEventType = iamEventTypePrefix + policy.OrgIAMPolicyAddedEventType OrgIAMPolicyChangedEventType = iamEventTypePrefix + policy.OrgIAMPolicyChangedEventType )
View Source
var ( PasswordAgePolicyAddedEventType = iamEventTypePrefix + policy.PasswordAgePolicyAddedEventType PasswordAgePolicyChangedEventType = iamEventTypePrefix + policy.PasswordAgePolicyChangedEventType )
View Source
var ( LockoutPolicyAddedEventType = iamEventTypePrefix + policy.LockoutPolicyAddedEventType LockoutPolicyChangedEventType = iamEventTypePrefix + policy.LockoutPolicyChangedEventType )
View Source
var (
FeaturesSetEventType = iamEventTypePrefix + features.FeaturesSetEventType
)
Functions ¶
func CustomTextRemovedEventMapper ¶
func CustomTextRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func CustomTextSetEventMapper ¶
func CustomTextSetEventMapper(event *repository.Event) (eventstore.Event, error)
func CustomTextTemplateRemovedEventMapper ¶
func CustomTextTemplateRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func FeaturesSetEventMapper ¶
func FeaturesSetEventMapper(event *repository.Event) (eventstore.Event, error)
func GlobalOrgSetMapper ¶
func GlobalOrgSetMapper(event *repository.Event) (eventstore.Event, error)
func IDPConfigAddedEventMapper ¶
func IDPConfigAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func IDPConfigChangedEventMapper ¶
func IDPConfigChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func IDPConfigDeactivatedEventMapper ¶
func IDPConfigDeactivatedEventMapper(event *repository.Event) (eventstore.Event, error)
func IDPConfigReactivatedEventMapper ¶
func IDPConfigReactivatedEventMapper(event *repository.Event) (eventstore.Event, error)
func IDPConfigRemovedEventMapper ¶
func IDPConfigRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func IDPJWTConfigAddedEventMapper ¶
func IDPJWTConfigAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func IDPJWTConfigChangedEventMapper ¶
func IDPJWTConfigChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func IDPOIDCConfigAddedEventMapper ¶
func IDPOIDCConfigAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func IDPOIDCConfigChangedEventMapper ¶
func IDPOIDCConfigChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func IdentityProviderAddedEventMapper ¶
func IdentityProviderAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func IdentityProviderCascadeRemovedEventMapper ¶
func IdentityProviderCascadeRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func IdentityProviderRemovedEventMapper ¶
func IdentityProviderRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func LabelPolicyActivatedEventMapper ¶
func LabelPolicyActivatedEventMapper(event *repository.Event) (eventstore.Event, error)
func LabelPolicyAddedEventMapper ¶
func LabelPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func LabelPolicyAssetsRemovedEventMapper ¶
func LabelPolicyAssetsRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func LabelPolicyChangedEventMapper ¶
func LabelPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func LabelPolicyFontAddedEventMapper ¶
func LabelPolicyFontAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func LabelPolicyFontRemovedEventMapper ¶
func LabelPolicyFontRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func LabelPolicyIconAddedEventMapper ¶
func LabelPolicyIconAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func LabelPolicyIconDarkAddedEventMapper ¶
func LabelPolicyIconDarkAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func LabelPolicyIconDarkRemovedEventMapper ¶
func LabelPolicyIconDarkRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func LabelPolicyIconRemovedEventMapper ¶
func LabelPolicyIconRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func LabelPolicyLogoAddedEventMapper ¶
func LabelPolicyLogoAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func LabelPolicyLogoDarkAddedEventMapper ¶
func LabelPolicyLogoDarkAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func LabelPolicyLogoDarkRemovedEventMapper ¶
func LabelPolicyLogoDarkRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func LabelPolicyLogoRemovedEventMapper ¶
func LabelPolicyLogoRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func LockoutPolicyAddedEventMapper ¶
func LockoutPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func LockoutPolicyChangedEventMapper ¶
func LockoutPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func LoginPolicyAddedEventMapper ¶
func LoginPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func LoginPolicyChangedEventMapper ¶
func LoginPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func MailTemplateAddedEventMapper ¶
func MailTemplateAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func MailTemplateChangedEventMapper ¶
func MailTemplateChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func MailTextAddedEventMapper ¶
func MailTextAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func MailTextChangedEventMapper ¶
func MailTextChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func MemberAddedEventMapper ¶
func MemberAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func MemberCascadeRemovedEventMapper ¶
func MemberCascadeRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func MemberChangedEventMapper ¶
func MemberChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func MemberRemovedEventMapper ¶
func MemberRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func MigrateUniqueConstraintEventMapper ¶
func MigrateUniqueConstraintEventMapper(event *repository.Event) (eventstore.Event, error)
func MultiFactorAddedEventMapper ¶
func MultiFactorAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func MultiFactorRemovedEventMapper ¶
func MultiFactorRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func NewAddMigrateUniqueConstraint ¶
func NewAddMigrateUniqueConstraint(uniqueMigration *domain.UniqueConstraintMigration) *eventstore.EventUniqueConstraint
func NewAddSetupStepDoneUniqueConstraint ¶
func NewAddSetupStepDoneUniqueConstraint(step domain.Step) *eventstore.EventUniqueConstraint
func NewAddSetupStepStartedUniqueConstraint ¶
func NewAddSetupStepStartedUniqueConstraint(step domain.Step) *eventstore.EventUniqueConstraint
func OrgIAMPolicyAddedEventMapper ¶
func OrgIAMPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func OrgIAMPolicyChangedEventMapper ¶
func OrgIAMPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func PasswordAgePolicyAddedEventMapper ¶
func PasswordAgePolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func PasswordAgePolicyChangedEventMapper ¶
func PasswordAgePolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func PasswordComplexityPolicyAddedEventMapper ¶
func PasswordComplexityPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func PasswordComplexityPolicyChangedEventMapper ¶
func PasswordComplexityPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func PrivacyPolicyAddedEventMapper ¶
func PrivacyPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func PrivacyPolicyChangedEventMapper ¶
func PrivacyPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func ProjectSetMapper ¶
func ProjectSetMapper(event *repository.Event) (eventstore.Event, error)
func RegisterEventMappers ¶
func RegisterEventMappers(es *eventstore.Eventstore)
func SecondFactorAddedEventMapper ¶
func SecondFactorAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func SecondFactorRemovedEventMapper ¶
func SecondFactorRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func SetupStepMapper ¶
func SetupStepMapper(event *repository.Event) (eventstore.Event, error)
Types ¶
type Aggregate ¶
type Aggregate struct {
eventstore.Aggregate
}
func NewAggregate ¶
func NewAggregate() *Aggregate
type CustomTextRemovedEvent ¶
type CustomTextRemovedEvent struct {
policy.CustomTextRemovedEvent
}
func NewCustomTextRemovedEvent ¶
func NewCustomTextRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, template, key string, language language.Tag, ) *CustomTextRemovedEvent
type CustomTextSetEvent ¶
type CustomTextSetEvent struct {
policy.CustomTextSetEvent
}
func NewCustomTextSetEvent ¶
func NewCustomTextSetEvent( ctx context.Context, aggregate *eventstore.Aggregate, template, key, text string, language language.Tag, ) *CustomTextSetEvent
type CustomTextTemplateRemovedEvent ¶
type CustomTextTemplateRemovedEvent struct {
policy.CustomTextTemplateRemovedEvent
}
func NewCustomTextTemplateRemovedEvent ¶
func NewCustomTextTemplateRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, template string, language language.Tag, ) *CustomTextTemplateRemovedEvent
type FeaturesSetEvent ¶
type FeaturesSetEvent struct {
features.FeaturesSetEvent
}
func NewFeaturesSetEvent ¶
func NewFeaturesSetEvent( ctx context.Context, aggregate *eventstore.Aggregate, changes []features.FeaturesChanges, ) (*FeaturesSetEvent, error)
type GlobalOrgSetEvent ¶
type GlobalOrgSetEvent struct { eventstore.BaseEvent `json:"-"` OrgID string `json:"globalOrgId"` }
func NewGlobalOrgSetEventEvent ¶
func NewGlobalOrgSetEventEvent( ctx context.Context, aggregate *eventstore.Aggregate, orgID string, ) *GlobalOrgSetEvent
func (*GlobalOrgSetEvent) Data ¶
func (e *GlobalOrgSetEvent) Data() interface{}
func (*GlobalOrgSetEvent) UniqueConstraints ¶
func (e *GlobalOrgSetEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type IDPConfigAddedEvent ¶
type IDPConfigAddedEvent struct {
idpconfig.IDPConfigAddedEvent
}
func NewIDPConfigAddedEvent ¶
func NewIDPConfigAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, configID, name string, configType domain.IDPConfigType, stylingType domain.IDPConfigStylingType, autoRegister bool, ) *IDPConfigAddedEvent
type IDPConfigChangedEvent ¶
type IDPConfigChangedEvent struct {
idpconfig.IDPConfigChangedEvent
}
func NewIDPConfigChangedEvent ¶
func NewIDPConfigChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, configID, oldName string, changes []idpconfig.IDPConfigChanges, ) (*IDPConfigChangedEvent, error)
type IDPConfigDeactivatedEvent ¶
type IDPConfigDeactivatedEvent struct {
idpconfig.IDPConfigDeactivatedEvent
}
func NewIDPConfigDeactivatedEvent ¶
func NewIDPConfigDeactivatedEvent( ctx context.Context, aggregate *eventstore.Aggregate, configID string, ) *IDPConfigDeactivatedEvent
type IDPConfigReactivatedEvent ¶
type IDPConfigReactivatedEvent struct {
idpconfig.IDPConfigReactivatedEvent
}
func NewIDPConfigReactivatedEvent ¶
func NewIDPConfigReactivatedEvent( ctx context.Context, aggregate *eventstore.Aggregate, configID string, ) *IDPConfigReactivatedEvent
type IDPConfigRemovedEvent ¶
type IDPConfigRemovedEvent struct {
idpconfig.IDPConfigRemovedEvent
}
func NewIDPConfigRemovedEvent ¶
func NewIDPConfigRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, configID, name string, ) *IDPConfigRemovedEvent
type IDPJWTConfigAddedEvent ¶
type IDPJWTConfigAddedEvent struct {
idpconfig.JWTConfigAddedEvent
}
func NewIDPJWTConfigAddedEvent ¶
func NewIDPJWTConfigAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, idpConfigID, jwtEndpoint, issuer, keysEndpoint, headerName string, ) *IDPJWTConfigAddedEvent
type IDPJWTConfigChangedEvent ¶
type IDPJWTConfigChangedEvent struct {
idpconfig.JWTConfigChangedEvent
}
func NewIDPJWTConfigChangedEvent ¶
func NewIDPJWTConfigChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, idpConfigID string, changes []idpconfig.JWTConfigChanges, ) (*IDPJWTConfigChangedEvent, error)
type IDPOIDCConfigAddedEvent ¶
type IDPOIDCConfigAddedEvent struct {
idpconfig.OIDCConfigAddedEvent
}
func NewIDPOIDCConfigAddedEvent ¶
func NewIDPOIDCConfigAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, clientID, idpConfigID, issuer, authorizationEndpoint, tokenEndpoint string, clientSecret *crypto.CryptoValue, idpDisplayNameMapping, userNameMapping domain.OIDCMappingField, scopes ...string, ) *IDPOIDCConfigAddedEvent
type IDPOIDCConfigChangedEvent ¶
type IDPOIDCConfigChangedEvent struct {
idpconfig.OIDCConfigChangedEvent
}
func NewIDPOIDCConfigChangedEvent ¶
func NewIDPOIDCConfigChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, idpConfigID string, changes []idpconfig.OIDCConfigChanges, ) (*IDPOIDCConfigChangedEvent, error)
type IdentityProviderAddedEvent ¶
type IdentityProviderAddedEvent struct {
policy.IdentityProviderAddedEvent
}
func NewIdentityProviderAddedEvent ¶
func NewIdentityProviderAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, idpConfigID string, ) *IdentityProviderAddedEvent
type IdentityProviderCascadeRemovedEvent ¶
type IdentityProviderCascadeRemovedEvent struct {
policy.IdentityProviderCascadeRemovedEvent
}
func NewIdentityProviderCascadeRemovedEvent ¶
func NewIdentityProviderCascadeRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, idpConfigID string, ) *IdentityProviderCascadeRemovedEvent
type IdentityProviderRemovedEvent ¶
type IdentityProviderRemovedEvent struct {
policy.IdentityProviderRemovedEvent
}
func NewIdentityProviderRemovedEvent ¶
func NewIdentityProviderRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, idpConfigID string, ) *IdentityProviderRemovedEvent
type LabelPolicyActivatedEvent ¶
type LabelPolicyActivatedEvent struct {
policy.LabelPolicyActivatedEvent
}
func NewLabelPolicyActivatedEvent ¶
func NewLabelPolicyActivatedEvent( ctx context.Context, aggregate *eventstore.Aggregate, ) *LabelPolicyActivatedEvent
type LabelPolicyAddedEvent ¶
type LabelPolicyAddedEvent struct {
policy.LabelPolicyAddedEvent
}
func NewLabelPolicyAddedEvent ¶
func NewLabelPolicyAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, primaryColor, backgroundColor, warnColor, fontColor, primaryColorDark, backgroundColorDark, warnColorDark, fontColorDark string, hideLoginNameSuffix, errorMsgPopup, disableWatermark bool, ) *LabelPolicyAddedEvent
type LabelPolicyAssetsRemovedEvent ¶
type LabelPolicyAssetsRemovedEvent struct {
policy.LabelPolicyAssetsRemovedEvent
}
func NewLabelPolicyAssetsRemovedEvent ¶
func NewLabelPolicyAssetsRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, ) *LabelPolicyAssetsRemovedEvent
func (*LabelPolicyAssetsRemovedEvent) Data ¶
func (e *LabelPolicyAssetsRemovedEvent) Data() interface{}
func (*LabelPolicyAssetsRemovedEvent) UniqueConstraints ¶
func (e *LabelPolicyAssetsRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type LabelPolicyChangedEvent ¶
type LabelPolicyChangedEvent struct {
policy.LabelPolicyChangedEvent
}
func NewLabelPolicyChangedEvent ¶
func NewLabelPolicyChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, changes []policy.LabelPolicyChanges, ) (*LabelPolicyChangedEvent, error)
type LabelPolicyFontAddedEvent ¶
type LabelPolicyFontAddedEvent struct {
policy.LabelPolicyFontAddedEvent
}
func NewLabelPolicyFontAddedEvent ¶
func NewLabelPolicyFontAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyFontAddedEvent
type LabelPolicyFontRemovedEvent ¶
type LabelPolicyFontRemovedEvent struct {
policy.LabelPolicyFontRemovedEvent
}
func NewLabelPolicyFontRemovedEvent ¶
func NewLabelPolicyFontRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyFontRemovedEvent
type LabelPolicyIconAddedEvent ¶
type LabelPolicyIconAddedEvent struct {
policy.LabelPolicyIconAddedEvent
}
func NewLabelPolicyIconAddedEvent ¶
func NewLabelPolicyIconAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyIconAddedEvent
type LabelPolicyIconDarkAddedEvent ¶
type LabelPolicyIconDarkAddedEvent struct {
policy.LabelPolicyIconDarkAddedEvent
}
func NewLabelPolicyIconDarkAddedEvent ¶
func NewLabelPolicyIconDarkAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyIconDarkAddedEvent
type LabelPolicyIconDarkRemovedEvent ¶
type LabelPolicyIconDarkRemovedEvent struct {
policy.LabelPolicyIconDarkRemovedEvent
}
func NewLabelPolicyIconDarkRemovedEvent ¶
func NewLabelPolicyIconDarkRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyIconDarkRemovedEvent
type LabelPolicyIconRemovedEvent ¶
type LabelPolicyIconRemovedEvent struct {
policy.LabelPolicyIconRemovedEvent
}
func NewLabelPolicyIconRemovedEvent ¶
func NewLabelPolicyIconRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyIconRemovedEvent
type LabelPolicyLogoAddedEvent ¶
type LabelPolicyLogoAddedEvent struct {
policy.LabelPolicyLogoAddedEvent
}
func NewLabelPolicyLogoAddedEvent ¶
func NewLabelPolicyLogoAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyLogoAddedEvent
type LabelPolicyLogoDarkAddedEvent ¶
type LabelPolicyLogoDarkAddedEvent struct {
policy.LabelPolicyLogoDarkAddedEvent
}
func NewLabelPolicyLogoDarkAddedEvent ¶
func NewLabelPolicyLogoDarkAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyLogoDarkAddedEvent
type LabelPolicyLogoDarkRemovedEvent ¶
type LabelPolicyLogoDarkRemovedEvent struct {
policy.LabelPolicyLogoDarkRemovedEvent
}
func NewLabelPolicyLogoDarkRemovedEvent ¶
func NewLabelPolicyLogoDarkRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyLogoDarkRemovedEvent
type LabelPolicyLogoRemovedEvent ¶
type LabelPolicyLogoRemovedEvent struct {
policy.LabelPolicyLogoRemovedEvent
}
func NewLabelPolicyLogoRemovedEvent ¶
func NewLabelPolicyLogoRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyLogoRemovedEvent
type LockoutPolicyAddedEvent ¶
type LockoutPolicyAddedEvent struct {
policy.LockoutPolicyAddedEvent
}
func NewLockoutPolicyAddedEvent ¶
func NewLockoutPolicyAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, maxAttempts uint64, showLockoutFailure bool, ) *LockoutPolicyAddedEvent
type LockoutPolicyChangedEvent ¶
type LockoutPolicyChangedEvent struct {
policy.LockoutPolicyChangedEvent
}
func NewLockoutPolicyChangedEvent ¶
func NewLockoutPolicyChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, changes []policy.LockoutPolicyChanges, ) (*LockoutPolicyChangedEvent, error)
type LoginPolicyAddedEvent ¶
type LoginPolicyAddedEvent struct {
policy.LoginPolicyAddedEvent
}
func NewLoginPolicyAddedEvent ¶
func NewLoginPolicyAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, allowUsernamePassword, allowRegister, allowExternalIDP, forceMFA, hidePasswordReset, ignoreUnknownUsernames bool, passwordlessType domain.PasswordlessType, ) *LoginPolicyAddedEvent
type LoginPolicyChangedEvent ¶
type LoginPolicyChangedEvent struct {
policy.LoginPolicyChangedEvent
}
func NewLoginPolicyChangedEvent ¶
func NewLoginPolicyChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, changes []policy.LoginPolicyChanges, ) (*LoginPolicyChangedEvent, error)
type LoginPolicyMultiFactorAddedEvent ¶
type LoginPolicyMultiFactorAddedEvent struct {
policy.MultiFactorAddedEvent
}
func NewLoginPolicyMultiFactorAddedEvent ¶
func NewLoginPolicyMultiFactorAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, mfaType domain.MultiFactorType, ) *LoginPolicyMultiFactorAddedEvent
type LoginPolicyMultiFactorRemovedEvent ¶
type LoginPolicyMultiFactorRemovedEvent struct {
policy.MultiFactorRemovedEvent
}
func NewLoginPolicyMultiFactorRemovedEvent ¶
func NewLoginPolicyMultiFactorRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, mfaType domain.MultiFactorType, ) *LoginPolicyMultiFactorRemovedEvent
type LoginPolicySecondFactorAddedEvent ¶
type LoginPolicySecondFactorAddedEvent struct {
policy.SecondFactorAddedEvent
}
func NewLoginPolicySecondFactorAddedEvent ¶
func NewLoginPolicySecondFactorAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, mfaType domain.SecondFactorType, ) *LoginPolicySecondFactorAddedEvent
type LoginPolicySecondFactorRemovedEvent ¶
type LoginPolicySecondFactorRemovedEvent struct {
policy.SecondFactorRemovedEvent
}
func NewLoginPolicySecondFactorRemovedEvent ¶
func NewLoginPolicySecondFactorRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, mfaType domain.SecondFactorType, ) *LoginPolicySecondFactorRemovedEvent
type MailTemplateAddedEvent ¶
type MailTemplateAddedEvent struct {
policy.MailTemplateAddedEvent
}
func NewMailTemplateAddedEvent ¶
func NewMailTemplateAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, template []byte, ) *MailTemplateAddedEvent
type MailTemplateChangedEvent ¶
type MailTemplateChangedEvent struct {
policy.MailTemplateChangedEvent
}
func NewMailTemplateChangedEvent ¶
func NewMailTemplateChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, changes []policy.MailTemplateChanges, ) (*MailTemplateChangedEvent, error)
type MailTextAddedEvent ¶
type MailTextAddedEvent struct {
policy.MailTextAddedEvent
}
func NewMailTextAddedEvent ¶
func NewMailTextAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, mailTextType, language, title, preHeader, subject, greeting, text, buttonText string, ) *MailTextAddedEvent
type MailTextChangedEvent ¶
type MailTextChangedEvent struct {
policy.MailTextChangedEvent
}
func NewMailTextChangedEvent ¶
func NewMailTextChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, mailTextType, language string, changes []policy.MailTextChanges, ) (*MailTextChangedEvent, error)
type MemberAddedEvent ¶
type MemberAddedEvent struct {
member.MemberAddedEvent
}
func NewMemberAddedEvent ¶
func NewMemberAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, userID string, roles ...string, ) *MemberAddedEvent
type MemberCascadeRemovedEvent ¶
type MemberCascadeRemovedEvent struct {
member.MemberCascadeRemovedEvent
}
func NewMemberCascadeRemovedEvent ¶
func NewMemberCascadeRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, userID string, ) *MemberCascadeRemovedEvent
type MemberChangedEvent ¶
type MemberChangedEvent struct {
member.MemberChangedEvent
}
func NewMemberChangedEvent ¶
func NewMemberChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, userID string, roles ...string, ) *MemberChangedEvent
type MemberRemovedEvent ¶
type MemberRemovedEvent struct {
member.MemberRemovedEvent
}
func NewMemberRemovedEvent ¶
func NewMemberRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, userID string, ) *MemberRemovedEvent
type MigrateUniqueConstraintEvent ¶
type MigrateUniqueConstraintEvent struct { eventstore.BaseEvent `json:"-"` // contains filtered or unexported fields }
func NewMigrateUniqueConstraintEvent ¶
func NewMigrateUniqueConstraintEvent( ctx context.Context, aggregate *eventstore.Aggregate, uniqueConstraintMigrations []*domain.UniqueConstraintMigration) *MigrateUniqueConstraintEvent
func (*MigrateUniqueConstraintEvent) Data ¶
func (e *MigrateUniqueConstraintEvent) Data() interface{}
func (*MigrateUniqueConstraintEvent) UniqueConstraints ¶
func (e *MigrateUniqueConstraintEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type OrgIAMPolicyAddedEvent ¶
type OrgIAMPolicyAddedEvent struct {
policy.OrgIAMPolicyAddedEvent
}
func NewOrgIAMPolicyAddedEvent ¶
func NewOrgIAMPolicyAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, userLoginMustBeDomain bool, ) *OrgIAMPolicyAddedEvent
type OrgIAMPolicyChangedEvent ¶
type OrgIAMPolicyChangedEvent struct {
policy.OrgIAMPolicyChangedEvent
}
func NewOrgIAMPolicyChangedEvent ¶
func NewOrgIAMPolicyChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, changes []policy.OrgIAMPolicyChanges, ) (*OrgIAMPolicyChangedEvent, error)
type PasswordAgePolicyAddedEvent ¶
type PasswordAgePolicyAddedEvent struct {
policy.PasswordAgePolicyAddedEvent
}
func NewPasswordAgePolicyAddedEvent ¶
func NewPasswordAgePolicyAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, expireWarnDays, maxAgeDays uint64, ) *PasswordAgePolicyAddedEvent
type PasswordAgePolicyChangedEvent ¶
type PasswordAgePolicyChangedEvent struct {
policy.PasswordAgePolicyChangedEvent
}
func NewPasswordAgePolicyChangedEvent ¶
func NewPasswordAgePolicyChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, changes []policy.PasswordAgePolicyChanges, ) (*PasswordAgePolicyChangedEvent, error)
type PasswordComplexityPolicyAddedEvent ¶
type PasswordComplexityPolicyAddedEvent struct {
policy.PasswordComplexityPolicyAddedEvent
}
func NewPasswordComplexityPolicyAddedEvent ¶
func NewPasswordComplexityPolicyAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, minLength uint64, hasLowercase, hasUppercase, hasNumber, hasSymbol bool, ) *PasswordComplexityPolicyAddedEvent
type PasswordComplexityPolicyChangedEvent ¶
type PasswordComplexityPolicyChangedEvent struct {
policy.PasswordComplexityPolicyChangedEvent
}
func NewPasswordComplexityPolicyChangedEvent ¶
func NewPasswordComplexityPolicyChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, changes []policy.PasswordComplexityPolicyChanges, ) (*PasswordComplexityPolicyChangedEvent, error)
type PrivacyPolicyAddedEvent ¶
type PrivacyPolicyAddedEvent struct {
policy.PrivacyPolicyAddedEvent
}
func NewPrivacyPolicyAddedEvent ¶
func NewPrivacyPolicyAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, tosLink, privacyLink, helpLink string, ) *PrivacyPolicyAddedEvent
type PrivacyPolicyChangedEvent ¶
type PrivacyPolicyChangedEvent struct {
policy.PrivacyPolicyChangedEvent
}
func NewPrivacyPolicyChangedEvent ¶
func NewPrivacyPolicyChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, changes []policy.PrivacyPolicyChanges, ) (*PrivacyPolicyChangedEvent, error)
type ProjectSetEvent ¶
type ProjectSetEvent struct { eventstore.BaseEvent `json:"-"` ProjectID string `json:"iamProjectId"` }
func NewIAMProjectSetEvent ¶
func NewIAMProjectSetEvent( ctx context.Context, aggregate *eventstore.Aggregate, projectID string, ) *ProjectSetEvent
func (*ProjectSetEvent) Data ¶
func (e *ProjectSetEvent) Data() interface{}
func (*ProjectSetEvent) UniqueConstraints ¶
func (e *ProjectSetEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type SetupStepEvent ¶
type SetupStepEvent struct { eventstore.BaseEvent `json:"-"` Step domain.Step `json:"Step"` Done bool `json:"-"` }
func NewSetupStepDoneEvent ¶
func NewSetupStepDoneEvent( ctx context.Context, aggregate *eventstore.Aggregate, step domain.Step, ) *SetupStepEvent
func NewSetupStepStartedEvent ¶
func NewSetupStepStartedEvent( ctx context.Context, aggregate *eventstore.Aggregate, step domain.Step, ) *SetupStepEvent
func (*SetupStepEvent) Data ¶
func (e *SetupStepEvent) Data() interface{}
func (*SetupStepEvent) UniqueConstraints ¶
func (e *SetupStepEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
Source Files
¶
- aggregate.go
- custom_text.go
- event_iam_project_set.go
- event_org_set.go
- events_step.go
- eventstore.go
- features.go
- idp_config.go
- idp_jwt_config.go
- idp_oidc_config.go
- member.go
- migrate_unique_constraints.go
- policy_label.go
- policy_login.go
- policy_login_factors.go
- policy_login_identity_provider.go
- policy_mail_template.go
- policy_mail_text.go
- policy_org_iam.go
- policy_password_age.go
- policy_password_complexity.go
- policy_password_lockout.go
- policy_privacy.go
Click to show internal directories.
Click to hide internal directories.