Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Task) predicate.Task
- func CapAddIsNil() predicate.Task
- func CapAddNotNil() predicate.Task
- func Cmd(v string) predicate.Task
- func CmdContains(v string) predicate.Task
- func CmdContainsFold(v string) predicate.Task
- func CmdEQ(v string) predicate.Task
- func CmdEqualFold(v string) predicate.Task
- func CmdGT(v string) predicate.Task
- func CmdGTE(v string) predicate.Task
- func CmdHasPrefix(v string) predicate.Task
- func CmdHasSuffix(v string) predicate.Task
- func CmdIn(vs ...string) predicate.Task
- func CmdIsNil() predicate.Task
- func CmdLT(v string) predicate.Task
- func CmdLTE(v string) predicate.Task
- func CmdNEQ(v string) predicate.Task
- func CmdNotIn(vs ...string) predicate.Task
- func CmdNotNil() predicate.Task
- func CreatedAt(v time.Time) predicate.Task
- func CreatedAtEQ(v time.Time) predicate.Task
- func CreatedAtGT(v time.Time) predicate.Task
- func CreatedAtGTE(v time.Time) predicate.Task
- func CreatedAtIn(vs ...time.Time) predicate.Task
- func CreatedAtLT(v time.Time) predicate.Task
- func CreatedAtLTE(v time.Time) predicate.Task
- func CreatedAtNEQ(v time.Time) predicate.Task
- func CreatedAtNotIn(vs ...time.Time) predicate.Task
- func Detached(v bool) predicate.Task
- func DetachedEQ(v bool) predicate.Task
- func DetachedIsNil() predicate.Task
- func DetachedNEQ(v bool) predicate.Task
- func DetachedNotNil() predicate.Task
- func EnvironmentIsNil() predicate.Task
- func EnvironmentNotNil() predicate.Task
- func HasDeployment() predicate.Task
- func HasDeploymentWith(preds ...predicate.Deployment) predicate.Task
- func ID(id uuid.UUID) predicate.Task
- func IDEQ(id uuid.UUID) predicate.Task
- func IDGT(id uuid.UUID) predicate.Task
- func IDGTE(id uuid.UUID) predicate.Task
- func IDIn(ids ...uuid.UUID) predicate.Task
- func IDLT(id uuid.UUID) predicate.Task
- func IDLTE(id uuid.UUID) predicate.Task
- func IDNEQ(id uuid.UUID) predicate.Task
- func IDNotIn(ids ...uuid.UUID) predicate.Task
- func Image(v string) predicate.Task
- func ImageContains(v string) predicate.Task
- func ImageContainsFold(v string) predicate.Task
- func ImageEQ(v string) predicate.Task
- func ImageEqualFold(v string) predicate.Task
- func ImageGT(v string) predicate.Task
- func ImageGTE(v string) predicate.Task
- func ImageHasPrefix(v string) predicate.Task
- func ImageHasSuffix(v string) predicate.Task
- func ImageIn(vs ...string) predicate.Task
- func ImageLT(v string) predicate.Task
- func ImageLTE(v string) predicate.Task
- func ImageNEQ(v string) predicate.Task
- func ImageNotIn(vs ...string) predicate.Task
- func Name(v string) predicate.Task
- func NameContains(v string) predicate.Task
- func NameContainsFold(v string) predicate.Task
- func NameEQ(v string) predicate.Task
- func NameEqualFold(v string) predicate.Task
- func NameGT(v string) predicate.Task
- func NameGTE(v string) predicate.Task
- func NameHasPrefix(v string) predicate.Task
- func NameHasSuffix(v string) predicate.Task
- func NameIn(vs ...string) predicate.Task
- func NameIsNil() predicate.Task
- func NameLT(v string) predicate.Task
- func NameLTE(v string) predicate.Task
- func NameNEQ(v string) predicate.Task
- func NameNotIn(vs ...string) predicate.Task
- func NameNotNil() predicate.Task
- func Not(p predicate.Task) predicate.Task
- func Or(predicates ...predicate.Task) predicate.Task
- func PortsIsNil() predicate.Task
- func PortsNotNil() predicate.Task
- func Restart(v string) predicate.Task
- func RestartContains(v string) predicate.Task
- func RestartContainsFold(v string) predicate.Task
- func RestartEQ(v string) predicate.Task
- func RestartEqualFold(v string) predicate.Task
- func RestartGT(v string) predicate.Task
- func RestartGTE(v string) predicate.Task
- func RestartHasPrefix(v string) predicate.Task
- func RestartHasSuffix(v string) predicate.Task
- func RestartIn(vs ...string) predicate.Task
- func RestartIsNil() predicate.Task
- func RestartLT(v string) predicate.Task
- func RestartLTE(v string) predicate.Task
- func RestartNEQ(v string) predicate.Task
- func RestartNotIn(vs ...string) predicate.Task
- func RestartNotNil() predicate.Task
- func SecurityOptIsNil() predicate.Task
- func SecurityOptNotNil() predicate.Task
- func Timeout(v int) predicate.Task
- func TimeoutEQ(v int) predicate.Task
- func TimeoutGT(v int) predicate.Task
- func TimeoutGTE(v int) predicate.Task
- func TimeoutIn(vs ...int) predicate.Task
- func TimeoutIsNil() predicate.Task
- func TimeoutLT(v int) predicate.Task
- func TimeoutLTE(v int) predicate.Task
- func TimeoutNEQ(v int) predicate.Task
- func TimeoutNotIn(vs ...int) predicate.Task
- func TimeoutNotNil() predicate.Task
- func UpdatedAt(v time.Time) predicate.Task
- func UpdatedAtEQ(v time.Time) predicate.Task
- func UpdatedAtGT(v time.Time) predicate.Task
- func UpdatedAtGTE(v time.Time) predicate.Task
- func UpdatedAtIn(vs ...time.Time) predicate.Task
- func UpdatedAtLT(v time.Time) predicate.Task
- func UpdatedAtLTE(v time.Time) predicate.Task
- func UpdatedAtNEQ(v time.Time) predicate.Task
- func UpdatedAtNotIn(vs ...time.Time) predicate.Task
- func ValidColumn(column string) bool
- func VolumesIsNil() predicate.Task
- func VolumesNotNil() predicate.Task
Constants ¶
const ( // Label holds the string label denoting the task type in the database. Label = "task" // 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" // FieldImage holds the string denoting the image field in the database. FieldImage = "image" // FieldTimeout holds the string denoting the timeout field in the database. FieldTimeout = "timeout" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldCmd holds the string denoting the cmd field in the database. FieldCmd = "cmd" // FieldDetached holds the string denoting the detached field in the database. FieldDetached = "detached" // FieldEnvironment holds the string denoting the environment field in the database. FieldEnvironment = "environment" // FieldPorts holds the string denoting the ports field in the database. FieldPorts = "ports" // FieldVolumes holds the string denoting the volumes field in the database. FieldVolumes = "volumes" // FieldRestart holds the string denoting the restart field in the database. FieldRestart = "restart" // FieldSecurityOpt holds the string denoting the security_opt field in the database. FieldSecurityOpt = "security_opt" // FieldCapAdd holds the string denoting the cap_add field in the database. FieldCapAdd = "cap_add" // EdgeDeployment holds the string denoting the deployment edge name in mutations. EdgeDeployment = "deployment" // Table holds the table name of the task in the database. Table = "tasks" // DeploymentTable is the table that holds the deployment relation/edge. DeploymentTable = "tasks" // DeploymentInverseTable is the table name for the Deployment entity. // It exists in this package in order to avoid circular dependency with the "deployment" package. DeploymentInverseTable = "deployments" // DeploymentColumn is the table column denoting the deployment relation/edge. DeploymentColumn = "deployment_tasks" )
Variables ¶
var ( // 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 // DefaultDetached holds the default value on creation for the "detached" field. DefaultDetached bool // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldImage, FieldTimeout, FieldName, FieldCmd, FieldDetached, FieldEnvironment, FieldPorts, FieldVolumes, FieldRestart, FieldSecurityOpt, FieldCapAdd, }
Columns holds all SQL columns for task fields.
var ForeignKeys = []string{
"deployment_tasks",
"process_tasks",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "tasks" table and are not defined as standalone fields in the schema.
Functions ¶
func CapAddIsNil ¶
CapAddIsNil applies the IsNil predicate on the "cap_add" field.
func CapAddNotNil ¶
CapAddNotNil applies the NotNil predicate on the "cap_add" field.
func CmdContains ¶
CmdContains applies the Contains predicate on the "cmd" field.
func CmdContainsFold ¶
CmdContainsFold applies the ContainsFold predicate on the "cmd" field.
func CmdEqualFold ¶
CmdEqualFold applies the EqualFold predicate on the "cmd" field.
func CmdHasPrefix ¶
CmdHasPrefix applies the HasPrefix predicate on the "cmd" field.
func CmdHasSuffix ¶
CmdHasSuffix applies the HasSuffix predicate on the "cmd" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Detached ¶
Detached applies equality check predicate on the "detached" field. It's identical to DetachedEQ.
func DetachedEQ ¶
DetachedEQ applies the EQ predicate on the "detached" field.
func DetachedIsNil ¶
DetachedIsNil applies the IsNil predicate on the "detached" field.
func DetachedNEQ ¶
DetachedNEQ applies the NEQ predicate on the "detached" field.
func DetachedNotNil ¶
DetachedNotNil applies the NotNil predicate on the "detached" field.
func EnvironmentIsNil ¶
EnvironmentIsNil applies the IsNil predicate on the "environment" field.
func EnvironmentNotNil ¶
EnvironmentNotNil applies the NotNil predicate on the "environment" field.
func HasDeployment ¶
HasDeployment applies the HasEdge predicate on the "deployment" edge.
func HasDeploymentWith ¶
func HasDeploymentWith(preds ...predicate.Deployment) predicate.Task
HasDeploymentWith applies the HasEdge predicate on the "deployment" edge with a given conditions (other predicates).
func Image ¶
Image applies equality check predicate on the "image" field. It's identical to ImageEQ.
func ImageContains ¶
ImageContains applies the Contains predicate on the "image" field.
func ImageContainsFold ¶
ImageContainsFold applies the ContainsFold predicate on the "image" field.
func ImageEqualFold ¶
ImageEqualFold applies the EqualFold predicate on the "image" field.
func ImageHasPrefix ¶
ImageHasPrefix applies the HasPrefix predicate on the "image" field.
func ImageHasSuffix ¶
ImageHasSuffix applies the HasSuffix predicate on the "image" field.
func ImageNotIn ¶
ImageNotIn applies the NotIn predicate on the "image" 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 NameNotNil ¶
NameNotNil applies the NotNil predicate on the "name" field.
func PortsIsNil ¶
PortsIsNil applies the IsNil predicate on the "ports" field.
func PortsNotNil ¶
PortsNotNil applies the NotNil predicate on the "ports" field.
func Restart ¶
Restart applies equality check predicate on the "restart" field. It's identical to RestartEQ.
func RestartContains ¶
RestartContains applies the Contains predicate on the "restart" field.
func RestartContainsFold ¶
RestartContainsFold applies the ContainsFold predicate on the "restart" field.
func RestartEqualFold ¶
RestartEqualFold applies the EqualFold predicate on the "restart" field.
func RestartGTE ¶
RestartGTE applies the GTE predicate on the "restart" field.
func RestartHasPrefix ¶
RestartHasPrefix applies the HasPrefix predicate on the "restart" field.
func RestartHasSuffix ¶
RestartHasSuffix applies the HasSuffix predicate on the "restart" field.
func RestartIsNil ¶
RestartIsNil applies the IsNil predicate on the "restart" field.
func RestartLTE ¶
RestartLTE applies the LTE predicate on the "restart" field.
func RestartNEQ ¶
RestartNEQ applies the NEQ predicate on the "restart" field.
func RestartNotIn ¶
RestartNotIn applies the NotIn predicate on the "restart" field.
func RestartNotNil ¶
RestartNotNil applies the NotNil predicate on the "restart" field.
func SecurityOptIsNil ¶
SecurityOptIsNil applies the IsNil predicate on the "security_opt" field.
func SecurityOptNotNil ¶
SecurityOptNotNil applies the NotNil predicate on the "security_opt" field.
func Timeout ¶
Timeout applies equality check predicate on the "timeout" field. It's identical to TimeoutEQ.
func TimeoutGTE ¶
TimeoutGTE applies the GTE predicate on the "timeout" field.
func TimeoutIsNil ¶
TimeoutIsNil applies the IsNil predicate on the "timeout" field.
func TimeoutLTE ¶
TimeoutLTE applies the LTE predicate on the "timeout" field.
func TimeoutNEQ ¶
TimeoutNEQ applies the NEQ predicate on the "timeout" field.
func TimeoutNotIn ¶
TimeoutNotIn applies the NotIn predicate on the "timeout" field.
func TimeoutNotNil ¶
TimeoutNotNil applies the NotNil predicate on the "timeout" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func VolumesIsNil ¶
VolumesIsNil applies the IsNil predicate on the "volumes" field.
func VolumesNotNil ¶
VolumesNotNil applies the NotNil predicate on the "volumes" field.
Types ¶
This section is empty.