crackedpassword

package
v0.0.0-...-c68951b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the crackedpassword type in the database.
	Label = "cracked_password"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldHash holds the string denoting the hash field in the database.
	FieldHash = "hash"
	// FieldValue holds the string denoting the value field in the database.
	FieldValue = "value"
	// FieldCrackedAt holds the string denoting the cracked_at field in the database.
	FieldCrackedAt = "cracked_at"
	// EdgeRelatedTask holds the string denoting the related_task edge name in mutations.
	EdgeRelatedTask = "related_task"
	// Table holds the table name of the crackedpassword in the database.
	Table = "cracked_passwords"
	// RelatedTaskTable is the table that holds the related_task relation/edge.
	RelatedTaskTable = "cracked_passwords"
	// RelatedTaskInverseTable is the table name for the Task entity.
	// It exists in this package in order to avoid circular dependency with the "task" package.
	RelatedTaskInverseTable = "tasks"
	// RelatedTaskColumn is the table column denoting the related_task relation/edge.
	RelatedTaskColumn = "task_cracked_passwords"
)

Variables

View Source
var (
	// DefaultCrackedAt holds the default value on creation for the "cracked_at" field.
	DefaultCrackedAt func() time.Time
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for crackedpassword fields.

View Source
var ForeignKeys = []string{
	"task_cracked_passwords",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "cracked_passwords" table and are not defined as standalone fields in the schema.

Functions

func And

And groups predicates with the AND operator between them.

func CrackedAt

func CrackedAt(v time.Time) predicate.CrackedPassword

CrackedAt applies equality check predicate on the "cracked_at" field. It's identical to CrackedAtEQ.

func CrackedAtEQ

func CrackedAtEQ(v time.Time) predicate.CrackedPassword

CrackedAtEQ applies the EQ predicate on the "cracked_at" field.

func CrackedAtGT

func CrackedAtGT(v time.Time) predicate.CrackedPassword

CrackedAtGT applies the GT predicate on the "cracked_at" field.

func CrackedAtGTE

func CrackedAtGTE(v time.Time) predicate.CrackedPassword

CrackedAtGTE applies the GTE predicate on the "cracked_at" field.

func CrackedAtIn

func CrackedAtIn(vs ...time.Time) predicate.CrackedPassword

CrackedAtIn applies the In predicate on the "cracked_at" field.

func CrackedAtLT

func CrackedAtLT(v time.Time) predicate.CrackedPassword

CrackedAtLT applies the LT predicate on the "cracked_at" field.

func CrackedAtLTE

func CrackedAtLTE(v time.Time) predicate.CrackedPassword

CrackedAtLTE applies the LTE predicate on the "cracked_at" field.

func CrackedAtNEQ

func CrackedAtNEQ(v time.Time) predicate.CrackedPassword

CrackedAtNEQ applies the NEQ predicate on the "cracked_at" field.

func CrackedAtNotIn

func CrackedAtNotIn(vs ...time.Time) predicate.CrackedPassword

CrackedAtNotIn applies the NotIn predicate on the "cracked_at" field.

func HasRelatedTask

func HasRelatedTask() predicate.CrackedPassword

HasRelatedTask applies the HasEdge predicate on the "related_task" edge.

func HasRelatedTaskWith

func HasRelatedTaskWith(preds ...predicate.Task) predicate.CrackedPassword

HasRelatedTaskWith applies the HasEdge predicate on the "related_task" edge with a given conditions (other predicates).

func Hash

Hash applies equality check predicate on the "hash" field. It's identical to HashEQ.

func HashContains

func HashContains(v string) predicate.CrackedPassword

HashContains applies the Contains predicate on the "hash" field.

func HashContainsFold

func HashContainsFold(v string) predicate.CrackedPassword

HashContainsFold applies the ContainsFold predicate on the "hash" field.

func HashEQ

HashEQ applies the EQ predicate on the "hash" field.

func HashEqualFold

func HashEqualFold(v string) predicate.CrackedPassword

HashEqualFold applies the EqualFold predicate on the "hash" field.

func HashGT

HashGT applies the GT predicate on the "hash" field.

func HashGTE

func HashGTE(v string) predicate.CrackedPassword

HashGTE applies the GTE predicate on the "hash" field.

func HashHasPrefix

func HashHasPrefix(v string) predicate.CrackedPassword

HashHasPrefix applies the HasPrefix predicate on the "hash" field.

func HashHasSuffix

func HashHasSuffix(v string) predicate.CrackedPassword

HashHasSuffix applies the HasSuffix predicate on the "hash" field.

func HashIn

func HashIn(vs ...string) predicate.CrackedPassword

HashIn applies the In predicate on the "hash" field.

func HashLT

HashLT applies the LT predicate on the "hash" field.

func HashLTE

func HashLTE(v string) predicate.CrackedPassword

HashLTE applies the LTE predicate on the "hash" field.

func HashNEQ

func HashNEQ(v string) predicate.CrackedPassword

HashNEQ applies the NEQ predicate on the "hash" field.

func HashNotIn

func HashNotIn(vs ...string) predicate.CrackedPassword

HashNotIn applies the NotIn predicate on the "hash" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.CrackedPassword

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.CrackedPassword

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func Value

Value applies equality check predicate on the "value" field. It's identical to ValueEQ.

func ValueContains

func ValueContains(v string) predicate.CrackedPassword

ValueContains applies the Contains predicate on the "value" field.

func ValueContainsFold

func ValueContainsFold(v string) predicate.CrackedPassword

ValueContainsFold applies the ContainsFold predicate on the "value" field.

func ValueEQ

func ValueEQ(v string) predicate.CrackedPassword

ValueEQ applies the EQ predicate on the "value" field.

func ValueEqualFold

func ValueEqualFold(v string) predicate.CrackedPassword

ValueEqualFold applies the EqualFold predicate on the "value" field.

func ValueGT

func ValueGT(v string) predicate.CrackedPassword

ValueGT applies the GT predicate on the "value" field.

func ValueGTE

func ValueGTE(v string) predicate.CrackedPassword

ValueGTE applies the GTE predicate on the "value" field.

func ValueHasPrefix

func ValueHasPrefix(v string) predicate.CrackedPassword

ValueHasPrefix applies the HasPrefix predicate on the "value" field.

func ValueHasSuffix

func ValueHasSuffix(v string) predicate.CrackedPassword

ValueHasSuffix applies the HasSuffix predicate on the "value" field.

func ValueIn

func ValueIn(vs ...string) predicate.CrackedPassword

ValueIn applies the In predicate on the "value" field.

func ValueLT

func ValueLT(v string) predicate.CrackedPassword

ValueLT applies the LT predicate on the "value" field.

func ValueLTE

func ValueLTE(v string) predicate.CrackedPassword

ValueLTE applies the LTE predicate on the "value" field.

func ValueNEQ

func ValueNEQ(v string) predicate.CrackedPassword

ValueNEQ applies the NEQ predicate on the "value" field.

func ValueNotIn

func ValueNotIn(vs ...string) predicate.CrackedPassword

ValueNotIn applies the NotIn predicate on the "value" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL