Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Outbox) predicate.Outbox
- func ID(id int) predicate.Outbox
- func IDEQ(id int) predicate.Outbox
- func IDGT(id int) predicate.Outbox
- func IDGTE(id int) predicate.Outbox
- func IDIn(ids ...int) predicate.Outbox
- func IDLT(id int) predicate.Outbox
- func IDLTE(id int) predicate.Outbox
- func IDNEQ(id int) predicate.Outbox
- func IDNotIn(ids ...int) predicate.Outbox
- func Key(v string) predicate.Outbox
- func KeyContains(v string) predicate.Outbox
- func KeyContainsFold(v string) predicate.Outbox
- func KeyEQ(v string) predicate.Outbox
- func KeyEqualFold(v string) predicate.Outbox
- func KeyGT(v string) predicate.Outbox
- func KeyGTE(v string) predicate.Outbox
- func KeyHasPrefix(v string) predicate.Outbox
- func KeyHasSuffix(v string) predicate.Outbox
- func KeyIn(vs ...string) predicate.Outbox
- func KeyLT(v string) predicate.Outbox
- func KeyLTE(v string) predicate.Outbox
- func KeyNEQ(v string) predicate.Outbox
- func KeyNotIn(vs ...string) predicate.Outbox
- func LastRetry(v time.Time) predicate.Outbox
- func LastRetryEQ(v time.Time) predicate.Outbox
- func LastRetryGT(v time.Time) predicate.Outbox
- func LastRetryGTE(v time.Time) predicate.Outbox
- func LastRetryIn(vs ...time.Time) predicate.Outbox
- func LastRetryIsNil() predicate.Outbox
- func LastRetryLT(v time.Time) predicate.Outbox
- func LastRetryLTE(v time.Time) predicate.Outbox
- func LastRetryNEQ(v time.Time) predicate.Outbox
- func LastRetryNotIn(vs ...time.Time) predicate.Outbox
- func LastRetryNotNil() predicate.Outbox
- func Not(p predicate.Outbox) predicate.Outbox
- func Or(predicates ...predicate.Outbox) predicate.Outbox
- func Payload(v []byte) predicate.Outbox
- func PayloadEQ(v []byte) predicate.Outbox
- func PayloadGT(v []byte) predicate.Outbox
- func PayloadGTE(v []byte) predicate.Outbox
- func PayloadIn(vs ...[]byte) predicate.Outbox
- func PayloadLT(v []byte) predicate.Outbox
- func PayloadLTE(v []byte) predicate.Outbox
- func PayloadNEQ(v []byte) predicate.Outbox
- func PayloadNotIn(vs ...[]byte) predicate.Outbox
- func ProcessingErrorsIsNil() predicate.Outbox
- func ProcessingErrorsNotNil() predicate.Outbox
- func RetryCount(v int) predicate.Outbox
- func RetryCountEQ(v int) predicate.Outbox
- func RetryCountGT(v int) predicate.Outbox
- func RetryCountGTE(v int) predicate.Outbox
- func RetryCountIn(vs ...int) predicate.Outbox
- func RetryCountLT(v int) predicate.Outbox
- func RetryCountLTE(v int) predicate.Outbox
- func RetryCountNEQ(v int) predicate.Outbox
- func RetryCountNotIn(vs ...int) predicate.Outbox
- func StatusEQ(v Status) predicate.Outbox
- func StatusIn(vs ...Status) predicate.Outbox
- func StatusNEQ(v Status) predicate.Outbox
- func StatusNotIn(vs ...Status) predicate.Outbox
- func StatusValidator(s Status) error
- func Timestamp(v time.Time) predicate.Outbox
- func TimestampEQ(v time.Time) predicate.Outbox
- func TimestampGT(v time.Time) predicate.Outbox
- func TimestampGTE(v time.Time) predicate.Outbox
- func TimestampIn(vs ...time.Time) predicate.Outbox
- func TimestampLT(v time.Time) predicate.Outbox
- func TimestampLTE(v time.Time) predicate.Outbox
- func TimestampNEQ(v time.Time) predicate.Outbox
- func TimestampNotIn(vs ...time.Time) predicate.Outbox
- func Topic(v string) predicate.Outbox
- func TopicContains(v string) predicate.Outbox
- func TopicContainsFold(v string) predicate.Outbox
- func TopicEQ(v string) predicate.Outbox
- func TopicEqualFold(v string) predicate.Outbox
- func TopicGT(v string) predicate.Outbox
- func TopicGTE(v string) predicate.Outbox
- func TopicHasPrefix(v string) predicate.Outbox
- func TopicHasSuffix(v string) predicate.Outbox
- func TopicIn(vs ...string) predicate.Outbox
- func TopicLT(v string) predicate.Outbox
- func TopicLTE(v string) predicate.Outbox
- func TopicNEQ(v string) predicate.Outbox
- func TopicNotIn(vs ...string) predicate.Outbox
- func ValidColumn(column string) bool
- type Status
Constants ¶
const ( // Label holds the string label denoting the outbox type in the database. Label = "outbox" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldTimestamp holds the string denoting the timestamp field in the database. FieldTimestamp = "timestamp" // FieldTopic holds the string denoting the topic field in the database. FieldTopic = "topic" // FieldKey holds the string denoting the key field in the database. FieldKey = "key" // FieldPayload holds the string denoting the payload field in the database. FieldPayload = "payload" // FieldHeaders holds the string denoting the headers field in the database. FieldHeaders = "headers" // FieldRetryCount holds the string denoting the retry_count field in the database. FieldRetryCount = "retry_count" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldLastRetry holds the string denoting the last_retry field in the database. FieldLastRetry = "last_retry" // FieldProcessingErrors holds the string denoting the processing_errors field in the database. FieldProcessingErrors = "processing_errors" // Table holds the table name of the outbox in the database. Table = "outboxes" )
Variables ¶
var Columns = []string{ FieldID, FieldTimestamp, FieldTopic, FieldKey, FieldPayload, FieldHeaders, FieldRetryCount, FieldStatus, FieldLastRetry, FieldProcessingErrors, }
Columns holds all SQL columns for outbox fields.
Functions ¶
func KeyContains ¶
KeyContains applies the Contains predicate on the "key" field.
func KeyContainsFold ¶
KeyContainsFold applies the ContainsFold predicate on the "key" field.
func KeyEqualFold ¶
KeyEqualFold applies the EqualFold predicate on the "key" field.
func KeyHasPrefix ¶
KeyHasPrefix applies the HasPrefix predicate on the "key" field.
func KeyHasSuffix ¶
KeyHasSuffix applies the HasSuffix predicate on the "key" field.
func LastRetry ¶
LastRetry applies equality check predicate on the "last_retry" field. It's identical to LastRetryEQ.
func LastRetryEQ ¶
LastRetryEQ applies the EQ predicate on the "last_retry" field.
func LastRetryGT ¶
LastRetryGT applies the GT predicate on the "last_retry" field.
func LastRetryGTE ¶
LastRetryGTE applies the GTE predicate on the "last_retry" field.
func LastRetryIn ¶
LastRetryIn applies the In predicate on the "last_retry" field.
func LastRetryIsNil ¶
LastRetryIsNil applies the IsNil predicate on the "last_retry" field.
func LastRetryLT ¶
LastRetryLT applies the LT predicate on the "last_retry" field.
func LastRetryLTE ¶
LastRetryLTE applies the LTE predicate on the "last_retry" field.
func LastRetryNEQ ¶
LastRetryNEQ applies the NEQ predicate on the "last_retry" field.
func LastRetryNotIn ¶
LastRetryNotIn applies the NotIn predicate on the "last_retry" field.
func LastRetryNotNil ¶
LastRetryNotNil applies the NotNil predicate on the "last_retry" field.
func Payload ¶
Payload applies equality check predicate on the "payload" field. It's identical to PayloadEQ.
func PayloadGTE ¶
PayloadGTE applies the GTE predicate on the "payload" field.
func PayloadLTE ¶
PayloadLTE applies the LTE predicate on the "payload" field.
func PayloadNEQ ¶
PayloadNEQ applies the NEQ predicate on the "payload" field.
func PayloadNotIn ¶
PayloadNotIn applies the NotIn predicate on the "payload" field.
func ProcessingErrorsIsNil ¶
ProcessingErrorsIsNil applies the IsNil predicate on the "processing_errors" field.
func ProcessingErrorsNotNil ¶
ProcessingErrorsNotNil applies the NotNil predicate on the "processing_errors" field.
func RetryCount ¶
RetryCount applies equality check predicate on the "retry_count" field. It's identical to RetryCountEQ.
func RetryCountEQ ¶
RetryCountEQ applies the EQ predicate on the "retry_count" field.
func RetryCountGT ¶
RetryCountGT applies the GT predicate on the "retry_count" field.
func RetryCountGTE ¶
RetryCountGTE applies the GTE predicate on the "retry_count" field.
func RetryCountIn ¶
RetryCountIn applies the In predicate on the "retry_count" field.
func RetryCountLT ¶
RetryCountLT applies the LT predicate on the "retry_count" field.
func RetryCountLTE ¶
RetryCountLTE applies the LTE predicate on the "retry_count" field.
func RetryCountNEQ ¶
RetryCountNEQ applies the NEQ predicate on the "retry_count" field.
func RetryCountNotIn ¶
RetryCountNotIn applies the NotIn predicate on the "retry_count" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func Timestamp ¶
Timestamp applies equality check predicate on the "timestamp" field. It's identical to TimestampEQ.
func TimestampEQ ¶
TimestampEQ applies the EQ predicate on the "timestamp" field.
func TimestampGT ¶
TimestampGT applies the GT predicate on the "timestamp" field.
func TimestampGTE ¶
TimestampGTE applies the GTE predicate on the "timestamp" field.
func TimestampIn ¶
TimestampIn applies the In predicate on the "timestamp" field.
func TimestampLT ¶
TimestampLT applies the LT predicate on the "timestamp" field.
func TimestampLTE ¶
TimestampLTE applies the LTE predicate on the "timestamp" field.
func TimestampNEQ ¶
TimestampNEQ applies the NEQ predicate on the "timestamp" field.
func TimestampNotIn ¶
TimestampNotIn applies the NotIn predicate on the "timestamp" field.
func Topic ¶
Topic applies equality check predicate on the "topic" field. It's identical to TopicEQ.
func TopicContains ¶
TopicContains applies the Contains predicate on the "topic" field.
func TopicContainsFold ¶
TopicContainsFold applies the ContainsFold predicate on the "topic" field.
func TopicEqualFold ¶
TopicEqualFold applies the EqualFold predicate on the "topic" field.
func TopicHasPrefix ¶
TopicHasPrefix applies the HasPrefix predicate on the "topic" field.
func TopicHasSuffix ¶
TopicHasSuffix applies the HasSuffix predicate on the "topic" field.
func TopicNotIn ¶
TopicNotIn applies the NotIn predicate on the "topic" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type Status ¶
type Status string
Status defines the type for the "status" enum field.
const ( StatusPending Status = "PENDING" StatusSucceeded Status = "SUCCEEDED" StatusFailed Status = "FAILED" )
Status values.
func (Status) MarshalGQL ¶
MarshalGQL implements graphql.Marshaler interface.
func (*Status) UnmarshalGQL ¶
UnmarshalGQL implements graphql.Unmarshaler interface.