Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSchemaConfigContext ¶
func NewSchemaConfigContext(parent context.Context, config SchemaConfig) context.Context
NewSchemaConfigContext returns a new context with the given SchemaConfig attached.
Types ¶
type SchemaConfig ¶
type SchemaConfig struct {
DocumentData string // DocumentData table.
DocumentDataHistory string // DocumentDataHistory table.
EmailVerificationToken string // EmailVerificationToken table.
Entitlement string // Entitlement table.
EntitlementHistory string // EntitlementHistory table.
Group string // Group table.
GroupHistory string // GroupHistory table.
GroupMembership string // GroupMembership table.
GroupMembershipHistory string // GroupMembershipHistory table.
GroupSetting string // GroupSetting table.
GroupSettingHistory string // GroupSettingHistory table.
Integration string // Integration table.
IntegrationHistory string // IntegrationHistory table.
Invite string // Invite table.
OauthProvider string // OauthProvider table.
OauthProviderHistory string // OauthProviderHistory table.
OhAuthTooToken string // OhAuthTooToken table.
OrgMembership string // OrgMembership table.
OrgMembershipHistory string // OrgMembershipHistory table.
Organization string // Organization table.
OrganizationPersonalAccessTokens string // Organization-personal_access_tokens->PersonalAccessToken table.
OrganizationHistory string // OrganizationHistory table.
OrganizationSetting string // OrganizationSetting table.
OrganizationSettingHistory string // OrganizationSettingHistory table.
PasswordResetToken string // PasswordResetToken table.
PersonalAccessToken string // PersonalAccessToken table.
Subscriber string // Subscriber table.
TFASetting string // TFASetting table.
Template string // Template table.
TemplateHistory string // TemplateHistory table.
User string // User table.
UserHistory string // UserHistory table.
UserSetting string // UserSetting table.
UserSettingHistory string // UserSettingHistory table.
Webauthn string // Webauthn table.
}
SchemaConfig represents alternative schema names for all tables that can be passed at runtime.
func SchemaConfigFromContext ¶
func SchemaConfigFromContext(ctx context.Context) SchemaConfig
SchemaConfigFromContext returns a SchemaConfig stored inside a context, or empty if there isn't one.
Click to show internal directories.
Click to hide internal directories.