check

package
v0.0.0-...-5feaf8d Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the check type in the database.
	Label = "check"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldRepoID holds the string denoting the repo_id field in the database.
	FieldRepoID = "repo_id"
	// FieldPullRequestID holds the string denoting the pull_request_id field in the database.
	FieldPullRequestID = "pull_request_id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldConclusion holds the string denoting the conclusion field in the database.
	FieldConclusion = "conclusion"
	// Table holds the table name of the check in the database.
	Table = "checks"
)

Variables

Columns holds all SQL columns for check fields.

Functions

func And

func And(predicates ...predicate.Check) predicate.Check

And groups predicates with the AND operator between them.

func Conclusion

func Conclusion(v string) predicate.Check

Conclusion applies equality check predicate on the "conclusion" field. It's identical to ConclusionEQ.

func ConclusionContains

func ConclusionContains(v string) predicate.Check

ConclusionContains applies the Contains predicate on the "conclusion" field.

func ConclusionContainsFold

func ConclusionContainsFold(v string) predicate.Check

ConclusionContainsFold applies the ContainsFold predicate on the "conclusion" field.

func ConclusionEQ

func ConclusionEQ(v string) predicate.Check

ConclusionEQ applies the EQ predicate on the "conclusion" field.

func ConclusionEqualFold

func ConclusionEqualFold(v string) predicate.Check

ConclusionEqualFold applies the EqualFold predicate on the "conclusion" field.

func ConclusionGT

func ConclusionGT(v string) predicate.Check

ConclusionGT applies the GT predicate on the "conclusion" field.

func ConclusionGTE

func ConclusionGTE(v string) predicate.Check

ConclusionGTE applies the GTE predicate on the "conclusion" field.

func ConclusionHasPrefix

func ConclusionHasPrefix(v string) predicate.Check

ConclusionHasPrefix applies the HasPrefix predicate on the "conclusion" field.

func ConclusionHasSuffix

func ConclusionHasSuffix(v string) predicate.Check

ConclusionHasSuffix applies the HasSuffix predicate on the "conclusion" field.

func ConclusionIn

func ConclusionIn(vs ...string) predicate.Check

ConclusionIn applies the In predicate on the "conclusion" field.

func ConclusionIsNil

func ConclusionIsNil() predicate.Check

ConclusionIsNil applies the IsNil predicate on the "conclusion" field.

func ConclusionLT

func ConclusionLT(v string) predicate.Check

ConclusionLT applies the LT predicate on the "conclusion" field.

func ConclusionLTE

func ConclusionLTE(v string) predicate.Check

ConclusionLTE applies the LTE predicate on the "conclusion" field.

func ConclusionNEQ

func ConclusionNEQ(v string) predicate.Check

ConclusionNEQ applies the NEQ predicate on the "conclusion" field.

func ConclusionNotIn

func ConclusionNotIn(vs ...string) predicate.Check

ConclusionNotIn applies the NotIn predicate on the "conclusion" field.

func ConclusionNotNil

func ConclusionNotNil() predicate.Check

ConclusionNotNil applies the NotNil predicate on the "conclusion" field.

func ID

func ID(id int64) predicate.Check

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int64) predicate.Check

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int64) predicate.Check

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int64) predicate.Check

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int64) predicate.Check

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int64) predicate.Check

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int64) predicate.Check

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Name

func Name(v string) predicate.Check

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Check

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Check

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.Check

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Check

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.Check

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.Check

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Check

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Check

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.Check

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Check

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.Check

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.Check

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Check

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Check) predicate.Check

Or groups predicates with the OR operator between them.

func PullRequestID

func PullRequestID(v int) predicate.Check

PullRequestID applies equality check predicate on the "pull_request_id" field. It's identical to PullRequestIDEQ.

func PullRequestIDEQ

func PullRequestIDEQ(v int) predicate.Check

PullRequestIDEQ applies the EQ predicate on the "pull_request_id" field.

func PullRequestIDGT

func PullRequestIDGT(v int) predicate.Check

PullRequestIDGT applies the GT predicate on the "pull_request_id" field.

func PullRequestIDGTE

func PullRequestIDGTE(v int) predicate.Check

PullRequestIDGTE applies the GTE predicate on the "pull_request_id" field.

func PullRequestIDIn

func PullRequestIDIn(vs ...int) predicate.Check

PullRequestIDIn applies the In predicate on the "pull_request_id" field.

func PullRequestIDLT

func PullRequestIDLT(v int) predicate.Check

PullRequestIDLT applies the LT predicate on the "pull_request_id" field.

func PullRequestIDLTE

func PullRequestIDLTE(v int) predicate.Check

PullRequestIDLTE applies the LTE predicate on the "pull_request_id" field.

func PullRequestIDNEQ

func PullRequestIDNEQ(v int) predicate.Check

PullRequestIDNEQ applies the NEQ predicate on the "pull_request_id" field.

func PullRequestIDNotIn

func PullRequestIDNotIn(vs ...int) predicate.Check

PullRequestIDNotIn applies the NotIn predicate on the "pull_request_id" field.

func RepoID

func RepoID(v int64) predicate.Check

RepoID applies equality check predicate on the "repo_id" field. It's identical to RepoIDEQ.

func RepoIDEQ

func RepoIDEQ(v int64) predicate.Check

RepoIDEQ applies the EQ predicate on the "repo_id" field.

func RepoIDGT

func RepoIDGT(v int64) predicate.Check

RepoIDGT applies the GT predicate on the "repo_id" field.

func RepoIDGTE

func RepoIDGTE(v int64) predicate.Check

RepoIDGTE applies the GTE predicate on the "repo_id" field.

func RepoIDIn

func RepoIDIn(vs ...int64) predicate.Check

RepoIDIn applies the In predicate on the "repo_id" field.

func RepoIDLT

func RepoIDLT(v int64) predicate.Check

RepoIDLT applies the LT predicate on the "repo_id" field.

func RepoIDLTE

func RepoIDLTE(v int64) predicate.Check

RepoIDLTE applies the LTE predicate on the "repo_id" field.

func RepoIDNEQ

func RepoIDNEQ(v int64) predicate.Check

RepoIDNEQ applies the NEQ predicate on the "repo_id" field.

func RepoIDNotIn

func RepoIDNotIn(vs ...int64) predicate.Check

RepoIDNotIn applies the NotIn predicate on the "repo_id" field.

func Status

func Status(v string) predicate.Check

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusContains

func StatusContains(v string) predicate.Check

StatusContains applies the Contains predicate on the "status" field.

func StatusContainsFold

func StatusContainsFold(v string) predicate.Check

StatusContainsFold applies the ContainsFold predicate on the "status" field.

func StatusEQ

func StatusEQ(v string) predicate.Check

StatusEQ applies the EQ predicate on the "status" field.

func StatusEqualFold

func StatusEqualFold(v string) predicate.Check

StatusEqualFold applies the EqualFold predicate on the "status" field.

func StatusGT

func StatusGT(v string) predicate.Check

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v string) predicate.Check

StatusGTE applies the GTE predicate on the "status" field.

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.Check

StatusHasPrefix applies the HasPrefix predicate on the "status" field.

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.Check

StatusHasSuffix applies the HasSuffix predicate on the "status" field.

func StatusIn

func StatusIn(vs ...string) predicate.Check

StatusIn applies the In predicate on the "status" field.

func StatusLT

func StatusLT(v string) predicate.Check

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v string) predicate.Check

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v string) predicate.Check

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...string) predicate.Check

StatusNotIn applies the NotIn predicate on the "status" 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 Check queries.

func ByConclusion

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

ByConclusion orders the results by the conclusion field.

func ByID

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

ByID orders the results by the id field.

func ByName

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

ByName orders the results by the name field.

func ByPullRequestID

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

ByPullRequestID orders the results by the pull_request_id field.

func ByRepoID

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

ByRepoID orders the results by the repo_id field.

func ByStatus

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

ByStatus orders the results by the status field.

Jump to

Keyboard shortcuts

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