Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Action) predicate.Action
- func Args(v string) predicate.Action
- func ArgsContains(v string) predicate.Action
- func ArgsContainsFold(v string) predicate.Action
- func ArgsEQ(v string) predicate.Action
- func ArgsEqualFold(v string) predicate.Action
- func ArgsGT(v string) predicate.Action
- func ArgsGTE(v string) predicate.Action
- func ArgsHasPrefix(v string) predicate.Action
- func ArgsHasSuffix(v string) predicate.Action
- func ArgsIn(vs ...string) predicate.Action
- func ArgsLT(v string) predicate.Action
- func ArgsLTE(v string) predicate.Action
- func ArgsNEQ(v string) predicate.Action
- func ArgsNotIn(vs ...string) predicate.Action
- func HasTargeting() predicate.Action
- func HasTargetingWith(preds ...predicate.Host) predicate.Action
- func ID(id int) predicate.Action
- func IDEQ(id int) predicate.Action
- func IDGT(id int) predicate.Action
- func IDGTE(id int) predicate.Action
- func IDIn(ids ...int) predicate.Action
- func IDLT(id int) predicate.Action
- func IDLTE(id int) predicate.Action
- func IDNEQ(id int) predicate.Action
- func IDNotIn(ids ...int) predicate.Action
- func Mode(v string) predicate.Action
- func ModeContains(v string) predicate.Action
- func ModeContainsFold(v string) predicate.Action
- func ModeEQ(v string) predicate.Action
- func ModeEqualFold(v string) predicate.Action
- func ModeGT(v string) predicate.Action
- func ModeGTE(v string) predicate.Action
- func ModeHasPrefix(v string) predicate.Action
- func ModeHasSuffix(v string) predicate.Action
- func ModeIn(vs ...string) predicate.Action
- func ModeLT(v string) predicate.Action
- func ModeLTE(v string) predicate.Action
- func ModeNEQ(v string) predicate.Action
- func ModeNotIn(vs ...string) predicate.Action
- func Not(p predicate.Action) predicate.Action
- func Or(predicates ...predicate.Action) predicate.Action
- func Queued(v bool) predicate.Action
- func QueuedEQ(v bool) predicate.Action
- func QueuedNEQ(v bool) predicate.Action
- func Responded(v bool) predicate.Action
- func RespondedEQ(v bool) predicate.Action
- func RespondedNEQ(v bool) predicate.Action
- func Result(v string) predicate.Action
- func ResultContains(v string) predicate.Action
- func ResultContainsFold(v string) predicate.Action
- func ResultEQ(v string) predicate.Action
- func ResultEqualFold(v string) predicate.Action
- func ResultGT(v string) predicate.Action
- func ResultGTE(v string) predicate.Action
- func ResultHasPrefix(v string) predicate.Action
- func ResultHasSuffix(v string) predicate.Action
- func ResultIn(vs ...string) predicate.Action
- func ResultLT(v string) predicate.Action
- func ResultLTE(v string) predicate.Action
- func ResultNEQ(v string) predicate.Action
- func ResultNotIn(vs ...string) predicate.Action
- func UUID(v string) predicate.Action
- func UUIDContains(v string) predicate.Action
- func UUIDContainsFold(v string) predicate.Action
- func UUIDEQ(v string) predicate.Action
- func UUIDEqualFold(v string) predicate.Action
- func UUIDGT(v string) predicate.Action
- func UUIDGTE(v string) predicate.Action
- func UUIDHasPrefix(v string) predicate.Action
- func UUIDHasSuffix(v string) predicate.Action
- func UUIDIn(vs ...string) predicate.Action
- func UUIDLT(v string) predicate.Action
- func UUIDLTE(v string) predicate.Action
- func UUIDNEQ(v string) predicate.Action
- func UUIDNotIn(vs ...string) predicate.Action
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the action type in the database. Label = "action" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldUUID holds the string denoting the uuid field in the database. FieldUUID = "uuid" // FieldMode holds the string denoting the mode field in the database. FieldMode = "mode" // FieldArgs holds the string denoting the args field in the database. FieldArgs = "args" // FieldQueued holds the string denoting the queued field in the database. FieldQueued = "queued" // FieldResponded holds the string denoting the responded field in the database. FieldResponded = "responded" // FieldResult holds the string denoting the result field in the database. FieldResult = "result" // EdgeTargeting holds the string denoting the targeting edge name in mutations. EdgeTargeting = "targeting" // Table holds the table name of the action in the database. Table = "actions" // TargetingTable is the table the holds the targeting relation/edge. TargetingTable = "actions" // TargetingInverseTable is the table name for the Host entity. // It exists in this package in order to avoid circular dependency with the "host" package. TargetingInverseTable = "hosts" // TargetingColumn is the table column denoting the targeting relation/edge. TargetingColumn = "host_actions" )
Variables ¶
var ( // DefaultQueued holds the default value on creation for the "queued" field. DefaultQueued bool // DefaultResponded holds the default value on creation for the "responded" field. DefaultResponded bool // DefaultResult holds the default value on creation for the "result" field. DefaultResult string )
var Columns = []string{ FieldID, FieldUUID, FieldMode, FieldArgs, FieldQueued, FieldResponded, FieldResult, }
Columns holds all SQL columns for action fields.
var ForeignKeys = []string{
"host_actions",
}
ForeignKeys holds the SQL foreign-keys that are owned by the Action type.
Functions ¶
func ArgsContains ¶
ArgsContains applies the Contains predicate on the "args" field.
func ArgsContainsFold ¶
ArgsContainsFold applies the ContainsFold predicate on the "args" field.
func ArgsEqualFold ¶
ArgsEqualFold applies the EqualFold predicate on the "args" field.
func ArgsHasPrefix ¶
ArgsHasPrefix applies the HasPrefix predicate on the "args" field.
func ArgsHasSuffix ¶
ArgsHasSuffix applies the HasSuffix predicate on the "args" field.
func HasTargeting ¶
HasTargeting applies the HasEdge predicate on the "targeting" edge.
func HasTargetingWith ¶
HasTargetingWith applies the HasEdge predicate on the "targeting" edge with a given conditions (other predicates).
func ModeContains ¶
ModeContains applies the Contains predicate on the "mode" field.
func ModeContainsFold ¶
ModeContainsFold applies the ContainsFold predicate on the "mode" field.
func ModeEqualFold ¶
ModeEqualFold applies the EqualFold predicate on the "mode" field.
func ModeHasPrefix ¶
ModeHasPrefix applies the HasPrefix predicate on the "mode" field.
func ModeHasSuffix ¶
ModeHasSuffix applies the HasSuffix predicate on the "mode" field.
func Queued ¶
Queued applies equality check predicate on the "queued" field. It's identical to QueuedEQ.
func Responded ¶
Responded applies equality check predicate on the "responded" field. It's identical to RespondedEQ.
func RespondedEQ ¶
RespondedEQ applies the EQ predicate on the "responded" field.
func RespondedNEQ ¶
RespondedNEQ applies the NEQ predicate on the "responded" field.
func Result ¶
Result applies equality check predicate on the "result" field. It's identical to ResultEQ.
func ResultContains ¶
ResultContains applies the Contains predicate on the "result" field.
func ResultContainsFold ¶
ResultContainsFold applies the ContainsFold predicate on the "result" field.
func ResultEqualFold ¶
ResultEqualFold applies the EqualFold predicate on the "result" field.
func ResultHasPrefix ¶
ResultHasPrefix applies the HasPrefix predicate on the "result" field.
func ResultHasSuffix ¶
ResultHasSuffix applies the HasSuffix predicate on the "result" field.
func ResultNotIn ¶
ResultNotIn applies the NotIn predicate on the "result" field.
func UUIDContains ¶
UUIDContains applies the Contains predicate on the "uuid" field.
func UUIDContainsFold ¶
UUIDContainsFold applies the ContainsFold predicate on the "uuid" field.
func UUIDEqualFold ¶
UUIDEqualFold applies the EqualFold predicate on the "uuid" field.
func UUIDHasPrefix ¶
UUIDHasPrefix applies the HasPrefix predicate on the "uuid" field.
func UUIDHasSuffix ¶
UUIDHasSuffix applies the HasSuffix predicate on the "uuid" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.