actionproposal

package
v0.0.0-...-65c6c44 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the actionproposal type in the database.
	Label = "action_proposal"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldTarget holds the string denoting the target field in the database.
	FieldTarget = "target"
	// FieldKind holds the string denoting the kind field in the database.
	FieldKind = "kind"
	// FieldParamsJSON holds the string denoting the params_json field in the database.
	FieldParamsJSON = "params_json"
	// FieldFinancial holds the string denoting the financial field in the database.
	FieldFinancial = "financial"
	// FieldRationale holds the string denoting the rationale field in the database.
	FieldRationale = "rationale"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldCorrelationID holds the string denoting the correlation_id field in the database.
	FieldCorrelationID = "correlation_id"
	// FieldEntityID holds the string denoting the entity_id field in the database.
	FieldEntityID = "entity_id"
	// FieldOriginRunID holds the string denoting the origin_run_id field in the database.
	FieldOriginRunID = "origin_run_id"
	// FieldExpiresAt holds the string denoting the expires_at field in the database.
	FieldExpiresAt = "expires_at"
	// FieldApprovedAt holds the string denoting the approved_at field in the database.
	FieldApprovedAt = "approved_at"
	// FieldExecutedAt holds the string denoting the executed_at field in the database.
	FieldExecutedAt = "executed_at"
	// FieldReason holds the string denoting the reason field in the database.
	FieldReason = "reason"
	// FieldResultRef holds the string denoting the result_ref field in the database.
	FieldResultRef = "result_ref"
	// FieldReturnEventID holds the string denoting the return_event_id field in the database.
	FieldReturnEventID = "return_event_id"
	// FieldResolvedAt holds the string denoting the resolved_at field in the database.
	FieldResolvedAt = "resolved_at"
	// EdgeUser holds the string denoting the user edge name in mutations.
	EdgeUser = "user"
	// Table holds the table name of the actionproposal in the database.
	Table = "action_proposals"
	// UserTable is the table that holds the user relation/edge.
	UserTable = "action_proposals"
	// UserInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	UserInverseTable = "users"
	// UserColumn is the table column denoting the user relation/edge.
	UserColumn = "user_action_proposals"
)

Variables

View Source
var (
	Hooks  [1]ent.Hook
	Policy ent.Policy
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// TargetValidator is a validator for the "target" field. It is called by the builders before save.
	TargetValidator func(string) error
	// KindValidator is a validator for the "kind" field. It is called by the builders before save.
	KindValidator func(string) error
	// ParamsJSONValidator is a validator for the "params_json" field. It is called by the builders before save.
	ParamsJSONValidator func(string) error
	// DefaultFinancial holds the default value on creation for the "financial" field.
	DefaultFinancial bool
	// DefaultStatus holds the default value on creation for the "status" field.
	DefaultStatus string
	// StatusValidator is a validator for the "status" field. It is called by the builders before save.
	StatusValidator func(string) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:

import _ "github.com/Oppulence-Engineering/rowboat/apps/rowboat-api/ent/runtime"

Columns holds all SQL columns for actionproposal fields.

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

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

Functions

func And

And groups predicates with the AND operator between them.

func ApprovedAt

func ApprovedAt(v time.Time) predicate.ActionProposal

ApprovedAt applies equality check predicate on the "approved_at" field. It's identical to ApprovedAtEQ.

func ApprovedAtEQ

func ApprovedAtEQ(v time.Time) predicate.ActionProposal

ApprovedAtEQ applies the EQ predicate on the "approved_at" field.

func ApprovedAtGT

func ApprovedAtGT(v time.Time) predicate.ActionProposal

ApprovedAtGT applies the GT predicate on the "approved_at" field.

func ApprovedAtGTE

func ApprovedAtGTE(v time.Time) predicate.ActionProposal

ApprovedAtGTE applies the GTE predicate on the "approved_at" field.

func ApprovedAtIn

func ApprovedAtIn(vs ...time.Time) predicate.ActionProposal

ApprovedAtIn applies the In predicate on the "approved_at" field.

func ApprovedAtIsNil

func ApprovedAtIsNil() predicate.ActionProposal

ApprovedAtIsNil applies the IsNil predicate on the "approved_at" field.

func ApprovedAtLT

func ApprovedAtLT(v time.Time) predicate.ActionProposal

ApprovedAtLT applies the LT predicate on the "approved_at" field.

func ApprovedAtLTE

func ApprovedAtLTE(v time.Time) predicate.ActionProposal

ApprovedAtLTE applies the LTE predicate on the "approved_at" field.

func ApprovedAtNEQ

func ApprovedAtNEQ(v time.Time) predicate.ActionProposal

ApprovedAtNEQ applies the NEQ predicate on the "approved_at" field.

func ApprovedAtNotIn

func ApprovedAtNotIn(vs ...time.Time) predicate.ActionProposal

ApprovedAtNotIn applies the NotIn predicate on the "approved_at" field.

func ApprovedAtNotNil

func ApprovedAtNotNil() predicate.ActionProposal

ApprovedAtNotNil applies the NotNil predicate on the "approved_at" field.

func CorrelationID

func CorrelationID(v string) predicate.ActionProposal

CorrelationID applies equality check predicate on the "correlation_id" field. It's identical to CorrelationIDEQ.

func CorrelationIDContains

func CorrelationIDContains(v string) predicate.ActionProposal

CorrelationIDContains applies the Contains predicate on the "correlation_id" field.

func CorrelationIDContainsFold

func CorrelationIDContainsFold(v string) predicate.ActionProposal

CorrelationIDContainsFold applies the ContainsFold predicate on the "correlation_id" field.

func CorrelationIDEQ

func CorrelationIDEQ(v string) predicate.ActionProposal

CorrelationIDEQ applies the EQ predicate on the "correlation_id" field.

func CorrelationIDEqualFold

func CorrelationIDEqualFold(v string) predicate.ActionProposal

CorrelationIDEqualFold applies the EqualFold predicate on the "correlation_id" field.

func CorrelationIDGT

func CorrelationIDGT(v string) predicate.ActionProposal

CorrelationIDGT applies the GT predicate on the "correlation_id" field.

func CorrelationIDGTE

func CorrelationIDGTE(v string) predicate.ActionProposal

CorrelationIDGTE applies the GTE predicate on the "correlation_id" field.

func CorrelationIDHasPrefix

func CorrelationIDHasPrefix(v string) predicate.ActionProposal

CorrelationIDHasPrefix applies the HasPrefix predicate on the "correlation_id" field.

func CorrelationIDHasSuffix

func CorrelationIDHasSuffix(v string) predicate.ActionProposal

CorrelationIDHasSuffix applies the HasSuffix predicate on the "correlation_id" field.

func CorrelationIDIn

func CorrelationIDIn(vs ...string) predicate.ActionProposal

CorrelationIDIn applies the In predicate on the "correlation_id" field.

func CorrelationIDIsNil

func CorrelationIDIsNil() predicate.ActionProposal

CorrelationIDIsNil applies the IsNil predicate on the "correlation_id" field.

func CorrelationIDLT

func CorrelationIDLT(v string) predicate.ActionProposal

CorrelationIDLT applies the LT predicate on the "correlation_id" field.

func CorrelationIDLTE

func CorrelationIDLTE(v string) predicate.ActionProposal

CorrelationIDLTE applies the LTE predicate on the "correlation_id" field.

func CorrelationIDNEQ

func CorrelationIDNEQ(v string) predicate.ActionProposal

CorrelationIDNEQ applies the NEQ predicate on the "correlation_id" field.

func CorrelationIDNotIn

func CorrelationIDNotIn(vs ...string) predicate.ActionProposal

CorrelationIDNotIn applies the NotIn predicate on the "correlation_id" field.

func CorrelationIDNotNil

func CorrelationIDNotNil() predicate.ActionProposal

CorrelationIDNotNil applies the NotNil predicate on the "correlation_id" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.ActionProposal

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.ActionProposal

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.ActionProposal

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.ActionProposal

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.ActionProposal

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ActionProposal

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ActionProposal

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

func CreatedAtNotIn

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

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

func EntityID

func EntityID(v string) predicate.ActionProposal

EntityID applies equality check predicate on the "entity_id" field. It's identical to EntityIDEQ.

func EntityIDContains

func EntityIDContains(v string) predicate.ActionProposal

EntityIDContains applies the Contains predicate on the "entity_id" field.

func EntityIDContainsFold

func EntityIDContainsFold(v string) predicate.ActionProposal

EntityIDContainsFold applies the ContainsFold predicate on the "entity_id" field.

func EntityIDEQ

func EntityIDEQ(v string) predicate.ActionProposal

EntityIDEQ applies the EQ predicate on the "entity_id" field.

func EntityIDEqualFold

func EntityIDEqualFold(v string) predicate.ActionProposal

EntityIDEqualFold applies the EqualFold predicate on the "entity_id" field.

func EntityIDGT

func EntityIDGT(v string) predicate.ActionProposal

EntityIDGT applies the GT predicate on the "entity_id" field.

func EntityIDGTE

func EntityIDGTE(v string) predicate.ActionProposal

EntityIDGTE applies the GTE predicate on the "entity_id" field.

func EntityIDHasPrefix

func EntityIDHasPrefix(v string) predicate.ActionProposal

EntityIDHasPrefix applies the HasPrefix predicate on the "entity_id" field.

func EntityIDHasSuffix

func EntityIDHasSuffix(v string) predicate.ActionProposal

EntityIDHasSuffix applies the HasSuffix predicate on the "entity_id" field.

func EntityIDIn

func EntityIDIn(vs ...string) predicate.ActionProposal

EntityIDIn applies the In predicate on the "entity_id" field.

func EntityIDIsNil

func EntityIDIsNil() predicate.ActionProposal

EntityIDIsNil applies the IsNil predicate on the "entity_id" field.

func EntityIDLT

func EntityIDLT(v string) predicate.ActionProposal

EntityIDLT applies the LT predicate on the "entity_id" field.

func EntityIDLTE

func EntityIDLTE(v string) predicate.ActionProposal

EntityIDLTE applies the LTE predicate on the "entity_id" field.

func EntityIDNEQ

func EntityIDNEQ(v string) predicate.ActionProposal

EntityIDNEQ applies the NEQ predicate on the "entity_id" field.

func EntityIDNotIn

func EntityIDNotIn(vs ...string) predicate.ActionProposal

EntityIDNotIn applies the NotIn predicate on the "entity_id" field.

func EntityIDNotNil

func EntityIDNotNil() predicate.ActionProposal

EntityIDNotNil applies the NotNil predicate on the "entity_id" field.

func ExecutedAt

func ExecutedAt(v time.Time) predicate.ActionProposal

ExecutedAt applies equality check predicate on the "executed_at" field. It's identical to ExecutedAtEQ.

func ExecutedAtEQ

func ExecutedAtEQ(v time.Time) predicate.ActionProposal

ExecutedAtEQ applies the EQ predicate on the "executed_at" field.

func ExecutedAtGT

func ExecutedAtGT(v time.Time) predicate.ActionProposal

ExecutedAtGT applies the GT predicate on the "executed_at" field.

func ExecutedAtGTE

func ExecutedAtGTE(v time.Time) predicate.ActionProposal

ExecutedAtGTE applies the GTE predicate on the "executed_at" field.

func ExecutedAtIn

func ExecutedAtIn(vs ...time.Time) predicate.ActionProposal

ExecutedAtIn applies the In predicate on the "executed_at" field.

func ExecutedAtIsNil

func ExecutedAtIsNil() predicate.ActionProposal

ExecutedAtIsNil applies the IsNil predicate on the "executed_at" field.

func ExecutedAtLT

func ExecutedAtLT(v time.Time) predicate.ActionProposal

ExecutedAtLT applies the LT predicate on the "executed_at" field.

func ExecutedAtLTE

func ExecutedAtLTE(v time.Time) predicate.ActionProposal

ExecutedAtLTE applies the LTE predicate on the "executed_at" field.

func ExecutedAtNEQ

func ExecutedAtNEQ(v time.Time) predicate.ActionProposal

ExecutedAtNEQ applies the NEQ predicate on the "executed_at" field.

func ExecutedAtNotIn

func ExecutedAtNotIn(vs ...time.Time) predicate.ActionProposal

ExecutedAtNotIn applies the NotIn predicate on the "executed_at" field.

func ExecutedAtNotNil

func ExecutedAtNotNil() predicate.ActionProposal

ExecutedAtNotNil applies the NotNil predicate on the "executed_at" field.

func ExpiresAt

func ExpiresAt(v time.Time) predicate.ActionProposal

ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.

func ExpiresAtEQ

func ExpiresAtEQ(v time.Time) predicate.ActionProposal

ExpiresAtEQ applies the EQ predicate on the "expires_at" field.

func ExpiresAtGT

func ExpiresAtGT(v time.Time) predicate.ActionProposal

ExpiresAtGT applies the GT predicate on the "expires_at" field.

func ExpiresAtGTE

func ExpiresAtGTE(v time.Time) predicate.ActionProposal

ExpiresAtGTE applies the GTE predicate on the "expires_at" field.

func ExpiresAtIn

func ExpiresAtIn(vs ...time.Time) predicate.ActionProposal

ExpiresAtIn applies the In predicate on the "expires_at" field.

func ExpiresAtIsNil

func ExpiresAtIsNil() predicate.ActionProposal

ExpiresAtIsNil applies the IsNil predicate on the "expires_at" field.

func ExpiresAtLT

func ExpiresAtLT(v time.Time) predicate.ActionProposal

ExpiresAtLT applies the LT predicate on the "expires_at" field.

func ExpiresAtLTE

func ExpiresAtLTE(v time.Time) predicate.ActionProposal

ExpiresAtLTE applies the LTE predicate on the "expires_at" field.

func ExpiresAtNEQ

func ExpiresAtNEQ(v time.Time) predicate.ActionProposal

ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.

func ExpiresAtNotIn

func ExpiresAtNotIn(vs ...time.Time) predicate.ActionProposal

ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.

func ExpiresAtNotNil

func ExpiresAtNotNil() predicate.ActionProposal

ExpiresAtNotNil applies the NotNil predicate on the "expires_at" field.

func Financial

func Financial(v bool) predicate.ActionProposal

Financial applies equality check predicate on the "financial" field. It's identical to FinancialEQ.

func FinancialEQ

func FinancialEQ(v bool) predicate.ActionProposal

FinancialEQ applies the EQ predicate on the "financial" field.

func FinancialNEQ

func FinancialNEQ(v bool) predicate.ActionProposal

FinancialNEQ applies the NEQ predicate on the "financial" field.

func HasUser

func HasUser() predicate.ActionProposal

HasUser applies the HasEdge predicate on the "user" edge.

func HasUserWith

func HasUserWith(preds ...predicate.User) predicate.ActionProposal

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

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.ActionProposal

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.ActionProposal

IDNotIn applies the NotIn predicate on the ID field.

func Kind

Kind applies equality check predicate on the "kind" field. It's identical to KindEQ.

func KindContains

func KindContains(v string) predicate.ActionProposal

KindContains applies the Contains predicate on the "kind" field.

func KindContainsFold

func KindContainsFold(v string) predicate.ActionProposal

KindContainsFold applies the ContainsFold predicate on the "kind" field.

func KindEQ

KindEQ applies the EQ predicate on the "kind" field.

func KindEqualFold

func KindEqualFold(v string) predicate.ActionProposal

KindEqualFold applies the EqualFold predicate on the "kind" field.

func KindGT

KindGT applies the GT predicate on the "kind" field.

func KindGTE

func KindGTE(v string) predicate.ActionProposal

KindGTE applies the GTE predicate on the "kind" field.

func KindHasPrefix

func KindHasPrefix(v string) predicate.ActionProposal

KindHasPrefix applies the HasPrefix predicate on the "kind" field.

func KindHasSuffix

func KindHasSuffix(v string) predicate.ActionProposal

KindHasSuffix applies the HasSuffix predicate on the "kind" field.

func KindIn

func KindIn(vs ...string) predicate.ActionProposal

KindIn applies the In predicate on the "kind" field.

func KindLT

KindLT applies the LT predicate on the "kind" field.

func KindLTE

func KindLTE(v string) predicate.ActionProposal

KindLTE applies the LTE predicate on the "kind" field.

func KindNEQ

func KindNEQ(v string) predicate.ActionProposal

KindNEQ applies the NEQ predicate on the "kind" field.

func KindNotIn

func KindNotIn(vs ...string) predicate.ActionProposal

KindNotIn applies the NotIn predicate on the "kind" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func OriginRunID

func OriginRunID(v string) predicate.ActionProposal

OriginRunID applies equality check predicate on the "origin_run_id" field. It's identical to OriginRunIDEQ.

func OriginRunIDContains

func OriginRunIDContains(v string) predicate.ActionProposal

OriginRunIDContains applies the Contains predicate on the "origin_run_id" field.

func OriginRunIDContainsFold

func OriginRunIDContainsFold(v string) predicate.ActionProposal

OriginRunIDContainsFold applies the ContainsFold predicate on the "origin_run_id" field.

func OriginRunIDEQ

func OriginRunIDEQ(v string) predicate.ActionProposal

OriginRunIDEQ applies the EQ predicate on the "origin_run_id" field.

func OriginRunIDEqualFold

func OriginRunIDEqualFold(v string) predicate.ActionProposal

OriginRunIDEqualFold applies the EqualFold predicate on the "origin_run_id" field.

func OriginRunIDGT

func OriginRunIDGT(v string) predicate.ActionProposal

OriginRunIDGT applies the GT predicate on the "origin_run_id" field.

func OriginRunIDGTE

func OriginRunIDGTE(v string) predicate.ActionProposal

OriginRunIDGTE applies the GTE predicate on the "origin_run_id" field.

func OriginRunIDHasPrefix

func OriginRunIDHasPrefix(v string) predicate.ActionProposal

OriginRunIDHasPrefix applies the HasPrefix predicate on the "origin_run_id" field.

func OriginRunIDHasSuffix

func OriginRunIDHasSuffix(v string) predicate.ActionProposal

OriginRunIDHasSuffix applies the HasSuffix predicate on the "origin_run_id" field.

func OriginRunIDIn

func OriginRunIDIn(vs ...string) predicate.ActionProposal

OriginRunIDIn applies the In predicate on the "origin_run_id" field.

func OriginRunIDIsNil

func OriginRunIDIsNil() predicate.ActionProposal

OriginRunIDIsNil applies the IsNil predicate on the "origin_run_id" field.

func OriginRunIDLT

func OriginRunIDLT(v string) predicate.ActionProposal

OriginRunIDLT applies the LT predicate on the "origin_run_id" field.

func OriginRunIDLTE

func OriginRunIDLTE(v string) predicate.ActionProposal

OriginRunIDLTE applies the LTE predicate on the "origin_run_id" field.

func OriginRunIDNEQ

func OriginRunIDNEQ(v string) predicate.ActionProposal

OriginRunIDNEQ applies the NEQ predicate on the "origin_run_id" field.

func OriginRunIDNotIn

func OriginRunIDNotIn(vs ...string) predicate.ActionProposal

OriginRunIDNotIn applies the NotIn predicate on the "origin_run_id" field.

func OriginRunIDNotNil

func OriginRunIDNotNil() predicate.ActionProposal

OriginRunIDNotNil applies the NotNil predicate on the "origin_run_id" field.

func ParamsJSON

func ParamsJSON(v string) predicate.ActionProposal

ParamsJSON applies equality check predicate on the "params_json" field. It's identical to ParamsJSONEQ.

func ParamsJSONContains

func ParamsJSONContains(v string) predicate.ActionProposal

ParamsJSONContains applies the Contains predicate on the "params_json" field.

func ParamsJSONContainsFold

func ParamsJSONContainsFold(v string) predicate.ActionProposal

ParamsJSONContainsFold applies the ContainsFold predicate on the "params_json" field.

func ParamsJSONEQ

func ParamsJSONEQ(v string) predicate.ActionProposal

ParamsJSONEQ applies the EQ predicate on the "params_json" field.

func ParamsJSONEqualFold

func ParamsJSONEqualFold(v string) predicate.ActionProposal

ParamsJSONEqualFold applies the EqualFold predicate on the "params_json" field.

func ParamsJSONGT

func ParamsJSONGT(v string) predicate.ActionProposal

ParamsJSONGT applies the GT predicate on the "params_json" field.

func ParamsJSONGTE

func ParamsJSONGTE(v string) predicate.ActionProposal

ParamsJSONGTE applies the GTE predicate on the "params_json" field.

func ParamsJSONHasPrefix

func ParamsJSONHasPrefix(v string) predicate.ActionProposal

ParamsJSONHasPrefix applies the HasPrefix predicate on the "params_json" field.

func ParamsJSONHasSuffix

func ParamsJSONHasSuffix(v string) predicate.ActionProposal

ParamsJSONHasSuffix applies the HasSuffix predicate on the "params_json" field.

func ParamsJSONIn

func ParamsJSONIn(vs ...string) predicate.ActionProposal

ParamsJSONIn applies the In predicate on the "params_json" field.

func ParamsJSONIsNil

func ParamsJSONIsNil() predicate.ActionProposal

ParamsJSONIsNil applies the IsNil predicate on the "params_json" field.

func ParamsJSONLT

func ParamsJSONLT(v string) predicate.ActionProposal

ParamsJSONLT applies the LT predicate on the "params_json" field.

func ParamsJSONLTE

func ParamsJSONLTE(v string) predicate.ActionProposal

ParamsJSONLTE applies the LTE predicate on the "params_json" field.

func ParamsJSONNEQ

func ParamsJSONNEQ(v string) predicate.ActionProposal

ParamsJSONNEQ applies the NEQ predicate on the "params_json" field.

func ParamsJSONNotIn

func ParamsJSONNotIn(vs ...string) predicate.ActionProposal

ParamsJSONNotIn applies the NotIn predicate on the "params_json" field.

func ParamsJSONNotNil

func ParamsJSONNotNil() predicate.ActionProposal

ParamsJSONNotNil applies the NotNil predicate on the "params_json" field.

func Rationale

func Rationale(v string) predicate.ActionProposal

Rationale applies equality check predicate on the "rationale" field. It's identical to RationaleEQ.

func RationaleContains

func RationaleContains(v string) predicate.ActionProposal

RationaleContains applies the Contains predicate on the "rationale" field.

func RationaleContainsFold

func RationaleContainsFold(v string) predicate.ActionProposal

RationaleContainsFold applies the ContainsFold predicate on the "rationale" field.

func RationaleEQ

func RationaleEQ(v string) predicate.ActionProposal

RationaleEQ applies the EQ predicate on the "rationale" field.

func RationaleEqualFold

func RationaleEqualFold(v string) predicate.ActionProposal

RationaleEqualFold applies the EqualFold predicate on the "rationale" field.

func RationaleGT

func RationaleGT(v string) predicate.ActionProposal

RationaleGT applies the GT predicate on the "rationale" field.

func RationaleGTE

func RationaleGTE(v string) predicate.ActionProposal

RationaleGTE applies the GTE predicate on the "rationale" field.

func RationaleHasPrefix

func RationaleHasPrefix(v string) predicate.ActionProposal

RationaleHasPrefix applies the HasPrefix predicate on the "rationale" field.

func RationaleHasSuffix

func RationaleHasSuffix(v string) predicate.ActionProposal

RationaleHasSuffix applies the HasSuffix predicate on the "rationale" field.

func RationaleIn

func RationaleIn(vs ...string) predicate.ActionProposal

RationaleIn applies the In predicate on the "rationale" field.

func RationaleIsNil

func RationaleIsNil() predicate.ActionProposal

RationaleIsNil applies the IsNil predicate on the "rationale" field.

func RationaleLT

func RationaleLT(v string) predicate.ActionProposal

RationaleLT applies the LT predicate on the "rationale" field.

func RationaleLTE

func RationaleLTE(v string) predicate.ActionProposal

RationaleLTE applies the LTE predicate on the "rationale" field.

func RationaleNEQ

func RationaleNEQ(v string) predicate.ActionProposal

RationaleNEQ applies the NEQ predicate on the "rationale" field.

func RationaleNotIn

func RationaleNotIn(vs ...string) predicate.ActionProposal

RationaleNotIn applies the NotIn predicate on the "rationale" field.

func RationaleNotNil

func RationaleNotNil() predicate.ActionProposal

RationaleNotNil applies the NotNil predicate on the "rationale" field.

func Reason

Reason applies equality check predicate on the "reason" field. It's identical to ReasonEQ.

func ReasonContains

func ReasonContains(v string) predicate.ActionProposal

ReasonContains applies the Contains predicate on the "reason" field.

func ReasonContainsFold

func ReasonContainsFold(v string) predicate.ActionProposal

ReasonContainsFold applies the ContainsFold predicate on the "reason" field.

func ReasonEQ

func ReasonEQ(v string) predicate.ActionProposal

ReasonEQ applies the EQ predicate on the "reason" field.

func ReasonEqualFold

func ReasonEqualFold(v string) predicate.ActionProposal

ReasonEqualFold applies the EqualFold predicate on the "reason" field.

func ReasonGT

func ReasonGT(v string) predicate.ActionProposal

ReasonGT applies the GT predicate on the "reason" field.

func ReasonGTE

func ReasonGTE(v string) predicate.ActionProposal

ReasonGTE applies the GTE predicate on the "reason" field.

func ReasonHasPrefix

func ReasonHasPrefix(v string) predicate.ActionProposal

ReasonHasPrefix applies the HasPrefix predicate on the "reason" field.

func ReasonHasSuffix

func ReasonHasSuffix(v string) predicate.ActionProposal

ReasonHasSuffix applies the HasSuffix predicate on the "reason" field.

func ReasonIn

func ReasonIn(vs ...string) predicate.ActionProposal

ReasonIn applies the In predicate on the "reason" field.

func ReasonIsNil

func ReasonIsNil() predicate.ActionProposal

ReasonIsNil applies the IsNil predicate on the "reason" field.

func ReasonLT

func ReasonLT(v string) predicate.ActionProposal

ReasonLT applies the LT predicate on the "reason" field.

func ReasonLTE

func ReasonLTE(v string) predicate.ActionProposal

ReasonLTE applies the LTE predicate on the "reason" field.

func ReasonNEQ

func ReasonNEQ(v string) predicate.ActionProposal

ReasonNEQ applies the NEQ predicate on the "reason" field.

func ReasonNotIn

func ReasonNotIn(vs ...string) predicate.ActionProposal

ReasonNotIn applies the NotIn predicate on the "reason" field.

func ReasonNotNil

func ReasonNotNil() predicate.ActionProposal

ReasonNotNil applies the NotNil predicate on the "reason" field.

func ResolvedAt

func ResolvedAt(v time.Time) predicate.ActionProposal

ResolvedAt applies equality check predicate on the "resolved_at" field. It's identical to ResolvedAtEQ.

func ResolvedAtEQ

func ResolvedAtEQ(v time.Time) predicate.ActionProposal

ResolvedAtEQ applies the EQ predicate on the "resolved_at" field.

func ResolvedAtGT

func ResolvedAtGT(v time.Time) predicate.ActionProposal

ResolvedAtGT applies the GT predicate on the "resolved_at" field.

func ResolvedAtGTE

func ResolvedAtGTE(v time.Time) predicate.ActionProposal

ResolvedAtGTE applies the GTE predicate on the "resolved_at" field.

func ResolvedAtIn

func ResolvedAtIn(vs ...time.Time) predicate.ActionProposal

ResolvedAtIn applies the In predicate on the "resolved_at" field.

func ResolvedAtIsNil

func ResolvedAtIsNil() predicate.ActionProposal

ResolvedAtIsNil applies the IsNil predicate on the "resolved_at" field.

func ResolvedAtLT

func ResolvedAtLT(v time.Time) predicate.ActionProposal

ResolvedAtLT applies the LT predicate on the "resolved_at" field.

func ResolvedAtLTE

func ResolvedAtLTE(v time.Time) predicate.ActionProposal

ResolvedAtLTE applies the LTE predicate on the "resolved_at" field.

func ResolvedAtNEQ

func ResolvedAtNEQ(v time.Time) predicate.ActionProposal

ResolvedAtNEQ applies the NEQ predicate on the "resolved_at" field.

func ResolvedAtNotIn

func ResolvedAtNotIn(vs ...time.Time) predicate.ActionProposal

ResolvedAtNotIn applies the NotIn predicate on the "resolved_at" field.

func ResolvedAtNotNil

func ResolvedAtNotNil() predicate.ActionProposal

ResolvedAtNotNil applies the NotNil predicate on the "resolved_at" field.

func ResultRef

func ResultRef(v string) predicate.ActionProposal

ResultRef applies equality check predicate on the "result_ref" field. It's identical to ResultRefEQ.

func ResultRefContains

func ResultRefContains(v string) predicate.ActionProposal

ResultRefContains applies the Contains predicate on the "result_ref" field.

func ResultRefContainsFold

func ResultRefContainsFold(v string) predicate.ActionProposal

ResultRefContainsFold applies the ContainsFold predicate on the "result_ref" field.

func ResultRefEQ

func ResultRefEQ(v string) predicate.ActionProposal

ResultRefEQ applies the EQ predicate on the "result_ref" field.

func ResultRefEqualFold

func ResultRefEqualFold(v string) predicate.ActionProposal

ResultRefEqualFold applies the EqualFold predicate on the "result_ref" field.

func ResultRefGT

func ResultRefGT(v string) predicate.ActionProposal

ResultRefGT applies the GT predicate on the "result_ref" field.

func ResultRefGTE

func ResultRefGTE(v string) predicate.ActionProposal

ResultRefGTE applies the GTE predicate on the "result_ref" field.

func ResultRefHasPrefix

func ResultRefHasPrefix(v string) predicate.ActionProposal

ResultRefHasPrefix applies the HasPrefix predicate on the "result_ref" field.

func ResultRefHasSuffix

func ResultRefHasSuffix(v string) predicate.ActionProposal

ResultRefHasSuffix applies the HasSuffix predicate on the "result_ref" field.

func ResultRefIn

func ResultRefIn(vs ...string) predicate.ActionProposal

ResultRefIn applies the In predicate on the "result_ref" field.

func ResultRefIsNil

func ResultRefIsNil() predicate.ActionProposal

ResultRefIsNil applies the IsNil predicate on the "result_ref" field.

func ResultRefLT

func ResultRefLT(v string) predicate.ActionProposal

ResultRefLT applies the LT predicate on the "result_ref" field.

func ResultRefLTE

func ResultRefLTE(v string) predicate.ActionProposal

ResultRefLTE applies the LTE predicate on the "result_ref" field.

func ResultRefNEQ

func ResultRefNEQ(v string) predicate.ActionProposal

ResultRefNEQ applies the NEQ predicate on the "result_ref" field.

func ResultRefNotIn

func ResultRefNotIn(vs ...string) predicate.ActionProposal

ResultRefNotIn applies the NotIn predicate on the "result_ref" field.

func ResultRefNotNil

func ResultRefNotNil() predicate.ActionProposal

ResultRefNotNil applies the NotNil predicate on the "result_ref" field.

func ReturnEventID

func ReturnEventID(v string) predicate.ActionProposal

ReturnEventID applies equality check predicate on the "return_event_id" field. It's identical to ReturnEventIDEQ.

func ReturnEventIDContains

func ReturnEventIDContains(v string) predicate.ActionProposal

ReturnEventIDContains applies the Contains predicate on the "return_event_id" field.

func ReturnEventIDContainsFold

func ReturnEventIDContainsFold(v string) predicate.ActionProposal

ReturnEventIDContainsFold applies the ContainsFold predicate on the "return_event_id" field.

func ReturnEventIDEQ

func ReturnEventIDEQ(v string) predicate.ActionProposal

ReturnEventIDEQ applies the EQ predicate on the "return_event_id" field.

func ReturnEventIDEqualFold

func ReturnEventIDEqualFold(v string) predicate.ActionProposal

ReturnEventIDEqualFold applies the EqualFold predicate on the "return_event_id" field.

func ReturnEventIDGT

func ReturnEventIDGT(v string) predicate.ActionProposal

ReturnEventIDGT applies the GT predicate on the "return_event_id" field.

func ReturnEventIDGTE

func ReturnEventIDGTE(v string) predicate.ActionProposal

ReturnEventIDGTE applies the GTE predicate on the "return_event_id" field.

func ReturnEventIDHasPrefix

func ReturnEventIDHasPrefix(v string) predicate.ActionProposal

ReturnEventIDHasPrefix applies the HasPrefix predicate on the "return_event_id" field.

func ReturnEventIDHasSuffix

func ReturnEventIDHasSuffix(v string) predicate.ActionProposal

ReturnEventIDHasSuffix applies the HasSuffix predicate on the "return_event_id" field.

func ReturnEventIDIn

func ReturnEventIDIn(vs ...string) predicate.ActionProposal

ReturnEventIDIn applies the In predicate on the "return_event_id" field.

func ReturnEventIDIsNil

func ReturnEventIDIsNil() predicate.ActionProposal

ReturnEventIDIsNil applies the IsNil predicate on the "return_event_id" field.

func ReturnEventIDLT

func ReturnEventIDLT(v string) predicate.ActionProposal

ReturnEventIDLT applies the LT predicate on the "return_event_id" field.

func ReturnEventIDLTE

func ReturnEventIDLTE(v string) predicate.ActionProposal

ReturnEventIDLTE applies the LTE predicate on the "return_event_id" field.

func ReturnEventIDNEQ

func ReturnEventIDNEQ(v string) predicate.ActionProposal

ReturnEventIDNEQ applies the NEQ predicate on the "return_event_id" field.

func ReturnEventIDNotIn

func ReturnEventIDNotIn(vs ...string) predicate.ActionProposal

ReturnEventIDNotIn applies the NotIn predicate on the "return_event_id" field.

func ReturnEventIDNotNil

func ReturnEventIDNotNil() predicate.ActionProposal

ReturnEventIDNotNil applies the NotNil predicate on the "return_event_id" field.

func Status

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

func StatusContains

func StatusContains(v string) predicate.ActionProposal

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

func StatusContainsFold

func StatusContainsFold(v string) predicate.ActionProposal

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

func StatusEQ

func StatusEQ(v string) predicate.ActionProposal

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

func StatusEqualFold

func StatusEqualFold(v string) predicate.ActionProposal

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

func StatusGT

func StatusGT(v string) predicate.ActionProposal

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

func StatusGTE

func StatusGTE(v string) predicate.ActionProposal

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

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.ActionProposal

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

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.ActionProposal

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

func StatusIn

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

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

func StatusLT

func StatusLT(v string) predicate.ActionProposal

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

func StatusLTE

func StatusLTE(v string) predicate.ActionProposal

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

func StatusNEQ

func StatusNEQ(v string) predicate.ActionProposal

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

func StatusNotIn

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

StatusNotIn applies the NotIn predicate on the "status" field.

func Target

Target applies equality check predicate on the "target" field. It's identical to TargetEQ.

func TargetContains

func TargetContains(v string) predicate.ActionProposal

TargetContains applies the Contains predicate on the "target" field.

func TargetContainsFold

func TargetContainsFold(v string) predicate.ActionProposal

TargetContainsFold applies the ContainsFold predicate on the "target" field.

func TargetEQ

func TargetEQ(v string) predicate.ActionProposal

TargetEQ applies the EQ predicate on the "target" field.

func TargetEqualFold

func TargetEqualFold(v string) predicate.ActionProposal

TargetEqualFold applies the EqualFold predicate on the "target" field.

func TargetGT

func TargetGT(v string) predicate.ActionProposal

TargetGT applies the GT predicate on the "target" field.

func TargetGTE

func TargetGTE(v string) predicate.ActionProposal

TargetGTE applies the GTE predicate on the "target" field.

func TargetHasPrefix

func TargetHasPrefix(v string) predicate.ActionProposal

TargetHasPrefix applies the HasPrefix predicate on the "target" field.

func TargetHasSuffix

func TargetHasSuffix(v string) predicate.ActionProposal

TargetHasSuffix applies the HasSuffix predicate on the "target" field.

func TargetIn

func TargetIn(vs ...string) predicate.ActionProposal

TargetIn applies the In predicate on the "target" field.

func TargetLT

func TargetLT(v string) predicate.ActionProposal

TargetLT applies the LT predicate on the "target" field.

func TargetLTE

func TargetLTE(v string) predicate.ActionProposal

TargetLTE applies the LTE predicate on the "target" field.

func TargetNEQ

func TargetNEQ(v string) predicate.ActionProposal

TargetNEQ applies the NEQ predicate on the "target" field.

func TargetNotIn

func TargetNotIn(vs ...string) predicate.ActionProposal

TargetNotIn applies the NotIn predicate on the "target" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.ActionProposal

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.ActionProposal

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.ActionProposal

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.ActionProposal

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.ActionProposal

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.ActionProposal

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.ActionProposal

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.ActionProposal

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.ActionProposal

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" 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 ActionProposal queries.

func ByApprovedAt

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

ByApprovedAt orders the results by the approved_at field.

func ByCorrelationID

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

ByCorrelationID orders the results by the correlation_id field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByEntityID

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

ByEntityID orders the results by the entity_id field.

func ByExecutedAt

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

ByExecutedAt orders the results by the executed_at field.

func ByExpiresAt

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

ByExpiresAt orders the results by the expires_at field.

func ByFinancial

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

ByFinancial orders the results by the financial field.

func ByID

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

ByID orders the results by the id field.

func ByKind

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

ByKind orders the results by the kind field.

func ByOriginRunID

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

ByOriginRunID orders the results by the origin_run_id field.

func ByParamsJSON

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

ByParamsJSON orders the results by the params_json field.

func ByRationale

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

ByRationale orders the results by the rationale field.

func ByReason

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

ByReason orders the results by the reason field.

func ByResolvedAt

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

ByResolvedAt orders the results by the resolved_at field.

func ByResultRef

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

ByResultRef orders the results by the result_ref field.

func ByReturnEventID

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

ByReturnEventID orders the results by the return_event_id field.

func ByStatus

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

ByStatus orders the results by the status field.

func ByTarget

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

ByTarget orders the results by the target field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUserField

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

ByUserField orders the results by user field.

Jump to

Keyboard shortcuts

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