Documentation ¶
Index ¶
- Constants
- func CustomTextViewsToLoginDomain(aggregateID, lang string, texts []*CustomTextView) *domain.CustomLoginText
- func IAMMemberToModel(member *IAMMemberView, prefixAvatarURL string) *model.IAMMemberView
- func IAMMembersToModel(roles []*IAMMemberView, prefixAvatarURL string) []*model.IAMMemberView
- func IDPConfigViewToModel(idp *IDPConfigView) *model.IDPConfigView
- func IDPProviderViewToModel(provider *IDPProviderView) *model.IDPProviderView
- func IDPProviderViewsToModel(providers []*IDPProviderView) []*model.IDPProviderView
- func IdpConfigViewsToModel(idps []*IDPConfigView) []*model.IDPConfigView
- func LabelPolicyViewToModel(policy *LabelPolicyView) *model.LabelPolicyView
- func MessageTextViewToModel(template *MessageTextView) *model.MessageTextView
- func MetadataViewToDomain(data *MetadataView) *domain.Metadata
- func MetadataViewsToDomain(texts []*MetadataView) []*domain.Metadata
- func PasswordComplexityViewToModel(policy *query.PasswordComplexityPolicy) *model.PasswordComplexityPolicyView
- type AssetView
- type CustomTextSearchKey
- type CustomTextSearchQuery
- type CustomTextSearchRequest
- func (req CustomTextSearchRequest) GetAsc() bool
- func (req CustomTextSearchRequest) GetLimit() uint64
- func (req CustomTextSearchRequest) GetOffset() uint64
- func (req CustomTextSearchRequest) GetQueries() []repository.SearchQuery
- func (req CustomTextSearchRequest) GetSortingColumn() repository.ColumnKey
- type CustomTextView
- type IAMMemberSearchKey
- type IAMMemberSearchQuery
- type IAMMemberSearchRequest
- type IAMMemberView
- type IDPConfigSearchKey
- type IDPConfigSearchQuery
- type IDPConfigSearchRequest
- type IDPConfigView
- type IDPProviderSearchKey
- type IDPProviderSearchQuery
- type IDPProviderSearchRequest
- func (req IDPProviderSearchRequest) GetAsc() bool
- func (req IDPProviderSearchRequest) GetLimit() uint64
- func (req IDPProviderSearchRequest) GetOffset() uint64
- func (req IDPProviderSearchRequest) GetQueries() []repository.SearchQuery
- func (req IDPProviderSearchRequest) GetSortingColumn() repository.ColumnKey
- type IDPProviderView
- type LabelPolicySearchKey
- type LabelPolicySearchQuery
- type LabelPolicySearchRequest
- func (req LabelPolicySearchRequest) GetAsc() bool
- func (req LabelPolicySearchRequest) GetLimit() uint64
- func (req LabelPolicySearchRequest) GetOffset() uint64
- func (req LabelPolicySearchRequest) GetQueries() []repository.SearchQuery
- func (req LabelPolicySearchRequest) GetSortingColumn() repository.ColumnKey
- type LabelPolicyView
- type MessageTextSearchKey
- type MessageTextSearchQuery
- type MessageTextSearchRequest
- func (req MessageTextSearchRequest) GetAsc() bool
- func (req MessageTextSearchRequest) GetLimit() uint64
- func (req MessageTextSearchRequest) GetOffset() uint64
- func (req MessageTextSearchRequest) GetQueries() []repository.SearchQuery
- func (req MessageTextSearchRequest) GetSortingColumn() repository.ColumnKey
- type MessageTextView
- type MetadataSearchKey
- type MetadataSearchQuery
- type MetadataSearchRequest
- type MetadataView
- type OrgIAMPolicyView
- type PasswordComplexityPolicyView
Constants ¶
View Source
const ( CustomTextKeyAggregateID = "aggregate_id" CustomTextKeyTemplate = "template" CustomTextKeyLanguage = "language" CustomTextKeyKey = "key" )
View Source
const ( IAMMemberKeyUserID = "user_id" IAMMemberKeyIamID = "iam_id" IAMMemberKeyUserName = "user_name" IAMMemberKeyEmail = "email" IAMMemberKeyFirstName = "first_name" IAMMemberKeyLastName = "last_name" )
View Source
const ( IDPConfigKeyIdpConfigID = "idp_config_id" IDPConfigKeyAggregateID = "aggregate_id" IDPConfigKeyName = "name" IDPConfigKeyProviderType = "idp_provider_type" )
View Source
const ( IDPProviderKeyAggregateID = "aggregate_id" IDPProviderKeyIdpConfigID = "idp_config_id" IDPProviderKeyState = "idp_state" )
View Source
const ( LabelPolicyKeyAggregateID = "aggregate_id" LabelPolicyKeyState = "label_policy_state" )
View Source
const ( MessageTextKeyAggregateID = "aggregate_id" MessageTextKeyMessageTextType = "message_text_type" MessageTextKeyLanguage = "language" )
View Source
const ( MetadataKeyAggregateID = "aggregate_id" MetadataKeyResourceOwner = "resource_owner" MetadataKeyKey = "key" MetadataKeyValue = "value" )
View Source
const (
OrgIAMPolicyKeyAggregateID = "aggregate_id"
)
View Source
const (
PasswordComplexityKeyAggregateID = "aggregate_id"
)
Variables ¶
This section is empty.
Functions ¶
func CustomTextViewsToLoginDomain ¶
func CustomTextViewsToLoginDomain(aggregateID, lang string, texts []*CustomTextView) *domain.CustomLoginText
func IAMMemberToModel ¶
func IAMMemberToModel(member *IAMMemberView, prefixAvatarURL string) *model.IAMMemberView
func IAMMembersToModel ¶
func IAMMembersToModel(roles []*IAMMemberView, prefixAvatarURL string) []*model.IAMMemberView
func IDPConfigViewToModel ¶
func IDPConfigViewToModel(idp *IDPConfigView) *model.IDPConfigView
func IDPProviderViewToModel ¶
func IDPProviderViewToModel(provider *IDPProviderView) *model.IDPProviderView
func IDPProviderViewsToModel ¶
func IDPProviderViewsToModel(providers []*IDPProviderView) []*model.IDPProviderView
func IdpConfigViewsToModel ¶
func IdpConfigViewsToModel(idps []*IDPConfigView) []*model.IDPConfigView
func LabelPolicyViewToModel ¶
func LabelPolicyViewToModel(policy *LabelPolicyView) *model.LabelPolicyView
func MessageTextViewToModel ¶
func MessageTextViewToModel(template *MessageTextView) *model.MessageTextView
func MetadataViewToDomain ¶
func MetadataViewToDomain(data *MetadataView) *domain.Metadata
func MetadataViewsToDomain ¶
func MetadataViewsToDomain(texts []*MetadataView) []*domain.Metadata
func PasswordComplexityViewToModel ¶
func PasswordComplexityViewToModel(policy *query.PasswordComplexityPolicy) *model.PasswordComplexityPolicyView
Types ¶
type CustomTextSearchKey ¶
type CustomTextSearchKey iam_model.CustomTextSearchKey
func (CustomTextSearchKey) ToColumnName ¶
func (key CustomTextSearchKey) ToColumnName() string
type CustomTextSearchQuery ¶
type CustomTextSearchQuery iam_model.CustomTextSearchQuery
func (CustomTextSearchQuery) GetKey ¶
func (req CustomTextSearchQuery) GetKey() repository.ColumnKey
func (CustomTextSearchQuery) GetMethod ¶
func (req CustomTextSearchQuery) GetMethod() domain.SearchMethod
func (CustomTextSearchQuery) GetValue ¶
func (req CustomTextSearchQuery) GetValue() interface{}
type CustomTextSearchRequest ¶
type CustomTextSearchRequest iam_model.CustomTextSearchRequest
func (CustomTextSearchRequest) GetAsc ¶
func (req CustomTextSearchRequest) GetAsc() bool
func (CustomTextSearchRequest) GetLimit ¶
func (req CustomTextSearchRequest) GetLimit() uint64
func (CustomTextSearchRequest) GetOffset ¶
func (req CustomTextSearchRequest) GetOffset() uint64
func (CustomTextSearchRequest) GetQueries ¶
func (req CustomTextSearchRequest) GetQueries() []repository.SearchQuery
func (CustomTextSearchRequest) GetSortingColumn ¶
func (req CustomTextSearchRequest) GetSortingColumn() repository.ColumnKey
type CustomTextView ¶
type CustomTextView struct { AggregateID string `json:"-" gorm:"column:aggregate_id;primary_key"` CreationDate time.Time `json:"-" gorm:"column:creation_date"` ChangeDate time.Time `json:"-" gorm:"column:change_date"` Template string `json:"template" gorm:"column:template;primary_key"` Language string `json:"language" gorm:"column:language;primary_key"` Key string `json:"key" gorm:"column:key;primary_key"` Text string `json:"text" gorm:"column:text"` Sequence uint64 `json:"-" gorm:"column:sequence"` }
func (*CustomTextView) AppendEvent ¶
func (i *CustomTextView) AppendEvent(event *models.Event) (err error)
func (*CustomTextView) IsMessageTemplate ¶
func (r *CustomTextView) IsMessageTemplate() bool
type IAMMemberSearchKey ¶
type IAMMemberSearchKey iam_model.IAMMemberSearchKey
func (IAMMemberSearchKey) ToColumnName ¶
func (key IAMMemberSearchKey) ToColumnName() string
type IAMMemberSearchQuery ¶
type IAMMemberSearchQuery iam_model.IAMMemberSearchQuery
func (IAMMemberSearchQuery) GetKey ¶
func (req IAMMemberSearchQuery) GetKey() repository.ColumnKey
func (IAMMemberSearchQuery) GetMethod ¶
func (req IAMMemberSearchQuery) GetMethod() domain.SearchMethod
func (IAMMemberSearchQuery) GetValue ¶
func (req IAMMemberSearchQuery) GetValue() interface{}
type IAMMemberSearchRequest ¶
type IAMMemberSearchRequest iam_model.IAMMemberSearchRequest
func (IAMMemberSearchRequest) GetAsc ¶
func (req IAMMemberSearchRequest) GetAsc() bool
func (IAMMemberSearchRequest) GetLimit ¶
func (req IAMMemberSearchRequest) GetLimit() uint64
func (IAMMemberSearchRequest) GetOffset ¶
func (req IAMMemberSearchRequest) GetOffset() uint64
func (IAMMemberSearchRequest) GetQueries ¶
func (req IAMMemberSearchRequest) GetQueries() []repository.SearchQuery
func (IAMMemberSearchRequest) GetSortingColumn ¶
func (req IAMMemberSearchRequest) GetSortingColumn() repository.ColumnKey
type IAMMemberView ¶
type IAMMemberView struct { UserID string `json:"userId" gorm:"column:user_id;primary_key"` IAMID string `json:"-" gorm:"column:iam_id"` UserName string `json:"-" gorm:"column:user_name"` Email string `json:"-" gorm:"column:email_address"` FirstName string `json:"-" gorm:"column:first_name"` LastName string `json:"-" gorm:"column:last_name"` DisplayName string `json:"-" gorm:"column:display_name"` Roles pq.StringArray `json:"roles" gorm:"column:roles"` Sequence uint64 `json:"-" gorm:"column:sequence"` PreferredLoginName string `json:"-" gorm:"column:preferred_login_name"` AvatarKey string `json:"-" gorm:"column:avatar_key"` UserResourceOwner string `json:"-" gorm:"column:user_resource_owner"` CreationDate time.Time `json:"-" gorm:"column:creation_date"` ChangeDate time.Time `json:"-" gorm:"column:change_date"` }
func (*IAMMemberView) AppendEvent ¶
func (r *IAMMemberView) AppendEvent(event *models.Event) (err error)
type IDPConfigSearchKey ¶
type IDPConfigSearchKey iam_model.IDPConfigSearchKey
func (IDPConfigSearchKey) ToColumnName ¶
func (key IDPConfigSearchKey) ToColumnName() string
type IDPConfigSearchQuery ¶
type IDPConfigSearchQuery iam_model.IDPConfigSearchQuery
func (IDPConfigSearchQuery) GetKey ¶
func (req IDPConfigSearchQuery) GetKey() repository.ColumnKey
func (IDPConfigSearchQuery) GetMethod ¶
func (req IDPConfigSearchQuery) GetMethod() domain.SearchMethod
func (IDPConfigSearchQuery) GetValue ¶
func (req IDPConfigSearchQuery) GetValue() interface{}
type IDPConfigSearchRequest ¶
type IDPConfigSearchRequest iam_model.IDPConfigSearchRequest
func (IDPConfigSearchRequest) GetAsc ¶
func (req IDPConfigSearchRequest) GetAsc() bool
func (IDPConfigSearchRequest) GetLimit ¶
func (req IDPConfigSearchRequest) GetLimit() uint64
func (IDPConfigSearchRequest) GetOffset ¶
func (req IDPConfigSearchRequest) GetOffset() uint64
func (IDPConfigSearchRequest) GetQueries ¶
func (req IDPConfigSearchRequest) GetQueries() []repository.SearchQuery
func (IDPConfigSearchRequest) GetSortingColumn ¶
func (req IDPConfigSearchRequest) GetSortingColumn() repository.ColumnKey
type IDPConfigView ¶
type IDPConfigView struct { IDPConfigID string `json:"idpConfigId" gorm:"column:idp_config_id;primary_key"` AggregateID string `json:"-" gorm:"column:aggregate_id"` Name string `json:"name" gorm:"column:name"` StylingType int32 `json:"stylingType" gorm:"column:styling_type"` CreationDate time.Time `json:"-" gorm:"column:creation_date"` ChangeDate time.Time `json:"-" gorm:"column:change_date"` IDPState int32 `json:"-" gorm:"column:idp_state"` IDPProviderType int32 `json:"-" gorm:"column:idp_provider_type"` AutoRegister bool `json:"autoRegister" gorm:"column:auto_register"` IsOIDC bool `json:"-" gorm:"column:is_oidc"` OIDCClientID string `json:"clientId" gorm:"column:oidc_client_id"` OIDCClientSecret *crypto.CryptoValue `json:"clientSecret" gorm:"column:oidc_client_secret"` OIDCIssuer string `json:"issuer" gorm:"column:oidc_issuer"` OIDCScopes pq.StringArray `json:"scopes" gorm:"column:oidc_scopes"` OIDCIDPDisplayNameMapping int32 `json:"idpDisplayNameMapping" gorm:"column:oidc_idp_display_name_mapping"` OIDCUsernameMapping int32 `json:"usernameMapping" gorm:"column:oidc_idp_username_mapping"` OAuthAuthorizationEndpoint string `json:"authorizationEndpoint" gorm:"column:oauth_authorization_endpoint"` OAuthTokenEndpoint string `json:"tokenEndpoint" gorm:"column:oauth_token_endpoint"` JWTEndpoint string `json:"jwtEndpoint" gorm:"jwt_endpoint"` JWTKeysEndpoint string `json:"keysEndpoint" gorm:"jwt_keys_endpoint"` JWTHeaderName string `json:"headerName" gorm:"jwt_header_name"` Sequence uint64 `json:"-" gorm:"column:sequence"` }
func (*IDPConfigView) AppendEvent ¶
func (i *IDPConfigView) AppendEvent(providerType model.IDPProviderType, event *models.Event) (err error)
type IDPProviderSearchKey ¶
type IDPProviderSearchKey iam_model.IDPProviderSearchKey
func (IDPProviderSearchKey) ToColumnName ¶
func (key IDPProviderSearchKey) ToColumnName() string
type IDPProviderSearchQuery ¶
type IDPProviderSearchQuery iam_model.IDPProviderSearchQuery
func (IDPProviderSearchQuery) GetKey ¶
func (req IDPProviderSearchQuery) GetKey() repository.ColumnKey
func (IDPProviderSearchQuery) GetMethod ¶
func (req IDPProviderSearchQuery) GetMethod() domain.SearchMethod
func (IDPProviderSearchQuery) GetValue ¶
func (req IDPProviderSearchQuery) GetValue() interface{}
type IDPProviderSearchRequest ¶
type IDPProviderSearchRequest iam_model.IDPProviderSearchRequest
func (IDPProviderSearchRequest) GetAsc ¶
func (req IDPProviderSearchRequest) GetAsc() bool
func (IDPProviderSearchRequest) GetLimit ¶
func (req IDPProviderSearchRequest) GetLimit() uint64
func (IDPProviderSearchRequest) GetOffset ¶
func (req IDPProviderSearchRequest) GetOffset() uint64
func (IDPProviderSearchRequest) GetQueries ¶
func (req IDPProviderSearchRequest) GetQueries() []repository.SearchQuery
func (IDPProviderSearchRequest) GetSortingColumn ¶
func (req IDPProviderSearchRequest) GetSortingColumn() repository.ColumnKey
type IDPProviderView ¶
type IDPProviderView struct { AggregateID string `json:"-" gorm:"column:aggregate_id;primary_key"` IDPConfigID string `json:"idpConfigID" gorm:"column:idp_config_id;primary_key"` CreationDate time.Time `json:"-" gorm:"column:creation_date"` ChangeDate time.Time `json:"-" gorm:"column:change_date"` Name string `json:"-" gorm:"column:name"` StylingType int32 `json:"-" gorm:"column:styling_type"` IDPConfigType int32 `json:"-" gorm:"column:idp_config_type"` IDPProviderType int32 `json:"idpProviderType" gorm:"column:idp_provider_type"` IDPState int32 `json:"-" gorm:"column:idp_state"` Sequence uint64 `json:"-" gorm:"column:sequence"` }
func IDPProviderViewFromModel ¶
func IDPProviderViewFromModel(provider *model.IDPProviderView) *IDPProviderView
func (*IDPProviderView) AppendEvent ¶
func (i *IDPProviderView) AppendEvent(event *models.Event) (err error)
type LabelPolicySearchKey ¶
type LabelPolicySearchKey iam_model.LabelPolicySearchKey
func (LabelPolicySearchKey) ToColumnName ¶
func (key LabelPolicySearchKey) ToColumnName() string
type LabelPolicySearchQuery ¶
type LabelPolicySearchQuery iam_model.LabelPolicySearchQuery
func (LabelPolicySearchQuery) GetKey ¶
func (req LabelPolicySearchQuery) GetKey() repository.ColumnKey
func (LabelPolicySearchQuery) GetMethod ¶
func (req LabelPolicySearchQuery) GetMethod() domain.SearchMethod
func (LabelPolicySearchQuery) GetValue ¶
func (req LabelPolicySearchQuery) GetValue() interface{}
type LabelPolicySearchRequest ¶
type LabelPolicySearchRequest iam_model.LabelPolicySearchRequest
func (LabelPolicySearchRequest) GetAsc ¶
func (req LabelPolicySearchRequest) GetAsc() bool
func (LabelPolicySearchRequest) GetLimit ¶
func (req LabelPolicySearchRequest) GetLimit() uint64
func (LabelPolicySearchRequest) GetOffset ¶
func (req LabelPolicySearchRequest) GetOffset() uint64
func (LabelPolicySearchRequest) GetQueries ¶
func (req LabelPolicySearchRequest) GetQueries() []repository.SearchQuery
func (LabelPolicySearchRequest) GetSortingColumn ¶
func (req LabelPolicySearchRequest) GetSortingColumn() repository.ColumnKey
type LabelPolicyView ¶
type LabelPolicyView struct { AggregateID string `json:"-" gorm:"column:aggregate_id;primary_key"` State int32 `json:"-" gorm:"column:label_policy_state;primary_key"` CreationDate time.Time `json:"-" gorm:"column:creation_date"` ChangeDate time.Time `json:"-" gorm:"column:change_date"` PrimaryColor string `json:"primaryColor" gorm:"column:primary_color"` BackgroundColor string `json:"backgroundColor" gorm:"column:background_color"` WarnColor string `json:"warnColor" gorm:"column:warn_color"` FontColor string `json:"fontColor" gorm:"column:font_color"` PrimaryColorDark string `json:"primaryColorDark" gorm:"column:primary_color_dark"` BackgroundColorDark string `json:"backgroundColorDark" gorm:"column:background_color_dark"` WarnColorDark string `json:"warnColorDark" gorm:"column:warn_color_dark"` FontColorDark string `json:"fontColorDark" gorm:"column:font_color_dark"` LogoURL string `json:"-" gorm:"column:logo_url"` IconURL string `json:"-" gorm:"column:icon_url"` LogoDarkURL string `json:"-" gorm:"column:logo_dark_url"` IconDarkURL string `json:"-" gorm:"column:icon_dark_url"` FontURL string `json:"-" gorm:"column:font_url"` HideLoginNameSuffix bool `json:"hideLoginNameSuffix" gorm:"column:hide_login_name_suffix"` ErrorMsgPopup bool `json:"errorMsgPopup" gorm:"column:err_msg_popup"` DisableWatermark bool `json:"disableWatermark" gorm:"column:disable_watermark"` Default bool `json:"-" gorm:"-"` Sequence uint64 `json:"-" gorm:"column:sequence"` }
func (*LabelPolicyView) AppendEvent ¶
func (i *LabelPolicyView) AppendEvent(event *models.Event) (err error)
func (*LabelPolicyView) ToDomain ¶
func (p *LabelPolicyView) ToDomain() *domain.LabelPolicy
type MessageTextSearchKey ¶
type MessageTextSearchKey iam_model.MessageTextSearchKey
func (MessageTextSearchKey) ToColumnName ¶
func (key MessageTextSearchKey) ToColumnName() string
type MessageTextSearchQuery ¶
type MessageTextSearchQuery iam_model.MessageTextSearchQuery
func (MessageTextSearchQuery) GetKey ¶
func (req MessageTextSearchQuery) GetKey() repository.ColumnKey
func (MessageTextSearchQuery) GetMethod ¶
func (req MessageTextSearchQuery) GetMethod() domain.SearchMethod
func (MessageTextSearchQuery) GetValue ¶
func (req MessageTextSearchQuery) GetValue() interface{}
type MessageTextSearchRequest ¶
type MessageTextSearchRequest iam_model.MessageTextSearchRequest
func (MessageTextSearchRequest) GetAsc ¶
func (req MessageTextSearchRequest) GetAsc() bool
func (MessageTextSearchRequest) GetLimit ¶
func (req MessageTextSearchRequest) GetLimit() uint64
func (MessageTextSearchRequest) GetOffset ¶
func (req MessageTextSearchRequest) GetOffset() uint64
func (MessageTextSearchRequest) GetQueries ¶
func (req MessageTextSearchRequest) GetQueries() []repository.SearchQuery
func (MessageTextSearchRequest) GetSortingColumn ¶
func (req MessageTextSearchRequest) GetSortingColumn() repository.ColumnKey
type MessageTextView ¶
type MessageTextView struct { AggregateID string `json:"-" gorm:"column:aggregate_id;primary_key"` CreationDate time.Time `json:"-" gorm:"column:creation_date"` ChangeDate time.Time `json:"-" gorm:"column:change_date"` State int32 `json:"-" gorm:"column:message_text_state"` MessageTextType string `json:"-" gorm:"column:message_text_type;primary_key"` Language string `json:"-" gorm:"column:language;primary_key"` Title string `json:"-" gorm:"column:title"` PreHeader string `json:"-" gorm:"column:pre_header"` Subject string `json:"-" gorm:"column:subject"` Greeting string `json:"-" gorm:"column:greeting"` Text string `json:"-" gorm:"column:text"` ButtonText string `json:"-" gorm:"column:button_text"` Default bool `json:"-" gorm:"-"` Sequence uint64 `json:"-" gorm:"column:sequence"` }
func MessageTextViewFromModel ¶
func MessageTextViewFromModel(template *model.MessageTextView) *MessageTextView
func (*MessageTextView) AppendEvent ¶
func (i *MessageTextView) AppendEvent(event *models.Event) (err error)
type MetadataSearchKey ¶
type MetadataSearchKey domain.MetadataSearchKey
func (MetadataSearchKey) ToColumnName ¶
func (key MetadataSearchKey) ToColumnName() string
type MetadataSearchQuery ¶
type MetadataSearchQuery domain.MetadataSearchQuery
func (MetadataSearchQuery) GetKey ¶
func (req MetadataSearchQuery) GetKey() repository.ColumnKey
func (MetadataSearchQuery) GetMethod ¶
func (req MetadataSearchQuery) GetMethod() domain.SearchMethod
func (MetadataSearchQuery) GetValue ¶
func (req MetadataSearchQuery) GetValue() interface{}
type MetadataSearchRequest ¶
type MetadataSearchRequest domain.MetadataSearchRequest
func (MetadataSearchRequest) GetAsc ¶
func (req MetadataSearchRequest) GetAsc() bool
func (MetadataSearchRequest) GetLimit ¶
func (req MetadataSearchRequest) GetLimit() uint64
func (MetadataSearchRequest) GetOffset ¶
func (req MetadataSearchRequest) GetOffset() uint64
func (MetadataSearchRequest) GetQueries ¶
func (req MetadataSearchRequest) GetQueries() []repository.SearchQuery
func (MetadataSearchRequest) GetSortingColumn ¶
func (req MetadataSearchRequest) GetSortingColumn() repository.ColumnKey
type MetadataView ¶
type MetadataView struct { AggregateID string `json:"-" gorm:"column:aggregate_id;primary_key"` ResourceOwner string `json:"-" gorm:"column:resource_owner"` CreationDate time.Time `json:"-" gorm:"column:creation_date"` ChangeDate time.Time `json:"-" gorm:"column:change_date"` Key string `json:"key" gorm:"column:key;primary_key"` Value []byte `json:"value" gorm:"column:value"` Sequence uint64 `json:"-" gorm:"column:sequence"` }
func (*MetadataView) AppendEvent ¶
func (md *MetadataView) AppendEvent(event *models.Event) (err error)
type OrgIAMPolicyView ¶
type OrgIAMPolicyView struct { AggregateID string `json:"-" gorm:"column:aggregate_id;primary_key"` CreationDate time.Time `json:"-" gorm:"column:creation_date"` ChangeDate time.Time `json:"-" gorm:"column:change_date"` State int32 `json:"-" gorm:"column:org_iam_policy_state"` UserLoginMustBeDomain bool `json:"userLoginMustBeDomain" gorm:"column:user_login_must_be_domain"` Default bool `json:"-" gorm:"-"` Sequence uint64 `json:"-" gorm:"column:sequence"` }
func (*OrgIAMPolicyView) AppendEvent ¶
func (i *OrgIAMPolicyView) AppendEvent(event *models.Event) (err error)
type PasswordComplexityPolicyView ¶
type PasswordComplexityPolicyView struct { AggregateID string `json:"-" gorm:"column:aggregate_id;primary_key"` CreationDate time.Time `json:"-" gorm:"column:creation_date"` ChangeDate time.Time `json:"-" gorm:"column:change_date"` State int32 `json:"-" gorm:"column:complexity_policy_state"` MinLength uint64 `json:"minLength" gorm:"column:min_length"` HasLowercase bool `json:"hasLowercase" gorm:"column:has_lowercase"` HasUppercase bool `json:"hasUppercase" gorm:"column:has_uppercase"` HasSymbol bool `json:"hasSymbol" gorm:"column:has_symbol"` HasNumber bool `json:"hasNumber" gorm:"column:has_number"` Default bool `json:"-" gorm:"-"` Sequence uint64 `json:"-" gorm:"column:sequence"` }
func (*PasswordComplexityPolicyView) AppendEvent ¶
func (i *PasswordComplexityPolicyView) AppendEvent(event *models.Event) (err error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.