On this page
Package pgschema is the strictspec document-shape gate for pgdesign schemas: the strictspec manifest, the schema definition, and the generated validator.
#internal/parse/pgschema
#internal/parse/pgschema
Code generated by strictspec. DO NOT EDIT.
strictspec generator: 0.1.0 schema: pgdesign-schema (format_version 1) regenerate: strictspec gen --manifest strictspec.toml
Released under the MIT license (unencumbered). This file is machine-generated; edit the schema and regenerate, never this file.
#GeneratedBy
const GeneratedBy = "0.1.0"GeneratedBy is the strictspec release that produced this file. The runtime pairing guard hard-errors unless it matches the linked runtime exactly.
#SchemaFormatVersion
const SchemaFormatVersion = 1SchemaFormatVersion is the document format_version this validator accepts.
#Schema
type Schema structSchema is the frozen typed binding of the "Schema" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.
#Meta
type Meta structMeta is the frozen typed binding of the "Meta" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.
#TypeDef
type TypeDef structTypeDef is the frozen typed binding of the "TypeDef" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.
#SMState
type SMState structSMState is the frozen typed binding of the "SMState" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.
#SMTransition
type SMTransition structSMTransition is the frozen typed binding of the "SMTransition" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.
#Table
type Table structTable is the frozen typed binding of the "Table" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.
#Column
type Column structColumn is the frozen typed binding of the "Column" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.
#FK
type FK structFK is the frozen typed binding of the "FK" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.
#Index
type Index structIndex is the frozen typed binding of the "Index" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.
#Unique
type Unique structUnique is the frozen typed binding of the "Unique" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.
#Check
type Check structCheck is the frozen typed binding of the "Check" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.
#Exclusion
type Exclusion structExclusion is the frozen typed binding of the "Exclusion" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.
#Policy
type Policy structPolicy is the frozen typed binding of the "Policy" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.
#Trigger
type Trigger structTrigger is the frozen typed binding of the "Trigger" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.
#Partitioning
type Partitioning structPartitioning is the frozen typed binding of the "Partitioning" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.
#Dependency
type Dependency structDependency is the frozen typed binding of the "Dependency" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.
#Maintenance
type Maintenance structMaintenance is the frozen typed binding of the "Maintenance" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.
#View
type View structView is the frozen typed binding of the "View" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.
#MatView
type MatView structMatView is the frozen typed binding of the "MatView" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.
#Sequence
type Sequence structSequence is the frozen typed binding of the "Sequence" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.
#Function
type Function structFunction is the frozen typed binding of the "Function" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.
#FunctionArg
type FunctionArg structFunctionArg is the frozen typed binding of the "FunctionArg" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.
#ValidateBytes
func ValidateBytes(input []byte, syntax string) (*Schema, []strictspec.Diagnostic)ValidateBytes is the raw-bytes entry point: lossless parse of input in the given syntax ("json" | "toml" | "jsonl"), then validate. It returns the typed root value (nil when any diagnostic fired) and the ordered diagnostics.
#ValidateValue
func ValidateValue(v strictspec.Value) (*Schema, []strictspec.Diagnostic)ValidateValue is the tagged-value entry point: validate an already-parsed tagged document value (from strictspec.LoadValue or a typed constructor).
#ValidateBytesWithEvidence
func ValidateBytesWithEvidence(input []byte, syntax string, evidence map[string][]map[string]any) (*Schema, []strictspec.Diagnostic)ValidateBytesWithEvidence is ValidateBytes plus cross-document resolver evidence for the phase-2 constraint vocabulary.
#Schema.WithMeta
func (x *Schema) WithMeta(v *Meta) *SchemaWithMeta returns a copy of Schema with Meta set to the given value.
#Schema.WithTypes
func (x *Schema) WithTypes(v strictspec.Value) *SchemaWithTypes returns a copy of Schema with Types set to the given value.
#Schema.WithTables
func (x *Schema) WithTables(v strictspec.Value) *SchemaWithTables returns a copy of Schema with Tables set to the given value.
#Schema.WithViews
func (x *Schema) WithViews(v strictspec.Value) *SchemaWithViews returns a copy of Schema with Views set to the given value.
#Schema.WithMaterializedViews
func (x *Schema) WithMaterializedViews(v strictspec.Value) *SchemaWithMaterializedViews returns a copy of Schema with MaterializedViews set to the given value.
#Schema.WithSequences
func (x *Schema) WithSequences(v strictspec.Value) *SchemaWithSequences returns a copy of Schema with Sequences set to the given value.
#Schema.WithFunctions
func (x *Schema) WithFunctions(v strictspec.Value) *SchemaWithFunctions returns a copy of Schema with Functions set to the given value.
#Schema.WithGroups
func (x *Schema) WithGroups(v strictspec.Value) *SchemaWithGroups returns a copy of Schema with Groups set to the given value.
#Meta.WithVersion
func (x *Meta) WithVersion(v int64) *MetaWithVersion returns a copy of Meta with Version set to the given value.
#Meta.WithSchema
func (x *Meta) WithSchema(v string) *MetaWithSchema returns a copy of Meta with Schema set to the given value.
#Meta.WithExtensions
func (x *Meta) WithExtensions(v []string) *MetaWithExtensions returns a copy of Meta with Extensions set to the given value.
#TypeDef.WithKind
func (x *TypeDef) WithKind(v string) *TypeDefWithKind returns a copy of TypeDef with Kind set to the given value.
#TypeDef.WithExtends
func (x *TypeDef) WithExtends(v string) *TypeDefWithExtends returns a copy of TypeDef with Extends set to the given value.
#TypeDef.WithBaseType
func (x *TypeDef) WithBaseType(v string) *TypeDefWithBaseType returns a copy of TypeDef with BaseType set to the given value.
#TypeDef.WithValues
func (x *TypeDef) WithValues(v []string) *TypeDefWithValues returns a copy of TypeDef with Values set to the given value.
#TypeDef.WithNotNull
func (x *TypeDef) WithNotNull(v bool) *TypeDefWithNotNull returns a copy of TypeDef with NotNull set to the given value.
#TypeDef.WithDefault
func (x *TypeDef) WithDefault(v string) *TypeDefWithDefault returns a copy of TypeDef with Default set to the given value.
#TypeDef.WithDefaultExpr
func (x *TypeDef) WithDefaultExpr(v string) *TypeDefWithDefaultExpr returns a copy of TypeDef with DefaultExpr set to the given value.
#TypeDef.WithCheck
func (x *TypeDef) WithCheck(v string) *TypeDefWithCheck returns a copy of TypeDef with Check set to the given value.
#TypeDef.WithUnique
func (x *TypeDef) WithUnique(v bool) *TypeDefWithUnique returns a copy of TypeDef with Unique set to the given value.
#TypeDef.WithArray
func (x *TypeDef) WithArray(v bool) *TypeDefWithArray returns a copy of TypeDef with Array set to the given value.
#TypeDef.WithComment
func (x *TypeDef) WithComment(v string) *TypeDefWithComment returns a copy of TypeDef with Comment set to the given value.
#TypeDef.WithInitial
func (x *TypeDef) WithInitial(v string) *TypeDefWithInitial returns a copy of TypeDef with Initial set to the given value.
#TypeDef.WithEnforce
func (x *TypeDef) WithEnforce(v bool) *TypeDefWithEnforce returns a copy of TypeDef with Enforce set to the given value.
#TypeDef.WithFields
func (x *TypeDef) WithFields(v strictspec.Value) *TypeDefWithFields returns a copy of TypeDef with Fields set to the given value.
#TypeDef.WithStates
func (x *TypeDef) WithStates(v strictspec.Value) *TypeDefWithStates returns a copy of TypeDef with States set to the given value.
#TypeDef.WithTransitions
func (x *TypeDef) WithTransitions(v []*SMTransition) *TypeDefWithTransitions returns a copy of TypeDef with Transitions set to the given value.
#SMState.WithTerminal
func (x *SMState) WithTerminal(v bool) *SMStateWithTerminal returns a copy of SMState with Terminal set to the given value.
#SMState.WithComment
func (x *SMState) WithComment(v string) *SMStateWithComment returns a copy of SMState with Comment set to the given value.
#SMTransition.WithName
func (x *SMTransition) WithName(v string) *SMTransitionWithName returns a copy of SMTransition with Name set to the given value.
#SMTransition.WithFrom
func (x *SMTransition) WithFrom(v []string) *SMTransitionWithFrom returns a copy of SMTransition with From set to the given value.
#SMTransition.WithTo
func (x *SMTransition) WithTo(v string) *SMTransitionWithTo returns a copy of SMTransition with To set to the given value.
#SMTransition.WithRequires
func (x *SMTransition) WithRequires(v strictspec.Value) *SMTransitionWithRequires returns a copy of SMTransition with Requires set to the given value.
#SMTransition.WithComment
func (x *SMTransition) WithComment(v string) *SMTransitionWithComment returns a copy of SMTransition with Comment set to the given value.
#Table.WithComment
func (x *Table) WithComment(v string) *TableWithComment returns a copy of Table with Comment set to the given value.
#Table.WithPk
func (x *Table) WithPk(v []string) *TableWithPk returns a copy of Table with Pk set to the given value.
#Table.WithEnableRls
func (x *Table) WithEnableRls(v bool) *TableWithEnableRls returns a copy of Table with EnableRls set to the given value.
#Table.WithForceRls
func (x *Table) WithForceRls(v bool) *TableWithForceRls returns a copy of Table with ForceRls set to the given value.
#Table.WithAppendOnly
func (x *Table) WithAppendOnly(v bool) *TableWithAppendOnly returns a copy of Table with AppendOnly set to the given value.
#Table.WithColumns
func (x *Table) WithColumns(v strictspec.Value) *TableWithColumns returns a copy of Table with Columns set to the given value.
#Table.WithFks
func (x *Table) WithFks(v strictspec.Value) *TableWithFks returns a copy of Table with Fks set to the given value.
#Table.WithIndexes
func (x *Table) WithIndexes(v strictspec.Value) *TableWithIndexes returns a copy of Table with Indexes set to the given value.
#Table.WithUnique
func (x *Table) WithUnique(v strictspec.Value) *TableWithUnique returns a copy of Table with Unique set to the given value.
#Table.WithChecks
func (x *Table) WithChecks(v strictspec.Value) *TableWithChecks returns a copy of Table with Checks set to the given value.
#Table.WithExclusions
func (x *Table) WithExclusions(v strictspec.Value) *TableWithExclusions returns a copy of Table with Exclusions set to the given value.
#Table.WithPolicies
func (x *Table) WithPolicies(v strictspec.Value) *TableWithPolicies returns a copy of Table with Policies set to the given value.
#Table.WithTriggers
func (x *Table) WithTriggers(v strictspec.Value) *TableWithTriggers returns a copy of Table with Triggers set to the given value.
#Table.WithPartitioning
func (x *Table) WithPartitioning(v *Partitioning) *TableWithPartitioning returns a copy of Table with Partitioning set to the given value.
#Table.WithDependencies
func (x *Table) WithDependencies(v []*Dependency) *TableWithDependencies returns a copy of Table with Dependencies set to the given value.
#Table.WithMaintenance
func (x *Table) WithMaintenance(v *Maintenance) *TableWithMaintenance returns a copy of Table with Maintenance set to the given value.
#Column.WithType
func (x *Column) WithType(v string) *ColumnWithType returns a copy of Column with Type set to the given value.
#Column.WithNullable
func (x *Column) WithNullable(v bool) *ColumnWithNullable returns a copy of Column with Nullable set to the given value.
#Column.WithDefault
func (x *Column) WithDefault(v string) *ColumnWithDefault returns a copy of Column with Default set to the given value.
#Column.WithDefaultExpr
func (x *Column) WithDefaultExpr(v string) *ColumnWithDefaultExpr returns a copy of Column with DefaultExpr set to the given value.
#Column.WithGenerated
func (x *Column) WithGenerated(v string) *ColumnWithGenerated returns a copy of Column with Generated set to the given value.
#Column.WithStored
func (x *Column) WithStored(v bool) *ColumnWithStored returns a copy of Column with Stored set to the given value.
#Column.WithArray
func (x *Column) WithArray(v bool) *ColumnWithArray returns a copy of Column with Array set to the given value.
#Column.WithComment
func (x *Column) WithComment(v string) *ColumnWithComment returns a copy of Column with Comment set to the given value.
#Column.WithJsonSchema
func (x *Column) WithJsonSchema(v string) *ColumnWithJsonSchema returns a copy of Column with JsonSchema set to the given value.
#Column.WithCollation
func (x *Column) WithCollation(v string) *ColumnWithCollation returns a copy of Column with Collation set to the given value.
#Column.WithStatistics
func (x *Column) WithStatistics(v int64) *ColumnWithStatistics returns a copy of Column with Statistics set to the given value.
#FK.WithColumns
func (x *FK) WithColumns(v []string) *FKWithColumns returns a copy of FK with Columns set to the given value.
#FK.WithRefTable
func (x *FK) WithRefTable(v string) *FKWithRefTable returns a copy of FK with RefTable set to the given value.
#FK.WithRefColumns
func (x *FK) WithRefColumns(v []string) *FKWithRefColumns returns a copy of FK with RefColumns set to the given value.
#FK.WithOnDelete
func (x *FK) WithOnDelete(v string) *FKWithOnDelete returns a copy of FK with OnDelete set to the given value.
#Index.WithColumns
func (x *Index) WithColumns(v []string) *IndexWithColumns returns a copy of Index with Columns set to the given value.
#Index.WithMethod
func (x *Index) WithMethod(v string) *IndexWithMethod returns a copy of Index with Method set to the given value.
#Index.WithOpclass
func (x *Index) WithOpclass(v strictspec.Value) *IndexWithOpclass returns a copy of Index with Opclass set to the given value.
#Index.WithCollation
func (x *Index) WithCollation(v strictspec.Value) *IndexWithCollation returns a copy of Index with Collation set to the given value.
#Index.WithWhere
func (x *Index) WithWhere(v string) *IndexWithWhere returns a copy of Index with Where set to the given value.
#Index.WithInclude
func (x *Index) WithInclude(v []string) *IndexWithInclude returns a copy of Index with Include set to the given value.
#Index.WithUnique
func (x *Index) WithUnique(v bool) *IndexWithUnique returns a copy of Index with Unique set to the given value.
#Index.WithWith
func (x *Index) WithWith(v strictspec.Value) *IndexWithWith returns a copy of Index with With set to the given value.
#Unique.WithColumns
func (x *Unique) WithColumns(v []string) *UniqueWithColumns returns a copy of Unique with Columns set to the given value.
#Unique.WithDeferrable
func (x *Unique) WithDeferrable(v bool) *UniqueWithDeferrable returns a copy of Unique with Deferrable set to the given value.
#Unique.WithInitiallyDeferred
func (x *Unique) WithInitiallyDeferred(v bool) *UniqueWithInitiallyDeferred returns a copy of Unique with InitiallyDeferred set to the given value.
#Check.WithExpr
func (x *Check) WithExpr(v string) *CheckWithExpr returns a copy of Check with Expr set to the given value.
#Exclusion.WithColumns
func (x *Exclusion) WithColumns(v []string) *ExclusionWithColumns returns a copy of Exclusion with Columns set to the given value.
#Exclusion.WithOperators
func (x *Exclusion) WithOperators(v []string) *ExclusionWithOperators returns a copy of Exclusion with Operators set to the given value.
#Exclusion.WithMethod
func (x *Exclusion) WithMethod(v string) *ExclusionWithMethod returns a copy of Exclusion with Method set to the given value.
#Exclusion.WithWhere
func (x *Exclusion) WithWhere(v string) *ExclusionWithWhere returns a copy of Exclusion with Where set to the given value.
#Exclusion.WithDeferrable
func (x *Exclusion) WithDeferrable(v bool) *ExclusionWithDeferrable returns a copy of Exclusion with Deferrable set to the given value.
#Exclusion.WithInitiallyDeferred
func (x *Exclusion) WithInitiallyDeferred(v bool) *ExclusionWithInitiallyDeferred returns a copy of Exclusion with InitiallyDeferred set to the given value.
#Policy.WithType
func (x *Policy) WithType(v string) *PolicyWithType returns a copy of Policy with Type set to the given value.
#Policy.WithFor
func (x *Policy) WithFor(v string) *PolicyWithFor returns a copy of Policy with For set to the given value.
#Policy.WithTo
func (x *Policy) WithTo(v string) *PolicyWithTo returns a copy of Policy with To set to the given value.
#Policy.WithUsing
func (x *Policy) WithUsing(v string) *PolicyWithUsing returns a copy of Policy with Using set to the given value.
#Policy.WithWithCheck
func (x *Policy) WithWithCheck(v string) *PolicyWithWithCheck returns a copy of Policy with WithCheck set to the given value.
#Policy.WithErrorCode
func (x *Policy) WithErrorCode(v string) *PolicyWithErrorCode returns a copy of Policy with ErrorCode set to the given value.
#Policy.WithErrorMessage
func (x *Policy) WithErrorMessage(v string) *PolicyWithErrorMessage returns a copy of Policy with ErrorMessage set to the given value.
#Trigger.WithFunction
func (x *Trigger) WithFunction(v string) *TriggerWithFunction returns a copy of Trigger with Function set to the given value.
#Trigger.WithEvents
func (x *Trigger) WithEvents(v []string) *TriggerWithEvents returns a copy of Trigger with Events set to the given value.
#Trigger.WithTiming
func (x *Trigger) WithTiming(v string) *TriggerWithTiming returns a copy of Trigger with Timing set to the given value.
#Trigger.WithForEach
func (x *Trigger) WithForEach(v string) *TriggerWithForEach returns a copy of Trigger with ForEach set to the given value.
#Trigger.WithWhen
func (x *Trigger) WithWhen(v string) *TriggerWithWhen returns a copy of Trigger with When set to the given value.
#Trigger.WithConstraint
func (x *Trigger) WithConstraint(v bool) *TriggerWithConstraint returns a copy of Trigger with Constraint set to the given value.
#Trigger.WithDeferrable
func (x *Trigger) WithDeferrable(v bool) *TriggerWithDeferrable returns a copy of Trigger with Deferrable set to the given value.
#Trigger.WithInitiallyDeferred
func (x *Trigger) WithInitiallyDeferred(v bool) *TriggerWithInitiallyDeferred returns a copy of Trigger with InitiallyDeferred set to the given value.
#Trigger.WithReferencingOld
func (x *Trigger) WithReferencingOld(v string) *TriggerWithReferencingOld returns a copy of Trigger with ReferencingOld set to the given value.
#Trigger.WithReferencingNew
func (x *Trigger) WithReferencingNew(v string) *TriggerWithReferencingNew returns a copy of Trigger with ReferencingNew set to the given value.
#Trigger.WithComment
func (x *Trigger) WithComment(v string) *TriggerWithComment returns a copy of Trigger with Comment set to the given value.
#Partitioning.WithStrategy
func (x *Partitioning) WithStrategy(v string) *PartitioningWithStrategy returns a copy of Partitioning with Strategy set to the given value.
#Partitioning.WithColumn
func (x *Partitioning) WithColumn(v string) *PartitioningWithColumn returns a copy of Partitioning with Column set to the given value.
#Partitioning.WithColumns
func (x *Partitioning) WithColumns(v []string) *PartitioningWithColumns returns a copy of Partitioning with Columns set to the given value.
#Partitioning.WithName
func (x *Partitioning) WithName(v string) *PartitioningWithName returns a copy of Partitioning with Name set to the given value.
#Partitioning.WithBound
func (x *Partitioning) WithBound(v string) *PartitioningWithBound returns a copy of Partitioning with Bound set to the given value.
#Partitioning.WithPartitions
func (x *Partitioning) WithPartitions(v []*Partitioning) *PartitioningWithPartitions returns a copy of Partitioning with Partitions set to the given value.
#Dependency.WithDeterminant
func (x *Dependency) WithDeterminant(v []string) *DependencyWithDeterminant returns a copy of Dependency with Determinant set to the given value.
#Dependency.WithDependent
func (x *Dependency) WithDependent(v []string) *DependencyWithDependent returns a copy of Dependency with Dependent set to the given value.
#Maintenance.WithInterval
func (x *Maintenance) WithInterval(v string) *MaintenanceWithInterval returns a copy of Maintenance with Interval set to the given value.
#Maintenance.WithPremake
func (x *Maintenance) WithPremake(v int64) *MaintenanceWithPremake returns a copy of Maintenance with Premake set to the given value.
#Maintenance.WithRetention
func (x *Maintenance) WithRetention(v string) *MaintenanceWithRetention returns a copy of Maintenance with Retention set to the given value.
#Maintenance.WithRetentionKeepTable
func (x *Maintenance) WithRetentionKeepTable(v bool) *MaintenanceWithRetentionKeepTable returns a copy of Maintenance with RetentionKeepTable set to the given value.
#Maintenance.WithSchedule
func (x *Maintenance) WithSchedule(v string) *MaintenanceWithSchedule returns a copy of Maintenance with Schedule set to the given value.
#View.WithQuery
func (x *View) WithQuery(v string) *ViewWithQuery returns a copy of View with Query set to the given value.
#View.WithComment
func (x *View) WithComment(v string) *ViewWithComment returns a copy of View with Comment set to the given value.
#View.WithDependsOn
func (x *View) WithDependsOn(v []string) *ViewWithDependsOn returns a copy of View with DependsOn set to the given value.
#MatView.WithQuery
func (x *MatView) WithQuery(v string) *MatViewWithQuery returns a copy of MatView with Query set to the given value.
#MatView.WithComment
func (x *MatView) WithComment(v string) *MatViewWithComment returns a copy of MatView with Comment set to the given value.
#MatView.WithDependsOn
func (x *MatView) WithDependsOn(v []string) *MatViewWithDependsOn returns a copy of MatView with DependsOn set to the given value.
#MatView.WithWithData
func (x *MatView) WithWithData(v bool) *MatViewWithWithData returns a copy of MatView with WithData set to the given value.
#MatView.WithIndexes
func (x *MatView) WithIndexes(v strictspec.Value) *MatViewWithIndexes returns a copy of MatView with Indexes set to the given value.
#Sequence.WithStart
func (x *Sequence) WithStart(v int64) *SequenceWithStart returns a copy of Sequence with Start set to the given value.
#Sequence.WithIncrement
func (x *Sequence) WithIncrement(v int64) *SequenceWithIncrement returns a copy of Sequence with Increment set to the given value.
#Sequence.WithMinValue
func (x *Sequence) WithMinValue(v int64) *SequenceWithMinValue returns a copy of Sequence with MinValue set to the given value.
#Sequence.WithMaxValue
func (x *Sequence) WithMaxValue(v int64) *SequenceWithMaxValue returns a copy of Sequence with MaxValue set to the given value.
#Sequence.WithCache
func (x *Sequence) WithCache(v int64) *SequenceWithCache returns a copy of Sequence with Cache set to the given value.
#Sequence.WithCycle
func (x *Sequence) WithCycle(v bool) *SequenceWithCycle returns a copy of Sequence with Cycle set to the given value.
#Sequence.WithOwnedBy
func (x *Sequence) WithOwnedBy(v string) *SequenceWithOwnedBy returns a copy of Sequence with OwnedBy set to the given value.
#Sequence.WithComment
func (x *Sequence) WithComment(v string) *SequenceWithComment returns a copy of Sequence with Comment set to the given value.
#Function.WithLanguage
func (x *Function) WithLanguage(v string) *FunctionWithLanguage returns a copy of Function with Language set to the given value.
#Function.WithReturns
func (x *Function) WithReturns(v string) *FunctionWithReturns returns a copy of Function with Returns set to the given value.
#Function.WithBody
func (x *Function) WithBody(v string) *FunctionWithBody returns a copy of Function with Body set to the given value.
#Function.WithFile
func (x *Function) WithFile(v string) *FunctionWithFile returns a copy of Function with File set to the given value.
#Function.WithComment
func (x *Function) WithComment(v string) *FunctionWithComment returns a copy of Function with Comment set to the given value.
#Function.WithVolatility
func (x *Function) WithVolatility(v string) *FunctionWithVolatility returns a copy of Function with Volatility set to the given value.
#Function.WithParallel
func (x *Function) WithParallel(v string) *FunctionWithParallel returns a copy of Function with Parallel set to the given value.
#Function.WithSecurityDefiner
func (x *Function) WithSecurityDefiner(v bool) *FunctionWithSecurityDefiner returns a copy of Function with SecurityDefiner set to the given value.
#Function.WithProcedure
func (x *Function) WithProcedure(v bool) *FunctionWithProcedure returns a copy of Function with Procedure set to the given value.
#Function.WithCost
func (x *Function) WithCost(v float64) *FunctionWithCost returns a copy of Function with Cost set to the given value.
#Function.WithRows
func (x *Function) WithRows(v float64) *FunctionWithRows returns a copy of Function with Rows set to the given value.
#Function.WithDependsOn
func (x *Function) WithDependsOn(v []string) *FunctionWithDependsOn returns a copy of Function with DependsOn set to the given value.
#Function.WithArgs
func (x *Function) WithArgs(v []*FunctionArg) *FunctionWithArgs returns a copy of Function with Args set to the given value.
#FunctionArg.WithName
func (x *FunctionArg) WithName(v string) *FunctionArgWithName returns a copy of FunctionArg with Name set to the given value.
#FunctionArg.WithType
func (x *FunctionArg) WithType(v string) *FunctionArgWithType returns a copy of FunctionArg with Type set to the given value.
#FunctionArg.WithDefault
func (x *FunctionArg) WithDefault(v string) *FunctionArgWithDefault returns a copy of FunctionArg with Default set to the given value.