Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Revision) predicate.Revision
- func Description(v string) predicate.Revision
- func DescriptionContains(v string) predicate.Revision
- func DescriptionContainsFold(v string) predicate.Revision
- func DescriptionEQ(v string) predicate.Revision
- func DescriptionEqualFold(v string) predicate.Revision
- func DescriptionGT(v string) predicate.Revision
- func DescriptionGTE(v string) predicate.Revision
- func DescriptionHasPrefix(v string) predicate.Revision
- func DescriptionHasSuffix(v string) predicate.Revision
- func DescriptionIn(vs ...string) predicate.Revision
- func DescriptionLT(v string) predicate.Revision
- func DescriptionLTE(v string) predicate.Revision
- func DescriptionNEQ(v string) predicate.Revision
- func DescriptionNotIn(vs ...string) predicate.Revision
- func ExecutedAt(v time.Time) predicate.Revision
- func ExecutedAtEQ(v time.Time) predicate.Revision
- func ExecutedAtGT(v time.Time) predicate.Revision
- func ExecutedAtGTE(v time.Time) predicate.Revision
- func ExecutedAtIn(vs ...time.Time) predicate.Revision
- func ExecutedAtLT(v time.Time) predicate.Revision
- func ExecutedAtLTE(v time.Time) predicate.Revision
- func ExecutedAtNEQ(v time.Time) predicate.Revision
- func ExecutedAtNotIn(vs ...time.Time) predicate.Revision
- func ExecutionStateEQ(v ExecutionState) predicate.Revision
- func ExecutionStateIn(vs ...ExecutionState) predicate.Revision
- func ExecutionStateNEQ(v ExecutionState) predicate.Revision
- func ExecutionStateNotIn(vs ...ExecutionState) predicate.Revision
- func ExecutionStateValidator(es ExecutionState) error
- func ExecutionTime(v time.Duration) predicate.Revision
- func ExecutionTimeEQ(v time.Duration) predicate.Revision
- func ExecutionTimeGT(v time.Duration) predicate.Revision
- func ExecutionTimeGTE(v time.Duration) predicate.Revision
- func ExecutionTimeIn(vs ...time.Duration) predicate.Revision
- func ExecutionTimeLT(v time.Duration) predicate.Revision
- func ExecutionTimeLTE(v time.Duration) predicate.Revision
- func ExecutionTimeNEQ(v time.Duration) predicate.Revision
- func ExecutionTimeNotIn(vs ...time.Duration) predicate.Revision
- func Hash(v string) predicate.Revision
- func HashContains(v string) predicate.Revision
- func HashContainsFold(v string) predicate.Revision
- func HashEQ(v string) predicate.Revision
- func HashEqualFold(v string) predicate.Revision
- func HashGT(v string) predicate.Revision
- func HashGTE(v string) predicate.Revision
- func HashHasPrefix(v string) predicate.Revision
- func HashHasSuffix(v string) predicate.Revision
- func HashIn(vs ...string) predicate.Revision
- func HashLT(v string) predicate.Revision
- func HashLTE(v string) predicate.Revision
- func HashNEQ(v string) predicate.Revision
- func HashNotIn(vs ...string) predicate.Revision
- func ID(id string) predicate.Revision
- func IDEQ(id string) predicate.Revision
- func IDGT(id string) predicate.Revision
- func IDGTE(id string) predicate.Revision
- func IDIn(ids ...string) predicate.Revision
- func IDLT(id string) predicate.Revision
- func IDLTE(id string) predicate.Revision
- func IDNEQ(id string) predicate.Revision
- func IDNotIn(ids ...string) predicate.Revision
- func Not(p predicate.Revision) predicate.Revision
- func OperatorVersion(v string) predicate.Revision
- func OperatorVersionContains(v string) predicate.Revision
- func OperatorVersionContainsFold(v string) predicate.Revision
- func OperatorVersionEQ(v string) predicate.Revision
- func OperatorVersionEqualFold(v string) predicate.Revision
- func OperatorVersionGT(v string) predicate.Revision
- func OperatorVersionGTE(v string) predicate.Revision
- func OperatorVersionHasPrefix(v string) predicate.Revision
- func OperatorVersionHasSuffix(v string) predicate.Revision
- func OperatorVersionIn(vs ...string) predicate.Revision
- func OperatorVersionLT(v string) predicate.Revision
- func OperatorVersionLTE(v string) predicate.Revision
- func OperatorVersionNEQ(v string) predicate.Revision
- func OperatorVersionNotIn(vs ...string) predicate.Revision
- func Or(predicates ...predicate.Revision) predicate.Revision
- func ValidColumn(column string) bool
- type ExecutionState
Constants ¶
const ( // Label holds the string label denoting the revision type in the database. Label = "revision" // FieldID holds the string denoting the id field in the database. FieldID = "version" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldExecutionState holds the string denoting the execution_state field in the database. FieldExecutionState = "execution_state" // FieldExecutedAt holds the string denoting the executed_at field in the database. FieldExecutedAt = "executed_at" // FieldExecutionTime holds the string denoting the execution_time field in the database. FieldExecutionTime = "execution_time" // FieldHash holds the string denoting the hash field in the database. FieldHash = "hash" // FieldOperatorVersion holds the string denoting the operator_version field in the database. FieldOperatorVersion = "operator_version" // FieldMeta holds the string denoting the meta field in the database. FieldMeta = "meta" // Table holds the table name of the revision in the database. Table = "atlas_schema_revisions" )
Variables ¶
var Columns = []string{ FieldID, FieldDescription, FieldExecutionState, FieldExecutedAt, FieldExecutionTime, FieldHash, FieldOperatorVersion, FieldMeta, }
Columns holds all SQL columns for revision fields.
Functions ¶
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func ExecutedAt ¶
ExecutedAt applies equality check predicate on the "executed_at" field. It's identical to ExecutedAtEQ.
func ExecutedAtEQ ¶
ExecutedAtEQ applies the EQ predicate on the "executed_at" field.
func ExecutedAtGT ¶
ExecutedAtGT applies the GT predicate on the "executed_at" field.
func ExecutedAtGTE ¶
ExecutedAtGTE applies the GTE predicate on the "executed_at" field.
func ExecutedAtIn ¶
ExecutedAtIn applies the In predicate on the "executed_at" field.
func ExecutedAtLT ¶
ExecutedAtLT applies the LT predicate on the "executed_at" field.
func ExecutedAtLTE ¶
ExecutedAtLTE applies the LTE predicate on the "executed_at" field.
func ExecutedAtNEQ ¶
ExecutedAtNEQ applies the NEQ predicate on the "executed_at" field.
func ExecutedAtNotIn ¶
ExecutedAtNotIn applies the NotIn predicate on the "executed_at" field.
func ExecutionStateEQ ¶
func ExecutionStateEQ(v ExecutionState) predicate.Revision
ExecutionStateEQ applies the EQ predicate on the "execution_state" field.
func ExecutionStateIn ¶
func ExecutionStateIn(vs ...ExecutionState) predicate.Revision
ExecutionStateIn applies the In predicate on the "execution_state" field.
func ExecutionStateNEQ ¶
func ExecutionStateNEQ(v ExecutionState) predicate.Revision
ExecutionStateNEQ applies the NEQ predicate on the "execution_state" field.
func ExecutionStateNotIn ¶
func ExecutionStateNotIn(vs ...ExecutionState) predicate.Revision
ExecutionStateNotIn applies the NotIn predicate on the "execution_state" field.
func ExecutionStateValidator ¶
func ExecutionStateValidator(es ExecutionState) error
ExecutionStateValidator is a validator for the "execution_state" field enum values. It is called by the builders before save.
func ExecutionTime ¶
ExecutionTime applies equality check predicate on the "execution_time" field. It's identical to ExecutionTimeEQ.
func ExecutionTimeEQ ¶
ExecutionTimeEQ applies the EQ predicate on the "execution_time" field.
func ExecutionTimeGT ¶
ExecutionTimeGT applies the GT predicate on the "execution_time" field.
func ExecutionTimeGTE ¶
ExecutionTimeGTE applies the GTE predicate on the "execution_time" field.
func ExecutionTimeIn ¶
ExecutionTimeIn applies the In predicate on the "execution_time" field.
func ExecutionTimeLT ¶
ExecutionTimeLT applies the LT predicate on the "execution_time" field.
func ExecutionTimeLTE ¶
ExecutionTimeLTE applies the LTE predicate on the "execution_time" field.
func ExecutionTimeNEQ ¶
ExecutionTimeNEQ applies the NEQ predicate on the "execution_time" field.
func ExecutionTimeNotIn ¶
ExecutionTimeNotIn applies the NotIn predicate on the "execution_time" field.
func HashContains ¶
HashContains applies the Contains predicate on the "hash" field.
func HashContainsFold ¶
HashContainsFold applies the ContainsFold predicate on the "hash" field.
func HashEqualFold ¶
HashEqualFold applies the EqualFold predicate on the "hash" field.
func HashHasPrefix ¶
HashHasPrefix applies the HasPrefix predicate on the "hash" field.
func HashHasSuffix ¶
HashHasSuffix applies the HasSuffix predicate on the "hash" field.
func OperatorVersion ¶
OperatorVersion applies equality check predicate on the "operator_version" field. It's identical to OperatorVersionEQ.
func OperatorVersionContains ¶
OperatorVersionContains applies the Contains predicate on the "operator_version" field.
func OperatorVersionContainsFold ¶
OperatorVersionContainsFold applies the ContainsFold predicate on the "operator_version" field.
func OperatorVersionEQ ¶
OperatorVersionEQ applies the EQ predicate on the "operator_version" field.
func OperatorVersionEqualFold ¶
OperatorVersionEqualFold applies the EqualFold predicate on the "operator_version" field.
func OperatorVersionGT ¶
OperatorVersionGT applies the GT predicate on the "operator_version" field.
func OperatorVersionGTE ¶
OperatorVersionGTE applies the GTE predicate on the "operator_version" field.
func OperatorVersionHasPrefix ¶
OperatorVersionHasPrefix applies the HasPrefix predicate on the "operator_version" field.
func OperatorVersionHasSuffix ¶
OperatorVersionHasSuffix applies the HasSuffix predicate on the "operator_version" field.
func OperatorVersionIn ¶
OperatorVersionIn applies the In predicate on the "operator_version" field.
func OperatorVersionLT ¶
OperatorVersionLT applies the LT predicate on the "operator_version" field.
func OperatorVersionLTE ¶
OperatorVersionLTE applies the LTE predicate on the "operator_version" field.
func OperatorVersionNEQ ¶
OperatorVersionNEQ applies the NEQ predicate on the "operator_version" field.
func OperatorVersionNotIn ¶
OperatorVersionNotIn applies the NotIn predicate on the "operator_version" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type ExecutionState ¶
type ExecutionState string
ExecutionState defines the type for the "execution_state" enum field.
const ( ExecutionStateOngoing ExecutionState = "ongoing" ExecutionStateOk ExecutionState = "ok" ExecutionStateError ExecutionState = "error" )
ExecutionState values.
func (ExecutionState) String ¶
func (es ExecutionState) String() string