Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MinNameLength is the minimal length of a name MinNameLength = 2 // MaxNameLength is the maximal length of a name MaxNameLength = 255 // MaxSQLIdentifierLength is the max length of a sql name // that we can support MaxSQLIdentifierLength = 63 )
Variables ¶
View Source
var JobCronFormat = cron.Minute | cron.Hour | cron.Dom | cron.Month | cron.Dow | cron.Descriptor
JobCronFormat is the default allowed CRON formatting options, allowing granularity down to the minute and the shorthand descriptions like @hourly
Functions ¶
func SQLIdentifier ¶
SQLIdentifier returns an error if the string value can't be used as a SQL identifier
func SQLNameOrUUID ¶
SQLNameOrUUID returns an error if the given value can not be a name or UUID
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.