timelineevent

package
v0.0.0-...-76a6b52 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the timelineevent type in the database.
	Label = "timeline_event"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldNumericID holds the string denoting the numeric_id field in the database.
	FieldNumericID = "numeric_id"
	// FieldNodeID holds the string denoting the node_id field in the database.
	FieldNodeID = "node_id"
	// FieldURL holds the string denoting the url field in the database.
	FieldURL = "url"
	// FieldEvent holds the string denoting the event field in the database.
	FieldEvent = "event"
	// FieldCommitID holds the string denoting the commit_id field in the database.
	FieldCommitID = "commit_id"
	// FieldCommitURL holds the string denoting the commit_url field in the database.
	FieldCommitURL = "commit_url"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldData holds the string denoting the data field in the database.
	FieldData = "data"
	// EdgeActor holds the string denoting the actor edge name in mutations.
	EdgeActor = "actor"
	// EdgeIssue holds the string denoting the issue edge name in mutations.
	EdgeIssue = "issue"
	// Table holds the table name of the timelineevent in the database.
	Table = "timeline_events"
	// ActorTable is the table that holds the actor relation/edge.
	ActorTable = "timeline_events"
	// ActorInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	ActorInverseTable = "users"
	// ActorColumn is the table column denoting the actor relation/edge.
	ActorColumn = "timeline_event_actor"
	// IssueTable is the table that holds the issue relation/edge.
	IssueTable = "timeline_events"
	// IssueInverseTable is the table name for the Issue entity.
	// It exists in this package in order to avoid circular dependency with the "issue" package.
	IssueInverseTable = "issues"
	// IssueColumn is the table column denoting the issue relation/edge.
	IssueColumn = "issue_timeline"
)

Variables

Columns holds all SQL columns for timelineevent fields.

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

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

View Source
var (
	// NodeIDValidator is a validator for the "node_id" field. It is called by the builders before save.
	NodeIDValidator func(string) error
)

Functions

func And

And groups predicates with the AND operator between them.

func CommitID

func CommitID(v string) predicate.TimelineEvent

CommitID applies equality check predicate on the "commit_id" field. It's identical to CommitIDEQ.

func CommitIDContains

func CommitIDContains(v string) predicate.TimelineEvent

CommitIDContains applies the Contains predicate on the "commit_id" field.

func CommitIDContainsFold

func CommitIDContainsFold(v string) predicate.TimelineEvent

CommitIDContainsFold applies the ContainsFold predicate on the "commit_id" field.

func CommitIDEQ

func CommitIDEQ(v string) predicate.TimelineEvent

CommitIDEQ applies the EQ predicate on the "commit_id" field.

func CommitIDEqualFold

func CommitIDEqualFold(v string) predicate.TimelineEvent

CommitIDEqualFold applies the EqualFold predicate on the "commit_id" field.

func CommitIDGT

func CommitIDGT(v string) predicate.TimelineEvent

CommitIDGT applies the GT predicate on the "commit_id" field.

func CommitIDGTE

func CommitIDGTE(v string) predicate.TimelineEvent

CommitIDGTE applies the GTE predicate on the "commit_id" field.

func CommitIDHasPrefix

func CommitIDHasPrefix(v string) predicate.TimelineEvent

CommitIDHasPrefix applies the HasPrefix predicate on the "commit_id" field.

func CommitIDHasSuffix

func CommitIDHasSuffix(v string) predicate.TimelineEvent

CommitIDHasSuffix applies the HasSuffix predicate on the "commit_id" field.

func CommitIDIn

func CommitIDIn(vs ...string) predicate.TimelineEvent

CommitIDIn applies the In predicate on the "commit_id" field.

func CommitIDIsNil

func CommitIDIsNil() predicate.TimelineEvent

CommitIDIsNil applies the IsNil predicate on the "commit_id" field.

func CommitIDLT

func CommitIDLT(v string) predicate.TimelineEvent

CommitIDLT applies the LT predicate on the "commit_id" field.

func CommitIDLTE

func CommitIDLTE(v string) predicate.TimelineEvent

CommitIDLTE applies the LTE predicate on the "commit_id" field.

func CommitIDNEQ

func CommitIDNEQ(v string) predicate.TimelineEvent

CommitIDNEQ applies the NEQ predicate on the "commit_id" field.

func CommitIDNotIn

func CommitIDNotIn(vs ...string) predicate.TimelineEvent

CommitIDNotIn applies the NotIn predicate on the "commit_id" field.

func CommitIDNotNil

func CommitIDNotNil() predicate.TimelineEvent

CommitIDNotNil applies the NotNil predicate on the "commit_id" field.

func CommitURL

func CommitURL(v string) predicate.TimelineEvent

CommitURL applies equality check predicate on the "commit_url" field. It's identical to CommitURLEQ.

func CommitURLContains

func CommitURLContains(v string) predicate.TimelineEvent

CommitURLContains applies the Contains predicate on the "commit_url" field.

func CommitURLContainsFold

func CommitURLContainsFold(v string) predicate.TimelineEvent

CommitURLContainsFold applies the ContainsFold predicate on the "commit_url" field.

func CommitURLEQ

func CommitURLEQ(v string) predicate.TimelineEvent

CommitURLEQ applies the EQ predicate on the "commit_url" field.

func CommitURLEqualFold

func CommitURLEqualFold(v string) predicate.TimelineEvent

CommitURLEqualFold applies the EqualFold predicate on the "commit_url" field.

func CommitURLGT

func CommitURLGT(v string) predicate.TimelineEvent

CommitURLGT applies the GT predicate on the "commit_url" field.

func CommitURLGTE

func CommitURLGTE(v string) predicate.TimelineEvent

CommitURLGTE applies the GTE predicate on the "commit_url" field.

func CommitURLHasPrefix

func CommitURLHasPrefix(v string) predicate.TimelineEvent

CommitURLHasPrefix applies the HasPrefix predicate on the "commit_url" field.

func CommitURLHasSuffix

func CommitURLHasSuffix(v string) predicate.TimelineEvent

CommitURLHasSuffix applies the HasSuffix predicate on the "commit_url" field.

func CommitURLIn

func CommitURLIn(vs ...string) predicate.TimelineEvent

CommitURLIn applies the In predicate on the "commit_url" field.

func CommitURLIsNil

func CommitURLIsNil() predicate.TimelineEvent

CommitURLIsNil applies the IsNil predicate on the "commit_url" field.

func CommitURLLT

func CommitURLLT(v string) predicate.TimelineEvent

CommitURLLT applies the LT predicate on the "commit_url" field.

func CommitURLLTE

func CommitURLLTE(v string) predicate.TimelineEvent

CommitURLLTE applies the LTE predicate on the "commit_url" field.

func CommitURLNEQ

func CommitURLNEQ(v string) predicate.TimelineEvent

CommitURLNEQ applies the NEQ predicate on the "commit_url" field.

func CommitURLNotIn

func CommitURLNotIn(vs ...string) predicate.TimelineEvent

CommitURLNotIn applies the NotIn predicate on the "commit_url" field.

func CommitURLNotNil

func CommitURLNotNil() predicate.TimelineEvent

CommitURLNotNil applies the NotNil predicate on the "commit_url" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.TimelineEvent

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.TimelineEvent

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.TimelineEvent

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.TimelineEvent

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.TimelineEvent

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.TimelineEvent

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.TimelineEvent

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.TimelineEvent

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.TimelineEvent

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func Event

Event applies equality check predicate on the "event" field. It's identical to EventEQ.

func EventContains

func EventContains(v string) predicate.TimelineEvent

EventContains applies the Contains predicate on the "event" field.

func EventContainsFold

func EventContainsFold(v string) predicate.TimelineEvent

EventContainsFold applies the ContainsFold predicate on the "event" field.

func EventEQ

func EventEQ(v string) predicate.TimelineEvent

EventEQ applies the EQ predicate on the "event" field.

func EventEqualFold

func EventEqualFold(v string) predicate.TimelineEvent

EventEqualFold applies the EqualFold predicate on the "event" field.

func EventGT

func EventGT(v string) predicate.TimelineEvent

EventGT applies the GT predicate on the "event" field.

func EventGTE

func EventGTE(v string) predicate.TimelineEvent

EventGTE applies the GTE predicate on the "event" field.

func EventHasPrefix

func EventHasPrefix(v string) predicate.TimelineEvent

EventHasPrefix applies the HasPrefix predicate on the "event" field.

func EventHasSuffix

func EventHasSuffix(v string) predicate.TimelineEvent

EventHasSuffix applies the HasSuffix predicate on the "event" field.

func EventIn

func EventIn(vs ...string) predicate.TimelineEvent

EventIn applies the In predicate on the "event" field.

func EventLT

func EventLT(v string) predicate.TimelineEvent

EventLT applies the LT predicate on the "event" field.

func EventLTE

func EventLTE(v string) predicate.TimelineEvent

EventLTE applies the LTE predicate on the "event" field.

func EventNEQ

func EventNEQ(v string) predicate.TimelineEvent

EventNEQ applies the NEQ predicate on the "event" field.

func EventNotIn

func EventNotIn(vs ...string) predicate.TimelineEvent

EventNotIn applies the NotIn predicate on the "event" field.

func HasActor

func HasActor() predicate.TimelineEvent

HasActor applies the HasEdge predicate on the "actor" edge.

func HasActorWith

func HasActorWith(preds ...predicate.User) predicate.TimelineEvent

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

func HasIssue

func HasIssue() predicate.TimelineEvent

HasIssue applies the HasEdge predicate on the "issue" edge.

func HasIssueWith

func HasIssueWith(preds ...predicate.Issue) predicate.TimelineEvent

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int64) predicate.TimelineEvent

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int64) predicate.TimelineEvent

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int64) predicate.TimelineEvent

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int64) predicate.TimelineEvent

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int64) predicate.TimelineEvent

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int64) predicate.TimelineEvent

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int64) predicate.TimelineEvent

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int64) predicate.TimelineEvent

IDNotIn applies the NotIn predicate on the ID field.

func NodeID

func NodeID(v string) predicate.TimelineEvent

NodeID applies equality check predicate on the "node_id" field. It's identical to NodeIDEQ.

func NodeIDContains

func NodeIDContains(v string) predicate.TimelineEvent

NodeIDContains applies the Contains predicate on the "node_id" field.

func NodeIDContainsFold

func NodeIDContainsFold(v string) predicate.TimelineEvent

NodeIDContainsFold applies the ContainsFold predicate on the "node_id" field.

func NodeIDEQ

func NodeIDEQ(v string) predicate.TimelineEvent

NodeIDEQ applies the EQ predicate on the "node_id" field.

func NodeIDEqualFold

func NodeIDEqualFold(v string) predicate.TimelineEvent

NodeIDEqualFold applies the EqualFold predicate on the "node_id" field.

func NodeIDGT

func NodeIDGT(v string) predicate.TimelineEvent

NodeIDGT applies the GT predicate on the "node_id" field.

func NodeIDGTE

func NodeIDGTE(v string) predicate.TimelineEvent

NodeIDGTE applies the GTE predicate on the "node_id" field.

func NodeIDHasPrefix

func NodeIDHasPrefix(v string) predicate.TimelineEvent

NodeIDHasPrefix applies the HasPrefix predicate on the "node_id" field.

func NodeIDHasSuffix

func NodeIDHasSuffix(v string) predicate.TimelineEvent

NodeIDHasSuffix applies the HasSuffix predicate on the "node_id" field.

func NodeIDIn

func NodeIDIn(vs ...string) predicate.TimelineEvent

NodeIDIn applies the In predicate on the "node_id" field.

func NodeIDLT

func NodeIDLT(v string) predicate.TimelineEvent

NodeIDLT applies the LT predicate on the "node_id" field.

func NodeIDLTE

func NodeIDLTE(v string) predicate.TimelineEvent

NodeIDLTE applies the LTE predicate on the "node_id" field.

func NodeIDNEQ

func NodeIDNEQ(v string) predicate.TimelineEvent

NodeIDNEQ applies the NEQ predicate on the "node_id" field.

func NodeIDNotIn

func NodeIDNotIn(vs ...string) predicate.TimelineEvent

NodeIDNotIn applies the NotIn predicate on the "node_id" field.

func Not

Not applies the not operator on the given predicate.

func NumericID

func NumericID(v int64) predicate.TimelineEvent

NumericID applies equality check predicate on the "numeric_id" field. It's identical to NumericIDEQ.

func NumericIDEQ

func NumericIDEQ(v int64) predicate.TimelineEvent

NumericIDEQ applies the EQ predicate on the "numeric_id" field.

func NumericIDGT

func NumericIDGT(v int64) predicate.TimelineEvent

NumericIDGT applies the GT predicate on the "numeric_id" field.

func NumericIDGTE

func NumericIDGTE(v int64) predicate.TimelineEvent

NumericIDGTE applies the GTE predicate on the "numeric_id" field.

func NumericIDIn

func NumericIDIn(vs ...int64) predicate.TimelineEvent

NumericIDIn applies the In predicate on the "numeric_id" field.

func NumericIDLT

func NumericIDLT(v int64) predicate.TimelineEvent

NumericIDLT applies the LT predicate on the "numeric_id" field.

func NumericIDLTE

func NumericIDLTE(v int64) predicate.TimelineEvent

NumericIDLTE applies the LTE predicate on the "numeric_id" field.

func NumericIDNEQ

func NumericIDNEQ(v int64) predicate.TimelineEvent

NumericIDNEQ applies the NEQ predicate on the "numeric_id" field.

func NumericIDNotIn

func NumericIDNotIn(vs ...int64) predicate.TimelineEvent

NumericIDNotIn applies the NotIn predicate on the "numeric_id" field.

func Or

Or groups predicates with the OR operator between them.

func URL

URL applies equality check predicate on the "url" field. It's identical to URLEQ.

func URLContains

func URLContains(v string) predicate.TimelineEvent

URLContains applies the Contains predicate on the "url" field.

func URLContainsFold

func URLContainsFold(v string) predicate.TimelineEvent

URLContainsFold applies the ContainsFold predicate on the "url" field.

func URLEQ

URLEQ applies the EQ predicate on the "url" field.

func URLEqualFold

func URLEqualFold(v string) predicate.TimelineEvent

URLEqualFold applies the EqualFold predicate on the "url" field.

func URLGT

URLGT applies the GT predicate on the "url" field.

func URLGTE

func URLGTE(v string) predicate.TimelineEvent

URLGTE applies the GTE predicate on the "url" field.

func URLHasPrefix

func URLHasPrefix(v string) predicate.TimelineEvent

URLHasPrefix applies the HasPrefix predicate on the "url" field.

func URLHasSuffix

func URLHasSuffix(v string) predicate.TimelineEvent

URLHasSuffix applies the HasSuffix predicate on the "url" field.

func URLIn

func URLIn(vs ...string) predicate.TimelineEvent

URLIn applies the In predicate on the "url" field.

func URLLT

URLLT applies the LT predicate on the "url" field.

func URLLTE

func URLLTE(v string) predicate.TimelineEvent

URLLTE applies the LTE predicate on the "url" field.

func URLNEQ

func URLNEQ(v string) predicate.TimelineEvent

URLNEQ applies the NEQ predicate on the "url" field.

func URLNotIn

func URLNotIn(vs ...string) predicate.TimelineEvent

URLNotIn applies the NotIn predicate on the "url" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the TimelineEvent queries.

func ByActorField

func ByActorField(field string, opts ...sql.OrderTermOption) OrderOption

ByActorField orders the results by actor field.

func ByCommitID

func ByCommitID(opts ...sql.OrderTermOption) OrderOption

ByCommitID orders the results by the commit_id field.

func ByCommitURL

func ByCommitURL(opts ...sql.OrderTermOption) OrderOption

ByCommitURL orders the results by the commit_url field.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByEvent

func ByEvent(opts ...sql.OrderTermOption) OrderOption

ByEvent orders the results by the event field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByIssueField

func ByIssueField(field string, opts ...sql.OrderTermOption) OrderOption

ByIssueField orders the results by issue field.

func ByNodeID

func ByNodeID(opts ...sql.OrderTermOption) OrderOption

ByNodeID orders the results by the node_id field.

func ByNumericID

func ByNumericID(opts ...sql.OrderTermOption) OrderOption

ByNumericID orders the results by the numeric_id field.

func ByURL

func ByURL(opts ...sql.OrderTermOption) OrderOption

ByURL orders the results by the url field.

Jump to

Keyboard shortcuts

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