projection

package
v1.87.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2022 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ActionTable            = "zitadel.projections.actions"
	ActionIDCol            = "id"
	ActionCreationDateCol  = "creation_date"
	ActionChangeDateCol    = "change_date"
	ActionResourceOwnerCol = "resource_owner"
	ActionStateCol         = "action_state"
	ActionSequenceCol      = "sequence"
	ActionNameCol          = "name"
	ActionScriptCol        = "script"
	ActionTimeoutCol       = "timeout"
	ActionAllowedToFailCol = "allowed_to_fail"
)
View Source
const (
	AppProjectionTable = "zitadel.projections.apps"
	AppAPITable        = AppProjectionTable + "_" + appAPITableSuffix
	AppOIDCTable       = AppProjectionTable + "_" + appOIDCTableSuffix
)
View Source
const (
	AppColumnID            = "id"
	AppColumnName          = "name"
	AppColumnProjectID     = "project_id"
	AppColumnCreationDate  = "creation_date"
	AppColumnChangeDate    = "change_date"
	AppColumnResourceOwner = "resource_owner"
	AppColumnState         = "state"
	AppColumnSequence      = "sequence"

	AppAPIConfigColumnAppID        = "app_id"
	AppAPIConfigColumnClientID     = "client_id"
	AppAPIConfigColumnClientSecret = "client_secret"
	AppAPIConfigColumnAuthMethod   = "auth_method"

	AppOIDCConfigColumnAppID                    = "app_id"
	AppOIDCConfigColumnVersion                  = "version"
	AppOIDCConfigColumnClientID                 = "client_id"
	AppOIDCConfigColumnClientSecret             = "client_secret"
	AppOIDCConfigColumnRedirectUris             = "redirect_uris"
	AppOIDCConfigColumnResponseTypes            = "response_types"
	AppOIDCConfigColumnGrantTypes               = "grant_types"
	AppOIDCConfigColumnApplicationType          = "application_type"
	AppOIDCConfigColumnAuthMethodType           = "auth_method_type"
	AppOIDCConfigColumnPostLogoutRedirectUris   = "post_logout_redirect_uris"
	AppOIDCConfigColumnDevMode                  = "is_dev_mode"
	AppOIDCConfigColumnAccessTokenType          = "access_token_type"
	AppOIDCConfigColumnAccessTokenRoleAssertion = "access_token_role_assertion"
	AppOIDCConfigColumnIDTokenRoleAssertion     = "id_token_role_assertion"
	AppOIDCConfigColumnIDTokenUserinfoAssertion = "id_token_userinfo_assertion"
	AppOIDCConfigColumnClockSkew                = "clock_skew"
	AppOIDCConfigColumnAdditionalOrigins        = "additional_origins"
)
View Source
const (
	AuthNKeyTable            = "zitadel.projections.authn_keys"
	AuthNKeyIDCol            = "id"
	AuthNKeyCreationDateCol  = "creation_date"
	AuthNKeyResourceOwnerCol = "resource_owner"
	AuthNKeyAggregateIDCol   = "aggregate_id"
	AuthNKeySequenceCol      = "sequence"
	AuthNKeyObjectIDCol      = "object_id"
	AuthNKeyExpirationCol    = "expiration"
	AuthNKeyIdentifierCol    = "identifier"
	AuthNKeyPublicKeyCol     = "public_key"
	AuthNKeyTypeCol          = "type"
	AuthNKeyEnabledCol       = "enabled"
)
View Source
const (
	CustomTextTable = "zitadel.projections.custom_texts"

	CustomTextAggregateIDCol  = "aggregate_id"
	CustomTextCreationDateCol = "creation_date"
	CustomTextChangeDateCol   = "change_date"
	CustomTextSequenceCol     = "sequence"
	CustomTextIsDefaultCol    = "is_default"
	CustomTextTemplateCol     = "template"
	CustomTextLanguageCol     = "language"
	CustomTextKeyCol          = "key"
	CustomTextTextCol         = "text"
)
View Source
const (
	FailedEventsColumnProjectionName = "projection_name"
	FailedEventsColumnFailedSequence = "failed_sequence"
	FailedEventsColumnFailureCount   = "failure_count"
	FailedEventsColumnError          = "error"
)
View Source
const (
	FeatureAggregateIDCol              = "aggregate_id"
	FeatureChangeDateCol               = "change_date"
	FeatureSequenceCol                 = "sequence"
	FeatureIsDefaultCol                = "is_default"
	FeatureTierNameCol                 = "tier_name"
	FeatureTierDescriptionCol          = "tier_description"
	FeatureStateCol                    = "state"
	FeatureStateDescriptionCol         = "state_description"
	FeatureAuditLogRetentionCol        = "audit_log_retention"
	FeatureLoginPolicyFactorsCol       = "login_policy_factors"
	FeatureLoginPolicyIDPCol           = "login_policy_idp"
	FeatureLoginPolicyPasswordlessCol  = "login_policy_passwordless"
	FeatureLoginPolicyRegistrationCol  = "login_policy_registration"
	FeatureLoginPolicyUsernameLoginCol = "login_policy_username_login"
	FeatureLoginPolicyPasswordResetCol = "login_policy_password_reset"
	FeaturePasswordComplexityPolicyCol = "password_complexity_policy"
	FeatureLabelPolicyPrivateLabelCol  = "label_policy_private_label"
	FeatureLabelPolicyWatermarkCol     = "label_policy_watermark"
	FeatureCustomDomainCol             = "custom_domain"
	FeaturePrivacyPolicyCol            = "privacy_policy"
	FeatureMetadataUserCol             = "metadata_user"
	FeatureCustomTextMessageCol        = "custom_text_message"
	FeatureCustomTextLoginCol          = "custom_text_login"
	FeatureLockoutPolicyCol            = "lockout_policy"
	FeatureActionsAllowedCol           = "actions_allowed"
	FeatureMaxActionsCol               = "max_actions"
)
View Source
const (
	FlowTriggerTable             = "zitadel.projections.flows_triggers"
	FlowTypeCol                  = "flow_type"
	FlowTriggerTypeCol           = "trigger_type"
	FlowResourceOwnerCol         = "resource_owner"
	FlowActionTriggerSequenceCol = "trigger_sequence"
	FlowActionIDCol              = "action_id"
)
View Source
const (
	IAMColumnID           = "id"
	IAMColumnChangeDate   = "change_date"
	IAMColumnGlobalOrgID  = "global_org_id"
	IAMColumnProjectID    = "iam_project_id"
	IAMColumnSequence     = "sequence"
	IAMColumnSetUpStarted = "setup_started"
	IAMColumnSetUpDone    = "setup_done"
)
View Source
const (
	IDPTable     = "zitadel.projections.idps"
	IDPOIDCTable = IDPTable + "_" + IDPOIDCSuffix
	IDPJWTTable  = IDPTable + "_" + IDPJWTSuffix
)
View Source
const (
	IDPOIDCSuffix = "oidc_config"
	IDPJWTSuffix  = "jwt_config"

	IDPIDCol            = "id"
	IDPCreationDateCol  = "creation_date"
	IDPChangeDateCol    = "change_date"
	IDPSequenceCol      = "sequence"
	IDPResourceOwnerCol = "resource_owner"
	IDPStateCol         = "state"
	IDPNameCol          = "name"
	IDPStylingTypeCol   = "styling_type"
	IDPOwnerTypeCol     = "owner_type"
	IDPAutoRegisterCol  = "auto_register"
	IDPTypeCol          = "type"

	OIDCConfigIDPIDCol                 = "idp_id"
	OIDCConfigClientIDCol              = "client_id"
	OIDCConfigClientSecretCol          = "client_secret"
	OIDCConfigIssuerCol                = "issuer"
	OIDCConfigScopesCol                = "scopes"
	OIDCConfigDisplayNameMappingCol    = "display_name_mapping"
	OIDCConfigUsernameMappingCol       = "username_mapping"
	OIDCConfigAuthorizationEndpointCol = "authorization_endpoint"
	OIDCConfigTokenEndpointCol         = "token_endpoint"

	JWTConfigIDPIDCol        = "idp_id"
	JWTConfigIssuerCol       = "issuer"
	JWTConfigKeysEndpointCol = "keys_endpoint"
	JWTConfigHeaderNameCol   = "header_name"
	JWTConfigEndpointCol     = "endpoint"
)
View Source
const (
	IDPLoginPolicyLinkIDPIDCol         = "idp_id"
	IDPLoginPolicyLinkAggregateIDCol   = "aggregate_id"
	IDPLoginPolicyLinkCreationDateCol  = "creation_date"
	IDPLoginPolicyLinkChangeDateCol    = "change_date"
	IDPLoginPolicyLinkSequenceCol      = "sequence"
	IDPLoginPolicyLinkResourceOwnerCol = "resource_owner"
	IDPLoginPolicyLinkProviderTypeCol  = "provider_type"
)
View Source
const (
	IDPUserLinkTable             = "zitadel.projections.idp_user_links"
	IDPUserLinkIDPIDCol          = "idp_id"
	IDPUserLinkUserIDCol         = "user_id"
	IDPUserLinkExternalUserIDCol = "external_user_id"
	IDPUserLinkCreationDateCol   = "creation_date"
	IDPUserLinkChangeDateCol     = "change_date"
	IDPUserLinkSequenceCol       = "sequence"
	IDPUserLinkResourceOwnerCol  = "resource_owner"
	IDPUserLinkDisplayNameCol    = "display_name"
)
View Source
const (
	KeyProjectionTable = "zitadel.projections.keys"
	KeyPrivateTable    = KeyProjectionTable + "_" + privateKeyTableSuffix
	KeyPublicTable     = KeyProjectionTable + "_" + publicKeyTableSuffix
)
View Source
const (
	KeyColumnID            = "id"
	KeyColumnCreationDate  = "creation_date"
	KeyColumnChangeDate    = "change_date"
	KeyColumnResourceOwner = "resource_owner"
	KeyColumnSequence      = "sequence"
	KeyColumnAlgorithm     = "algorithm"
	KeyColumnUse           = "use"

	KeyPrivateColumnID     = "id"
	KeyPrivateColumnExpiry = "expiry"
	KeyPrivateColumnKey    = "key"

	KeyPublicColumnID     = "id"
	KeyPublicColumnExpiry = "expiry"
	KeyPublicColumnKey    = "key"
)
View Source
const (
	LabelPolicyCreationDateCol        = "creation_date"
	LabelPolicyChangeDateCol          = "change_date"
	LabelPolicySequenceCol            = "sequence"
	LabelPolicyIDCol                  = "id"
	LabelPolicyStateCol               = "state"
	LabelPolicyIsDefaultCol           = "is_default"
	LabelPolicyResourceOwnerCol       = "resource_owner"
	LabelPolicyHideLoginNameSuffixCol = "hide_login_name_suffix"
	LabelPolicyFontURLCol             = "font_url"
	LabelPolicyWatermarkDisabledCol   = "watermark_disabled"
	LabelPolicyShouldErrorPopupCol    = "should_error_popup"

	LabelPolicyLightPrimaryColorCol    = "light_primary_color"
	LabelPolicyLightWarnColorCol       = "light_warn_color"
	LabelPolicyLightBackgroundColorCol = "light_background_color"
	LabelPolicyLightFontColorCol       = "light_font_color"
	LabelPolicyLightLogoURLCol         = "light_logo_url"
	LabelPolicyLightIconURLCol         = "light_icon_url"

	LabelPolicyDarkPrimaryColorCol    = "dark_primary_color"
	LabelPolicyDarkWarnColorCol       = "dark_warn_color"
	LabelPolicyDarkBackgroundColorCol = "dark_background_color"
	LabelPolicyDarkFontColorCol       = "dark_font_color"
	LabelPolicyDarkLogoURLCol         = "dark_logo_url"
	LabelPolicyDarkIconURLCol         = "dark_icon_url"
)
View Source
const (
	LockoutPolicyTable = "zitadel.projections.lockout_policies"

	LockoutPolicyCreationDateCol        = "creation_date"
	LockoutPolicyChangeDateCol          = "change_date"
	LockoutPolicySequenceCol            = "sequence"
	LockoutPolicyIDCol                  = "id"
	LockoutPolicyStateCol               = "state"
	LockoutPolicyMaxPasswordAttemptsCol = "max_password_attempts"
	LockoutPolicyShowLockOutFailuresCol = "show_failure"
	LockoutPolicyIsDefaultCol           = "is_default"
	LockoutPolicyResourceOwnerCol       = "resource_owner"
)
View Source
const (
	LoginNameProjectionTable       = "zitadel.projections.login_names"
	LoginNameUserProjectionTable   = LoginNameProjectionTable + "_" + loginNameUserSuffix
	LoginNamePolicyProjectionTable = LoginNameProjectionTable + "_" + loginNamePolicySuffix
	LoginNameDomainProjectionTable = LoginNameProjectionTable + "_" + loginNameDomainSuffix
)
View Source
const (
	LoginNameCol = "login_name"

	LoginNameUserIDCol            = "id"
	LoginNameUserUserNameCol      = "user_name"
	LoginNameUserResourceOwnerCol = "resource_owner"

	LoginNameDomainNameCol          = "name"
	LoginNameDomainIsPrimaryCol     = "is_primary"
	LoginNameDomainResourceOwnerCol = "resource_owner"

	LoginNamePoliciesMustBeDomainCol  = "must_be_domain"
	LoginNamePoliciesIsDefaultCol     = "is_default"
	LoginNamePoliciesResourceOwnerCol = "resource_owner"
)
View Source
const (
	LoginPolicyIDCol                    = "aggregate_id"
	LoginPolicyCreationDateCol          = "creation_date"
	LoginPolicyChangeDateCol            = "change_date"
	LoginPolicySequenceCol              = "sequence"
	LoginPolicyAllowRegisterCol         = "allow_register"
	LoginPolicyAllowUsernamePasswordCol = "allow_username_password"
	LoginPolicyAllowExternalIDPsCol     = "allow_external_idps"
	LoginPolicyForceMFACol              = "force_mfa"
	LoginPolicy2FAsCol                  = "second_factors"
	LoginPolicyMFAsCol                  = "multi_factors"
	LoginPolicyPasswordlessTypeCol      = "passwordless_type"
	LoginPolicyIsDefaultCol             = "is_default"
	LoginPolicyHidePWResetCol           = "hide_password_reset"
	IgnoreUnknownUsernames              = "ignore_unknown_usernames"
	DefaultRedirectURI                  = "default_redirect_uri"
)
View Source
const (
	MailTemplateTable = "zitadel.projections.mail_templates"

	MailTemplateAggregateIDCol  = "aggregate_id"
	MailTemplateCreationDateCol = "creation_date"
	MailTemplateChangeDateCol   = "change_date"
	MailTemplateSequenceCol     = "sequence"
	MailTemplateStateCol        = "state"
	MailTemplateTemplateCol     = "template"
	MailTemplateIsDefaultCol    = "is_default"
)
View Source
const (
	MemberUserIDCol = "user_id"
	MemberRolesCol  = "roles"

	MemberCreationDate  = "creation_date"
	MemberChangeDate    = "change_date"
	MemberSequence      = "sequence"
	MemberResourceOwner = "resource_owner"
)
View Source
const (
	MessageTextTable = "zitadel.projections.message_texts"

	MessageTextAggregateIDCol  = "aggregate_id"
	MessageTextCreationDateCol = "creation_date"
	MessageTextChangeDateCol   = "change_date"
	MessageTextSequenceCol     = "sequence"
	MessageTextStateCol        = "state"
	MessageTextTypeCol         = "type"
	MessageTextLanguageCol     = "language"
	MessageTextTitleCol        = "title"
	MessageTextPreHeaderCol    = "pre_header"
	MessageTextSubjectCol      = "subject"
	MessageTextGreetingCol     = "greeting"
	MessageTextTextCol         = "text"
	MessageTextButtonTextCol   = "button_text"
	MessageTextFooterCol       = "footer_text"
)
View Source
const (
	OrgColumnID            = "id"
	OrgColumnCreationDate  = "creation_date"
	OrgColumnChangeDate    = "change_date"
	OrgColumnResourceOwner = "resource_owner"
	OrgColumnState         = "org_state"
	OrgColumnSequence      = "sequence"
	OrgColumnName          = "name"
	OrgColumnDomain        = "primary_domain"
)
View Source
const (
	OrgDomainCreationDateCol   = "creation_date"
	OrgDomainChangeDateCol     = "change_date"
	OrgDomainSequenceCol       = "sequence"
	OrgDomainDomainCol         = "domain"
	OrgDomainOrgIDCol          = "org_id"
	OrgDomainIsVerifiedCol     = "is_verified"
	OrgDomainIsPrimaryCol      = "is_primary"
	OrgDomainValidationTypeCol = "validation_type"
)
View Source
const (
	OrgIAMPolicyTable = "zitadel.projections.org_iam_policies"

	OrgIAMPolicyCreationDateCol          = "creation_date"
	OrgIAMPolicyChangeDateCol            = "change_date"
	OrgIAMPolicySequenceCol              = "sequence"
	OrgIAMPolicyIDCol                    = "id"
	OrgIAMPolicyStateCol                 = "state"
	OrgIAMPolicyUserLoginMustBeDomainCol = "user_login_must_be_domain"
	OrgIAMPolicyIsDefaultCol             = "is_default"
	OrgIAMPolicyResourceOwnerCol         = "resource_owner"
)
View Source
const (
	AgePolicyCreationDateCol   = "creation_date"
	AgePolicyChangeDateCol     = "change_date"
	AgePolicySequenceCol       = "sequence"
	AgePolicyIDCol             = "id"
	AgePolicyStateCol          = "state"
	AgePolicyExpireWarnDaysCol = "expire_warn_days"
	AgePolicyMaxAgeDaysCol     = "max_age_days"
	AgePolicyIsDefaultCol      = "is_default"
	AgePolicyResourceOwnerCol  = "resource_owner"
)
View Source
const (
	ComplexityPolicyCreationDateCol  = "creation_date"
	ComplexityPolicyChangeDateCol    = "change_date"
	ComplexityPolicySequenceCol      = "sequence"
	ComplexityPolicyIDCol            = "id"
	ComplexityPolicyStateCol         = "state"
	ComplexityPolicyMinLengthCol     = "min_length"
	ComplexityPolicyHasLowercaseCol  = "has_lowercase"
	ComplexityPolicyHasUppercaseCol  = "has_uppercase"
	ComplexityPolicyHasSymbolCol     = "has_symbol"
	ComplexityPolicyHasNumberCol     = "has_number"
	ComplexityPolicyIsDefaultCol     = "is_default"
	ComplexityPolicyResourceOwnerCol = "resource_owner"
)
View Source
const (
	PrivacyPolicyTable = "zitadel.projections.privacy_policies"

	PrivacyPolicyCreationDateCol  = "creation_date"
	PrivacyPolicyChangeDateCol    = "change_date"
	PrivacyPolicySequenceCol      = "sequence"
	PrivacyPolicyIDCol            = "id"
	PrivacyPolicyStateCol         = "state"
	PrivacyPolicyPrivacyLinkCol   = "privacy_link"
	PrivacyPolicyTOSLinkCol       = "tos_link"
	PrivacyPolicyHelpLinkCol      = "help_link"
	PrivacyPolicyIsDefaultCol     = "is_default"
	PrivacyPolicyResourceOwnerCol = "resource_owner"
)
View Source
const (
	ProjectColumnID                     = "id"
	ProjectColumnName                   = "name"
	ProjectColumnProjectRoleAssertion   = "project_role_assertion"
	ProjectColumnProjectRoleCheck       = "project_role_check"
	ProjectColumnHasProjectCheck        = "has_project_check"
	ProjectColumnPrivateLabelingSetting = "private_labeling_setting"
	ProjectColumnCreationDate           = "creation_date"
	ProjectColumnChangeDate             = "change_date"
	ProjectColumnResourceOwner          = "resource_owner"
	ProjectColumnCreator                = "creator_id"
	ProjectColumnState                  = "state"
	ProjectColumnSequence               = "sequence"
)
View Source
const (
	ProjectGrantColumnProjectID     = "project_id"
	ProjectGrantColumnGrantID       = "grant_id"
	ProjectGrantColumnCreationDate  = "creation_date"
	ProjectGrantColumnChangeDate    = "change_date"
	ProjectGrantColumnResourceOwner = "resource_owner"
	ProjectGrantColumnState         = "state"
	ProjectGrantColumnSequence      = "sequence"
	ProjectGrantColumnGrantedOrgID  = "granted_org_id"
	ProjectGrantColumnRoleKeys      = "granted_role_keys"
	ProjectGrantColumnCreator       = "creator_id"
)
View Source
const (
	ProjectGrantMemberProjectIDCol = "project_id"
	ProjectGrantMemberGrantIDCol   = "grant_id"
)
View Source
const (
	ProjectRoleColumnProjectID     = "project_id"
	ProjectRoleColumnKey           = "role_key"
	ProjectRoleColumnCreationDate  = "creation_date"
	ProjectRoleColumnChangeDate    = "change_date"
	ProjectRoleColumnResourceOwner = "resource_owner"
	ProjectRoleColumnSequence      = "sequence"
	ProjectRoleColumnDisplayName   = "display_name"
	ProjectRoleColumnGroupName     = "group_name"
	ProjectRoleColumnCreator       = "creator_id"
)
View Source
const (
	CurrentSeqTable   = "projections.current_sequences"
	LocksTable        = "projections.locks"
	FailedEventsTable = "projections.failed_events"
)
View Source
const (
	UserTable        = "zitadel.projections.users"
	UserHumanTable   = UserTable + "_" + UserHumanSuffix
	UserMachineTable = UserTable + "_" + UserMachineSuffix
)
View Source
const (
	UserIDCol            = "id"
	UserCreationDateCol  = "creation_date"
	UserChangeDateCol    = "change_date"
	UserResourceOwnerCol = "resource_owner"
	UserStateCol         = "state"
	UserSequenceCol      = "sequence"
	UserUsernameCol      = "username"
	UserTypeCol          = "type"
)
View Source
const (
	UserHumanSuffix = "humans"
	HumanUserIDCol  = "user_id"

	// profile
	HumanFirstNameCol         = "first_name"
	HumanLastNameCol          = "last_name"
	HumanNickNameCol          = "nick_name"
	HumanDisplayNameCol       = "display_name"
	HumanPreferredLanguageCol = "preferred_language"
	HumanGenderCol            = "gender"
	HumanAvatarURLCol         = "avatar_key"

	// email
	HumanEmailCol           = "email"
	HumanIsEmailVerifiedCol = "is_email_verified"

	// phone
	HumanPhoneCol           = "phone"
	HumanIsPhoneVerifiedCol = "is_phone_verified"
)
View Source
const (
	UserMachineSuffix = "machines"
	MachineUserIDCol  = "user_id"

	MachineNameCol        = "name"
	MachineDescriptionCol = "description"
)
View Source
const (
	UserAuthMethodTokenIDCol       = "token_id"
	UserAuthMethodCreationDateCol  = "creation_date"
	UserAuthMethodChangeDateCol    = "change_date"
	UserAuthMethodResourceOwnerCol = "resource_owner"
	UserAuthMethodUserIDCol        = "user_id"
	UserAuthMethodSequenceCol      = "sequence"
	UserAuthMethodNameCol          = "name"
	UserAuthMethodStateCol         = "state"
	UserAuthMethodTypeCol          = "method_type"
)
View Source
const (
	UserGrantID            = "id"
	UserGrantResourceOwner = "resource_owner"
	UserGrantCreationDate  = "creation_date"
	UserGrantChangeDate    = "change_date"
	UserGrantSequence      = "sequence"
	UserGrantUserID        = "user_id"
	UserGrantProjectID     = "project_id"
	UserGrantGrantID       = "grant_id"
	UserGrantRoles         = "roles"
	UserGrantState         = "state"
)
View Source
const (
	UserMetadataColumnUserID        = "user_id"
	UserMetadataColumnResourceOwner = "resource_owner"
	UserMetadataColumnCreationDate  = "creation_date"
	UserMetadataColumnChangeDate    = "change_date"
	UserMetadataColumnSequence      = "sequence"
	UserMetadataColumnKey           = "key"
	UserMetadataColumnValue         = "value"
)
View Source
const (
	PersonalAccessTokenColumnID            = "id"
	PersonalAccessTokenColumnCreationDate  = "creation_date"
	PersonalAccessTokenColumnChangeDate    = "change_date"
	PersonalAccessTokenColumnResourceOwner = "resource_owner"
	PersonalAccessTokenColumnSequence      = "sequence"
	PersonalAccessTokenColumnUserID        = "user_id"
	PersonalAccessTokenColumnExpiration    = "expiration"
	PersonalAccessTokenColumnScopes        = "scopes"
)
View Source
const (
	FeatureTable = "zitadel.projections.features"
)
View Source
const (
	IAMMemberIAMIDCol = "iam_id"
)
View Source
const (
	IAMMemberProjectionTable = "zitadel.projections.iam_members"
)
View Source
const (
	IAMProjectionTable = "zitadel.projections.iam"
)
View Source
const (
	IDPLoginPolicyLinkTable = "zitadel.projections.idp_login_policy_links"
)
View Source
const (
	LabelPolicyTable = "zitadel.projections.label_policies"
)
View Source
const (
	LoginPolicyTable = "zitadel.projections.login_policies"
)
View Source
const (
	OrgDomainTable = "zitadel.projections.org_domains"
)
View Source
const (
	OrgMemberOrgIDCol = "org_id"
)
View Source
const (
	OrgMemberProjectionTable = "zitadel.projections.org_members"
)
View Source
const (
	OrgProjectionTable = "zitadel.projections.orgs"
)
View Source
const (
	PasswordAgeTable = "zitadel.projections.password_age_policies"
)
View Source
const (
	PasswordComplexityTable = "zitadel.projections.password_complexity_policies"
)
View Source
const (
	PersonalAccessTokenProjectionTable = "zitadel.projections.personal_access_tokens"
)
View Source
const (
	ProjectGrantMemberProjectionTable = "zitadel.projections.project_grant_members"
)
View Source
const ProjectGrantProjectionTable = "zitadel.projections.project_grants"
View Source
const (
	ProjectMemberProjectIDCol = "project_id"
)
View Source
const (
	ProjectMemberProjectionTable = "zitadel.projections.project_members"
)
View Source
const (
	ProjectProjectionTable = "zitadel.projections.projects"
)
View Source
const ProjectRoleProjectionTable = "zitadel.projections.project_roles"
View Source
const (
	UserAuthMethodTable = "zitadel.projections.user_auth_methods"
)
View Source
const (
	UserGrantProjectionTable = "zitadel.projections.user_grants"
)
View Source
const UserMetadataProjectionTable = "zitadel.projections.user_metadata"

Variables

View Source
var (
	OrgProjection                 *orgProjection
	LoginNameProjection           *loginNameProjection
	ActionProjection              *actionProjection
	FlowProjection                *flowProjection
	ProjectProjection             *projectProjection
	PasswordComplexityProjection  *passwordComplexityProjection
	PasswordAgeProjection         *passwordAgeProjection
	LockoutPolicyProjection       *lockoutPolicyProjection
	PrivacyPolicyProjection       *privacyPolicyProjection
	OrgIAMPolicyProjection        *orgIAMPolicyProjection
	LabelPolicyProjection         *labelPolicyProjection
	ProjectGrantProjection        *projectGrantProjection
	ProjectRoleProjection         *projectRoleProjection
	OrgDomainProjection           *orgDomainProjection
	LoginPolicyProjection         *loginPolicyProjection
	IDPProjection                 *idpProjection
	AppProjection                 *appProjection
	IDPUserLinkProjection         *idpUserLinkProjection
	IDPLoginPolicyLinkProjection  *idpLoginPolicyLinkProjection
	MailTemplateProjection        *mailTemplateProjection
	MessageTextProjection         *messageTextProjection
	CustomTextProjection          *customTextProjection
	FeatureProjection             *featureProjection
	UserProjection                *userProjection
	OrgMemberProjection           *orgMemberProjection
	IAMMemberProjection           *iamMemberProjection
	ProjectMemberProjection       *projectMemberProjection
	ProjectGrantMemberProjection  *projectGrantMemberProjection
	AuthNKeyProjection            *authNKeyProjection
	PersonalAccessTokenProjection *personalAccessTokenProjection
	UserGrantProjection           *userGrantProjection
	UserMetadataProjection        *userMetadataProjection
	UserAuthMethodProjection      *userAuthMethodProjection
	IAMProjection                 *iamProjection
	KeyProjection                 *keyProjection
)

Functions

func Start

func Start(ctx context.Context, sqlClient *sql.DB, es *eventstore.Eventstore, config Config, defaults systemdefaults.SystemDefaults, keyChan chan<- interface{}) (err error)

Types

type Config

type Config struct {
	RequeueEvery     types.Duration
	RetryFailedAfter types.Duration
	MaxFailureCount  uint
	BulkLimit        uint64
	CRDB             types.SQL
	Customizations   map[string]CustomConfig
	MaxIterators     int
}

type CustomConfig

type CustomConfig struct {
	RequeueEvery     *types.Duration
	RetryFailedAfter *types.Duration
	MaxFailureCount  *uint
	BulkLimit        *uint64
}

type IAMColumn

type IAMColumn string

type IAMMemberColumn

type IAMMemberColumn string

type OrgColumn

type OrgColumn string

type OrgMemberColumn

type OrgMemberColumn string

type ProjectGrantMemberColumn

type ProjectGrantMemberColumn string

type ProjectMemberColumn

type ProjectMemberColumn string

type UserGrantColumn

type UserGrantColumn string

Directories

Path Synopsis
org

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL