MCPcopy Create free account

hub / github.com/ariga/atlas / types & classes

Types & classes1,019 in github.com/ariga/atlas

↓ 135 callersFuncTypeRevision
Revision is the predicate function for revision builders.
cmd/atlas/internal/migrate/ent/predicate/predicate.go:14
↓ 18 callersFuncTypeReportWriterFunc
ReportWriterFunc is a function that implements Reporter.
sql/sqlcheck/sqlcheck.go:157
↓ 13 callersFuncTypeOpenerFunc
OpenerFunc allows using a function as an Opener.
sql/sqlclient/client.go:237
↓ 10 callersStructdiff
A diff provides a MySQL implementation for sqlx.DiffDriver.
sql/mysql/diff.go:25
↓ 6 callersTypeAliasReferenceOption
ReferenceOption for constraint actions.
sql/schema/schema.go:351
↓ 5 callersTypeAliasAnalyzers
Analyzers implements Analyzer.
sql/sqlcheck/sqlcheck.go:136
↓ 5 callersFuncTypeMarshalerFunc
MarshalerFunc is the function type that is implemented by the MarshalSpec method of the Marshaler interface.
schemahcl/schemahcl.go:297
↓ 5 callersTypeAliasReferenceOption
ReferenceOption describes the ON DELETE and ON UPDATE options for foreign keys.
sql/postgres/inspect.go:1161
↓ 5 callersFuncTypeStateReaderFunc
The StateReaderFunc type is an adapter to allow the use of ordinary functions as state readers.
sql/migrate/migrate.go:144
↓ 4 callersTypeAliasChanges
Changes is a list of changes allow for searching and mutating changes.
sql/schema/migrate.go:432
↓ 4 callersFuncTypeEvalFunc
EvalFunc is an adapter that allows the use of an ordinary function as an Evaluator.
schemahcl/schemahcl.go:289
↓ 4 callersStructinspect
A diff provides a MySQL implementation for schema.Inspector.
sql/mysql/inspect.go:21
↓ 3 callersTypeAliasRevisionType
RevisionType defines the type of the revision record in the history table.
sql/migrate/migrate.go:254
↓ 3 callersFuncTypeURLParserFunc
URLParserFunc allows using a function as an URLParser.
sql/sqlclient/client.go:245
↓ 3 callersTypeAliasV
V provides information about MySQL versions.
sql/mysql/internal/mysqlversion/mysqlversion.go:21
↓ 2 callersFuncTypeAnalyzerFunc
AnalyzerFunc allows using ordinary functions as analyzers.
sql/sqlcheck/sqlcheck.go:149
↓ 2 callersFuncTypeStateLoaderFunc
The StateLoaderFunc type is an adapter to allow the use of ordinary function as StateLoader.
cmd/atlas/internal/cmdext/cmdext.go:547
↓ 1 callersInterfaceChange
A Change represents a schema change. The types below implement this interface and can be used for describing schema changes. The Change interface can
sql/schema/migrate.go:28
↓ 1 callersFuncTypeCommitFunc
The CommitFunc type is an adapter to allow the use of ordinary function as a Committer. If f is a function with the appropriate signature, CommitFunc(
cmd/atlas/internal/migrate/ent/tx.go:41
↓ 1 callersFuncTypeExprFunc
ExprFunc for lazy attribute evaluation.
schemahcl/spec.go:633
↓ 1 callersFuncTypeRollbackFunc
The RollbackFunc type is an adapter to allow the use of ordinary function as a Rollbacker. If f is a function with the appropriate signature, Rollback
cmd/atlas/internal/migrate/ent/tx.go:97
↓ 1 callersFuncTypecloserFunc
func() error
sql/sqlclient/client_test.go:99
StructA
schemahcl/extension_test.go:144
StructAbortError
AbortError returns a command error that is formatted as "Abort: ..." when the execution is aborted by the user.
cmd/atlas/internal/cmdapi/cmdapi.go:114
InterfaceAborter
Aborter allows errors to signal if the error is an abort error.
cmd/atlas/internal/cmdapi/cmdapi.go:118
StructAddAttr
AddAttr describes an attribute addition.
sql/schema/migrate.go:217
StructAddCheck
AddCheck describes a CHECK constraint creation change.
sql/schema/migrate.go:195
StructAddColumn
AddColumn describes a column creation change.
sql/schema/migrate.go:115
StructAddForeignKey
AddForeignKey describes a foreign-key creation change.
sql/schema/migrate.go:177
StructAddIndex
AddIndex describes an index creation change.
sql/schema/migrate.go:137
StructAddObject
AddObject describes a generic object creation change.
sql/schema/migrate.go:91
StructAddPKConstraint
AddPKConstraint to the table using the given index. Note, if the index name does not match the primary-key constraint name, PostgreSQL implicitly rena
sql/postgres/migrate.go:466
StructAddPrimaryKey
AddPrimaryKey describes a primary-key creation change.
sql/schema/migrate.go:161
StructAddSchema
AddSchema describes a schema (named database) creation change. Unlike table creation, schemas and their elements are described with separate changes.
sql/schema/migrate.go:50
StructAddTable
AddTable describes a table creation change.
sql/schema/migrate.go:68
StructAddUniqueConstraint
AddUniqueConstraint to the table using the given index. Note, if the index name does not match the unique constraint name, PostgreSQL implicitly renam
sql/postgres/migrate.go:458
StructAdvisory
Advisory contains contents of security advisories.
cmd/atlas/internal/cmdapi/vercheck/vercheck.go:43
FuncTypeAggregateFunc
AggregateFunc applies an aggregation step on the group-by traversal/selector.
cmd/atlas/internal/migrate/ent/ent.go:111
StructAggregate_funcContext
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:32049
StructAggregate_function_invocationContext
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:23957
TypeAliasAlias
cmd/atlas/internal/cmdlog/cmdlog.go:674
StructAliasContext
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:31593
StructAlter_table_stmtContext
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:2709
StructAnalyze_stmtContext
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:3155
InterfaceAnalyzer
An Analyzer describes a migration file analyzer.
sql/sqlcheck/sqlcheck.go:25
StructAnalyzer
Analyzer checks for destructive changes.
sql/sqlcheck/destructive/destructive.go:22
StructAnalyzer
Analyzer checks for backwards-incompatible (breaking) changes.
sql/sqlcheck/incompatible/incompatible.go:20
StructAnalyzer
Analyzer checks data-dependent changes.
sql/sqlcheck/datadepend/datadepend.go:23
StructAnalyzer
Analyzer checks for constraint-dropping changes.
sql/sqlcheck/condrop/condrop.go:19
InterfaceAnimal
schemahcl/schemahcl_test.go:241
StructAny_nameContext
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:32282
StructAppliedFile
AppliedFile is part of a MigrateApply containing information about an applied file in a migration attempt.
atlasexec/atlas_models.go:25
StructAppliedFile
AppliedFile is part of an MigrateApply containing information about an applied file in a migration attempt.
cmd/atlas/internal/cmdlog/cmdlog.go:467
StructApplyError
ApplyError is an error that exposes an information for getting how any changes were applied before encountering the failure.
sql/internal/sqlx/plan.go:26
StructArrayType
ArrayType defines an array type. https://postgresql.org/docs/current/arrays.html
sql/postgres/inspect.go:880
StructAsc_descContext
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:25454
StructAssignmentContext
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:20771
StructAssignment_listContext
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:20591
StructAtlasConfig
AtlasConfig exposes non-sensitive information returned by the "atlas" init-block. By invoking AtlasInitBlock() a new config is returned that is set by
cmd/atlas/internal/cmdext/cmdext.go:70
StructAttach_stmtContext
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:3341
InterfaceAttr
Attr represents the interface that all attributes implement.
sql/schema/schema.go:511
StructAttr
Attr is an attribute of a Resource.
schemahcl/spec.go:33
StructAttr
schemahcl/schemahcl_test.go:1299
InterfaceAttrer
Attrer is the interface that wraps the Attr method.
sql/internal/specutil/convert.go:1024
StructAttrs
cmd/atlas/internal/cmdlog/cmdlog.go:819
StructAutoIncrement
AutoIncrement attribute for columns with "AUTO_INCREMENT" as a default. V represent an optional start value for the counter.
sql/mysql/inspect.go:797
StructAutoIncrement
AutoIncrement describes the `AUTOINCREMENT` configuration. https://www.sqlite.org/autoinc.html
sql/sqlite/inspect.go:383
StructB
schemahcl/extension_test.go:167
StructBackend
schemahcl/context_test.go:44
StructBar
schemahcl/schemahcl_test.go:1119
StructBaseParserListener
BaseParserListener is a complete listener for a parse tree produced by Parser.
cmd/atlas/internal/sqlparse/sqliteparse/parser_base_listener.go:7
StructBaseParserVisitor
cmd/atlas/internal/sqlparse/sqliteparse/parser_base_visitor.go:6
StructBase_window_nameContext
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:31821
StructBegin_stmtContext
cmd/atlas/internal/sqlparse/sqliteparse/parser.go:3524
FuncTypeBinaryOption
BinaryOption allows configuring BinaryType using functional options.
sql/schema/dsl.go:413
StructBinaryType
BinaryType represents a type that stores binary data.
sql/schema/schema.go:389
StructBitType
BitType defines a bit type. https://postgresql.org/docs/current/datatype-bit.html
sql/postgres/inspect.go:887
StructBitType
BitType represents the type bit.
sql/mysql/inspect.go:872
StructBlock
schemahcl/schemahcl_test.go:1303
StructBlock1
schemahcl/schemahcl_test.go:1065
StructBlock2
schemahcl/schemahcl_test.go:1069
FuncTypeBlockFunc
BlockFunc is the function signature for evaluating a dynamic block.
schemahcl/schemahcl.go:137
StructBoolType
BoolType represents a boolean type.
sql/schema/schema.go:402
StructBuilder
A Builder provides a syntactic sugar API for writing SQL statements.
sql/internal/sqlx/sqlx.go:260
StructCar
schemahcl/context_test.go:275
StructCascade
Cascade describes that a CASCADE clause should be added to the DROP [TABLE|SCHEMA] operation. Note, this clause is automatically added to DROP SCHEMA
sql/postgres/inspect.go:1156
StructCast
schemahcl/schemahcl_test.go:257
StructChain
Chain acts as a list of hooks and is effectively immutable. Once created, it will always hold the same set of hooks in the same order.
cmd/atlas/internal/migrate/ent/hook/hook.go:171
StructChange
A Change of migration.
sql/migrate/migrate.go:47
StructChange
A Change in a migration file.
sql/sqlcheck/sqlcheck.go:77
InterfaceChangeDepender
ChangeDepender wraps the ChangeDeps method, which returns a dependency map from each change to its dependent changes. This interface can optionally be
sql/schema/migrate.go:437
InterfaceChangeDetector
A ChangeDetector takes a migration directory and splits it into the "base" files (already merged) and new ones.
cmd/atlas/internal/migratelint/lint.go:32
TypeAliasChangeKind
A ChangeKind describes a change kind that can be combined using a set of flags. The zero kind is no change. go:generate stringer -type ChangeKind
sql/schema/migrate.go:244
InterfaceChangeLoader
A ChangeLoader takes a set of migration files and will create multiple schema.Changes out of it.
cmd/atlas/internal/migratelint/lint.go:38
InterfaceChangeSupporter
ChangeSupporter wraps the single SupportChange method.
sql/internal/sqlx/diff.go:105
StructChanges
Changes represents a list of changes that are pending or applied.
atlasexec/atlas_models.go:109
StructChanges
Changes represents a list of changes that are pending or applied.
cmd/atlas/internal/cmdlog/cmdlog.go:732
StructChanges
Changes holds schema changes information returned by the loader.
cmd/atlas/internal/migratelint/lint.go:44
InterfaceChangesAnnotator
ChangesAnnotator is an optional interface allows DiffDriver to annotate changes with additional driver-specific attributes before they are returned.
sql/internal/sqlx/diff.go:100
StructCharset
Charset describes a column or a table character-set setting.
sql/schema/schema.go:521
next →1–100 of 1,019, ranked by callers