Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Check) predicate.Check
- func Conclusion(v string) predicate.Check
- func ConclusionContains(v string) predicate.Check
- func ConclusionContainsFold(v string) predicate.Check
- func ConclusionEQ(v string) predicate.Check
- func ConclusionEqualFold(v string) predicate.Check
- func ConclusionGT(v string) predicate.Check
- func ConclusionGTE(v string) predicate.Check
- func ConclusionHasPrefix(v string) predicate.Check
- func ConclusionHasSuffix(v string) predicate.Check
- func ConclusionIn(vs ...string) predicate.Check
- func ConclusionIsNil() predicate.Check
- func ConclusionLT(v string) predicate.Check
- func ConclusionLTE(v string) predicate.Check
- func ConclusionNEQ(v string) predicate.Check
- func ConclusionNotIn(vs ...string) predicate.Check
- func ConclusionNotNil() predicate.Check
- func ID(id int64) predicate.Check
- func IDEQ(id int64) predicate.Check
- func IDGT(id int64) predicate.Check
- func IDGTE(id int64) predicate.Check
- func IDIn(ids ...int64) predicate.Check
- func IDLT(id int64) predicate.Check
- func IDLTE(id int64) predicate.Check
- func IDNEQ(id int64) predicate.Check
- func IDNotIn(ids ...int64) predicate.Check
- func Name(v string) predicate.Check
- func NameContains(v string) predicate.Check
- func NameContainsFold(v string) predicate.Check
- func NameEQ(v string) predicate.Check
- func NameEqualFold(v string) predicate.Check
- func NameGT(v string) predicate.Check
- func NameGTE(v string) predicate.Check
- func NameHasPrefix(v string) predicate.Check
- func NameHasSuffix(v string) predicate.Check
- func NameIn(vs ...string) predicate.Check
- func NameLT(v string) predicate.Check
- func NameLTE(v string) predicate.Check
- func NameNEQ(v string) predicate.Check
- func NameNotIn(vs ...string) predicate.Check
- func Not(p predicate.Check) predicate.Check
- func Or(predicates ...predicate.Check) predicate.Check
- func PullRequestID(v int) predicate.Check
- func PullRequestIDEQ(v int) predicate.Check
- func PullRequestIDGT(v int) predicate.Check
- func PullRequestIDGTE(v int) predicate.Check
- func PullRequestIDIn(vs ...int) predicate.Check
- func PullRequestIDLT(v int) predicate.Check
- func PullRequestIDLTE(v int) predicate.Check
- func PullRequestIDNEQ(v int) predicate.Check
- func PullRequestIDNotIn(vs ...int) predicate.Check
- func RepoID(v int64) predicate.Check
- func RepoIDEQ(v int64) predicate.Check
- func RepoIDGT(v int64) predicate.Check
- func RepoIDGTE(v int64) predicate.Check
- func RepoIDIn(vs ...int64) predicate.Check
- func RepoIDLT(v int64) predicate.Check
- func RepoIDLTE(v int64) predicate.Check
- func RepoIDNEQ(v int64) predicate.Check
- func RepoIDNotIn(vs ...int64) predicate.Check
- func Status(v string) predicate.Check
- func StatusContains(v string) predicate.Check
- func StatusContainsFold(v string) predicate.Check
- func StatusEQ(v string) predicate.Check
- func StatusEqualFold(v string) predicate.Check
- func StatusGT(v string) predicate.Check
- func StatusGTE(v string) predicate.Check
- func StatusHasPrefix(v string) predicate.Check
- func StatusHasSuffix(v string) predicate.Check
- func StatusIn(vs ...string) predicate.Check
- func StatusLT(v string) predicate.Check
- func StatusLTE(v string) predicate.Check
- func StatusNEQ(v string) predicate.Check
- func StatusNotIn(vs ...string) predicate.Check
- func ValidColumn(column string) bool
- type OrderOption
- func ByConclusion(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByPullRequestID(opts ...sql.OrderTermOption) OrderOption
- func ByRepoID(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
var Columns = []string{ FieldID, FieldRepoID, FieldPullRequestID, FieldName, FieldStatus, FieldConclusion, }
Columns holds all SQL columns for check fields.
Functions ¶
func Conclusion ¶
Conclusion applies equality check predicate on the "conclusion" field. It's identical to ConclusionEQ.
func ConclusionContains ¶
ConclusionContains applies the Contains predicate on the "conclusion" field.
func ConclusionContainsFold ¶
ConclusionContainsFold applies the ContainsFold predicate on the "conclusion" field.
func ConclusionEQ ¶
ConclusionEQ applies the EQ predicate on the "conclusion" field.
func ConclusionEqualFold ¶
ConclusionEqualFold applies the EqualFold predicate on the "conclusion" field.
func ConclusionGT ¶
ConclusionGT applies the GT predicate on the "conclusion" field.
func ConclusionGTE ¶
ConclusionGTE applies the GTE predicate on the "conclusion" field.
func ConclusionHasPrefix ¶
ConclusionHasPrefix applies the HasPrefix predicate on the "conclusion" field.
func ConclusionHasSuffix ¶
ConclusionHasSuffix applies the HasSuffix predicate on the "conclusion" field.
func ConclusionIn ¶
ConclusionIn applies the In predicate on the "conclusion" field.
func ConclusionIsNil ¶
ConclusionIsNil applies the IsNil predicate on the "conclusion" field.
func ConclusionLT ¶
ConclusionLT applies the LT predicate on the "conclusion" field.
func ConclusionLTE ¶
ConclusionLTE applies the LTE predicate on the "conclusion" field.
func ConclusionNEQ ¶
ConclusionNEQ applies the NEQ predicate on the "conclusion" field.
func ConclusionNotIn ¶
ConclusionNotIn applies the NotIn predicate on the "conclusion" field.
func ConclusionNotNil ¶
ConclusionNotNil applies the NotNil predicate on the "conclusion" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func PullRequestID ¶
PullRequestID applies equality check predicate on the "pull_request_id" field. It's identical to PullRequestIDEQ.
func PullRequestIDEQ ¶
PullRequestIDEQ applies the EQ predicate on the "pull_request_id" field.
func PullRequestIDGT ¶
PullRequestIDGT applies the GT predicate on the "pull_request_id" field.
func PullRequestIDGTE ¶
PullRequestIDGTE applies the GTE predicate on the "pull_request_id" field.
func PullRequestIDIn ¶
PullRequestIDIn applies the In predicate on the "pull_request_id" field.
func PullRequestIDLT ¶
PullRequestIDLT applies the LT predicate on the "pull_request_id" field.
func PullRequestIDLTE ¶
PullRequestIDLTE applies the LTE predicate on the "pull_request_id" field.
func PullRequestIDNEQ ¶
PullRequestIDNEQ applies the NEQ predicate on the "pull_request_id" field.
func PullRequestIDNotIn ¶
PullRequestIDNotIn applies the NotIn predicate on the "pull_request_id" field.
func RepoID ¶
RepoID applies equality check predicate on the "repo_id" field. It's identical to RepoIDEQ.
func RepoIDNotIn ¶
RepoIDNotIn applies the NotIn predicate on the "repo_id" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusContains ¶
StatusContains applies the Contains predicate on the "status" field.
func StatusContainsFold ¶
StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusEqualFold ¶
StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusHasPrefix ¶
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasSuffix ¶
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.