Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ReleasePolicyViolation) predicate.ReleasePolicyViolation
- func HasPolicy() predicate.ReleasePolicyViolation
- func HasPolicyWith(preds ...predicate.ReleasePolicy) predicate.ReleasePolicyViolation
- func HasRelease() predicate.ReleasePolicyViolation
- func HasReleaseWith(preds ...predicate.Release) predicate.ReleasePolicyViolation
- func ID(id int) predicate.ReleasePolicyViolation
- func IDEQ(id int) predicate.ReleasePolicyViolation
- func IDGT(id int) predicate.ReleasePolicyViolation
- func IDGTE(id int) predicate.ReleasePolicyViolation
- func IDIn(ids ...int) predicate.ReleasePolicyViolation
- func IDLT(id int) predicate.ReleasePolicyViolation
- func IDLTE(id int) predicate.ReleasePolicyViolation
- func IDNEQ(id int) predicate.ReleasePolicyViolation
- func IDNotIn(ids ...int) predicate.ReleasePolicyViolation
- func Message(v string) predicate.ReleasePolicyViolation
- func MessageContains(v string) predicate.ReleasePolicyViolation
- func MessageContainsFold(v string) predicate.ReleasePolicyViolation
- func MessageEQ(v string) predicate.ReleasePolicyViolation
- func MessageEqualFold(v string) predicate.ReleasePolicyViolation
- func MessageGT(v string) predicate.ReleasePolicyViolation
- func MessageGTE(v string) predicate.ReleasePolicyViolation
- func MessageHasPrefix(v string) predicate.ReleasePolicyViolation
- func MessageHasSuffix(v string) predicate.ReleasePolicyViolation
- func MessageIn(vs ...string) predicate.ReleasePolicyViolation
- func MessageLT(v string) predicate.ReleasePolicyViolation
- func MessageLTE(v string) predicate.ReleasePolicyViolation
- func MessageNEQ(v string) predicate.ReleasePolicyViolation
- func MessageNotIn(vs ...string) predicate.ReleasePolicyViolation
- func Not(p predicate.ReleasePolicyViolation) predicate.ReleasePolicyViolation
- func Or(predicates ...predicate.ReleasePolicyViolation) predicate.ReleasePolicyViolation
- func SeverityEQ(v Severity) predicate.ReleasePolicyViolation
- func SeverityIn(vs ...Severity) predicate.ReleasePolicyViolation
- func SeverityNEQ(v Severity) predicate.ReleasePolicyViolation
- func SeverityNotIn(vs ...Severity) predicate.ReleasePolicyViolation
- func SeverityValidator(s Severity) error
- func TypeEQ(v Type) predicate.ReleasePolicyViolation
- func TypeIn(vs ...Type) predicate.ReleasePolicyViolation
- func TypeNEQ(v Type) predicate.ReleasePolicyViolation
- func TypeNotIn(vs ...Type) predicate.ReleasePolicyViolation
- func TypeValidator(_type Type) error
- func ValidColumn(column string) bool
- type Severity
- type Type
Constants ¶
const ( // Label holds the string label denoting the releasepolicyviolation type in the database. Label = "release_policy_violation" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldMessage holds the string denoting the message field in the database. FieldMessage = "message" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldSeverity holds the string denoting the severity field in the database. FieldSeverity = "severity" // EdgePolicy holds the string denoting the policy edge name in mutations. EdgePolicy = "policy" // EdgeRelease holds the string denoting the release edge name in mutations. EdgeRelease = "release" // Table holds the table name of the releasepolicyviolation in the database. Table = "release_policy_violation" // PolicyTable is the table that holds the policy relation/edge. PolicyTable = "release_policy_violation" // PolicyInverseTable is the table name for the ReleasePolicy entity. // It exists in this package in order to avoid circular dependency with the "releasepolicy" package. PolicyInverseTable = "release_policy" // PolicyColumn is the table column denoting the policy relation/edge. PolicyColumn = "release_policy_violation_policy" // ReleaseTable is the table that holds the release relation/edge. ReleaseTable = "release_policy_violation" // ReleaseInverseTable is the table name for the Release entity. // It exists in this package in order to avoid circular dependency with the "release" package. ReleaseInverseTable = "release" // ReleaseColumn is the table column denoting the release relation/edge. ReleaseColumn = "release_policy_violation_release" )
Variables ¶
var Columns = []string{ FieldID, FieldMessage, FieldType, FieldSeverity, }
Columns holds all SQL columns for releasepolicyviolation fields.
var ForeignKeys = []string{
"release_policy_violation_policy",
"release_policy_violation_release",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "release_policy_violation" table and are not defined as standalone fields in the schema.
var ( // MessageValidator is a validator for the "message" field. It is called by the builders before save. MessageValidator func(string) error )
Functions ¶
func And ¶
func And(predicates ...predicate.ReleasePolicyViolation) predicate.ReleasePolicyViolation
And groups predicates with the AND operator between them.
func HasPolicy ¶
func HasPolicy() predicate.ReleasePolicyViolation
HasPolicy applies the HasEdge predicate on the "policy" edge.
func HasPolicyWith ¶
func HasPolicyWith(preds ...predicate.ReleasePolicy) predicate.ReleasePolicyViolation
HasPolicyWith applies the HasEdge predicate on the "policy" edge with a given conditions (other predicates).
func HasRelease ¶
func HasRelease() predicate.ReleasePolicyViolation
HasRelease applies the HasEdge predicate on the "release" edge.
func HasReleaseWith ¶
func HasReleaseWith(preds ...predicate.Release) predicate.ReleasePolicyViolation
HasReleaseWith applies the HasEdge predicate on the "release" edge with a given conditions (other predicates).
func ID ¶
func ID(id int) predicate.ReleasePolicyViolation
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int) predicate.ReleasePolicyViolation
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.ReleasePolicyViolation
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.ReleasePolicyViolation
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.ReleasePolicyViolation
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.ReleasePolicyViolation
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.ReleasePolicyViolation
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.ReleasePolicyViolation
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.ReleasePolicyViolation
IDNotIn applies the NotIn predicate on the ID field.
func Message ¶
func Message(v string) predicate.ReleasePolicyViolation
Message applies equality check predicate on the "message" field. It's identical to MessageEQ.
func MessageContains ¶
func MessageContains(v string) predicate.ReleasePolicyViolation
MessageContains applies the Contains predicate on the "message" field.
func MessageContainsFold ¶
func MessageContainsFold(v string) predicate.ReleasePolicyViolation
MessageContainsFold applies the ContainsFold predicate on the "message" field.
func MessageEQ ¶
func MessageEQ(v string) predicate.ReleasePolicyViolation
MessageEQ applies the EQ predicate on the "message" field.
func MessageEqualFold ¶
func MessageEqualFold(v string) predicate.ReleasePolicyViolation
MessageEqualFold applies the EqualFold predicate on the "message" field.
func MessageGT ¶
func MessageGT(v string) predicate.ReleasePolicyViolation
MessageGT applies the GT predicate on the "message" field.
func MessageGTE ¶
func MessageGTE(v string) predicate.ReleasePolicyViolation
MessageGTE applies the GTE predicate on the "message" field.
func MessageHasPrefix ¶
func MessageHasPrefix(v string) predicate.ReleasePolicyViolation
MessageHasPrefix applies the HasPrefix predicate on the "message" field.
func MessageHasSuffix ¶
func MessageHasSuffix(v string) predicate.ReleasePolicyViolation
MessageHasSuffix applies the HasSuffix predicate on the "message" field.
func MessageIn ¶
func MessageIn(vs ...string) predicate.ReleasePolicyViolation
MessageIn applies the In predicate on the "message" field.
func MessageLT ¶
func MessageLT(v string) predicate.ReleasePolicyViolation
MessageLT applies the LT predicate on the "message" field.
func MessageLTE ¶
func MessageLTE(v string) predicate.ReleasePolicyViolation
MessageLTE applies the LTE predicate on the "message" field.
func MessageNEQ ¶
func MessageNEQ(v string) predicate.ReleasePolicyViolation
MessageNEQ applies the NEQ predicate on the "message" field.
func MessageNotIn ¶
func MessageNotIn(vs ...string) predicate.ReleasePolicyViolation
MessageNotIn applies the NotIn predicate on the "message" field.
func Or ¶
func Or(predicates ...predicate.ReleasePolicyViolation) predicate.ReleasePolicyViolation
Or groups predicates with the OR operator between them.
func SeverityEQ ¶
func SeverityEQ(v Severity) predicate.ReleasePolicyViolation
SeverityEQ applies the EQ predicate on the "severity" field.
func SeverityIn ¶
func SeverityIn(vs ...Severity) predicate.ReleasePolicyViolation
SeverityIn applies the In predicate on the "severity" field.
func SeverityNEQ ¶
func SeverityNEQ(v Severity) predicate.ReleasePolicyViolation
SeverityNEQ applies the NEQ predicate on the "severity" field.
func SeverityNotIn ¶
func SeverityNotIn(vs ...Severity) predicate.ReleasePolicyViolation
SeverityNotIn applies the NotIn predicate on the "severity" field.
func SeverityValidator ¶
SeverityValidator is a validator for the "severity" field enum values. It is called by the builders before save.
func TypeEQ ¶
func TypeEQ(v Type) predicate.ReleasePolicyViolation
TypeEQ applies the EQ predicate on the "type" field.
func TypeIn ¶
func TypeIn(vs ...Type) predicate.ReleasePolicyViolation
TypeIn applies the In predicate on the "type" field.
func TypeNEQ ¶
func TypeNEQ(v Type) predicate.ReleasePolicyViolation
TypeNEQ applies the NEQ predicate on the "type" field.
func TypeNotIn ¶
func TypeNotIn(vs ...Type) predicate.ReleasePolicyViolation
TypeNotIn applies the NotIn predicate on the "type" field.
func TypeValidator ¶
TypeValidator is a validator for the "type" field enum values. It is called by the builders before save.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type Severity ¶
type Severity string
Severity defines the type for the "severity" enum field.
const ( SeveritySuggestion Severity = "suggestion" SeverityWarning Severity = "warning" SeverityBlocking Severity = "blocking" )
Severity values.
func (Severity) MarshalGQL ¶
MarshalGQL implements graphql.Marshaler interface.
func (*Severity) UnmarshalGQL ¶
UnmarshalGQL implements graphql.Unmarshaler interface.
type Type ¶
type Type string
Type defines the type for the "type" enum field.
func (Type) MarshalGQL ¶
MarshalGQL implements graphql.Marshaler interface.
func (*Type) UnmarshalGQL ¶
UnmarshalGQL implements graphql.Unmarshaler interface.