Documentation ¶
Index ¶
Constants ¶
View Source
const ( FeaturesKeyAggregateID = "aggregate_id" FeaturesKeyDefault = "default_features" )
Variables ¶
This section is empty.
Functions ¶
func FeaturesToModel ¶
func FeaturesToModel(features *FeaturesView) *features_model.FeaturesView
Types ¶
type FeaturesSearchKey ¶
type FeaturesSearchKey model.FeaturesSearchKey
func (FeaturesSearchKey) ToColumnName ¶
func (key FeaturesSearchKey) ToColumnName() string
type FeaturesSearchQuery ¶
type FeaturesSearchQuery model.FeaturesSearchQuery
func (FeaturesSearchQuery) GetKey ¶
func (req FeaturesSearchQuery) GetKey() repository.ColumnKey
func (FeaturesSearchQuery) GetMethod ¶
func (req FeaturesSearchQuery) GetMethod() domain.SearchMethod
func (FeaturesSearchQuery) GetValue ¶
func (req FeaturesSearchQuery) GetValue() interface{}
type FeaturesSearchRequest ¶
type FeaturesSearchRequest model.FeaturesSearchRequest
func (FeaturesSearchRequest) GetAsc ¶
func (req FeaturesSearchRequest) GetAsc() bool
func (FeaturesSearchRequest) GetLimit ¶
func (req FeaturesSearchRequest) GetLimit() uint64
func (FeaturesSearchRequest) GetOffset ¶
func (req FeaturesSearchRequest) GetOffset() uint64
func (FeaturesSearchRequest) GetQueries ¶
func (req FeaturesSearchRequest) GetQueries() []repository.SearchQuery
func (FeaturesSearchRequest) GetSortingColumn ¶
func (req FeaturesSearchRequest) GetSortingColumn() repository.ColumnKey
type FeaturesView ¶
type FeaturesView 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"` Sequence uint64 `json:"-" gorm:"column:sequence"` Default bool `json:"-" gorm:"column:default_features"` TierName string `json:"tierName" gorm:"column:tier_name"` TierDescription string `json:"tierDescription" gorm:"column:tier_description"` State int32 `json:"state" gorm:"column:state"` StateDescription string `json:"stateDescription" gorm:"column:state_description"` AuditLogRetention time.Duration `json:"auditLogRetention" gorm:"column:audit_log_retention"` LoginPolicyFactors bool `json:"loginPolicyFactors" gorm:"column:login_policy_factors"` LoginPolicyIDP bool `json:"loginPolicyIDP" gorm:"column:login_policy_idp"` LoginPolicyPasswordless bool `json:"loginPolicyPasswordless" gorm:"column:login_policy_passwordless"` LoginPolicyRegistration bool `json:"loginPolicyRegistration" gorm:"column:login_policy_registration"` LoginPolicyUsernameLogin bool `json:"loginPolicyUsernameLogin" gorm:"column:login_policy_username_login"` PasswordComplexityPolicy bool `json:"passwordComplexityPolicy" gorm:"column:password_complexity_policy"` LabelPolicy bool `json:"labelPolicy" gorm:"column:label_policy"` CustomDomain bool `json:"customDomain" gorm:"column:custom_domain"` }
func (*FeaturesView) AppendEvent ¶
func (f *FeaturesView) AppendEvent(event *models.Event) (err error)
func (*FeaturesView) SetRootData ¶
func (f *FeaturesView) SetRootData(event *models.Event)
Click to show internal directories.
Click to hide internal directories.