Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Namespace) predicate.Namespace
- func Config(v string) predicate.Namespace
- func ConfigContains(v string) predicate.Namespace
- func ConfigContainsFold(v string) predicate.Namespace
- func ConfigEQ(v string) predicate.Namespace
- func ConfigEqualFold(v string) predicate.Namespace
- func ConfigGT(v string) predicate.Namespace
- func ConfigGTE(v string) predicate.Namespace
- func ConfigHasPrefix(v string) predicate.Namespace
- func ConfigHasSuffix(v string) predicate.Namespace
- func ConfigIn(vs ...string) predicate.Namespace
- func ConfigLT(v string) predicate.Namespace
- func ConfigLTE(v string) predicate.Namespace
- func ConfigNEQ(v string) predicate.Namespace
- func ConfigNotIn(vs ...string) predicate.Namespace
- func CreatedAt(v time.Time) predicate.Namespace
- func CreatedAtEQ(v time.Time) predicate.Namespace
- func CreatedAtGT(v time.Time) predicate.Namespace
- func CreatedAtGTE(v time.Time) predicate.Namespace
- func CreatedAtIn(vs ...time.Time) predicate.Namespace
- func CreatedAtLT(v time.Time) predicate.Namespace
- func CreatedAtLTE(v time.Time) predicate.Namespace
- func CreatedAtNEQ(v time.Time) predicate.Namespace
- func CreatedAtNotIn(vs ...time.Time) predicate.Namespace
- func HasCloudevents() predicate.Namespace
- func HasCloudeventsWith(preds ...predicate.CloudEvents) predicate.Namespace
- func HasInodes() predicate.Namespace
- func HasInodesWith(preds ...predicate.Inode) predicate.Namespace
- func HasInstances() predicate.Namespace
- func HasInstancesWith(preds ...predicate.Instance) predicate.Namespace
- func HasLogs() predicate.Namespace
- func HasLogsWith(preds ...predicate.LogMsg) predicate.Namespace
- func HasVars() predicate.Namespace
- func HasVarsWith(preds ...predicate.VarRef) predicate.Namespace
- func HasWorkflows() predicate.Namespace
- func HasWorkflowsWith(preds ...predicate.Workflow) predicate.Namespace
- func ID(id uuid.UUID) predicate.Namespace
- func IDEQ(id uuid.UUID) predicate.Namespace
- func IDGT(id uuid.UUID) predicate.Namespace
- func IDGTE(id uuid.UUID) predicate.Namespace
- func IDIn(ids ...uuid.UUID) predicate.Namespace
- func IDLT(id uuid.UUID) predicate.Namespace
- func IDLTE(id uuid.UUID) predicate.Namespace
- func IDNEQ(id uuid.UUID) predicate.Namespace
- func IDNotIn(ids ...uuid.UUID) predicate.Namespace
- func Name(v string) predicate.Namespace
- func NameContains(v string) predicate.Namespace
- func NameContainsFold(v string) predicate.Namespace
- func NameEQ(v string) predicate.Namespace
- func NameEqualFold(v string) predicate.Namespace
- func NameGT(v string) predicate.Namespace
- func NameGTE(v string) predicate.Namespace
- func NameHasPrefix(v string) predicate.Namespace
- func NameHasSuffix(v string) predicate.Namespace
- func NameIn(vs ...string) predicate.Namespace
- func NameLT(v string) predicate.Namespace
- func NameLTE(v string) predicate.Namespace
- func NameNEQ(v string) predicate.Namespace
- func NameNotIn(vs ...string) predicate.Namespace
- func Not(p predicate.Namespace) predicate.Namespace
- func Or(predicates ...predicate.Namespace) predicate.Namespace
- func UpdatedAt(v time.Time) predicate.Namespace
- func UpdatedAtEQ(v time.Time) predicate.Namespace
- func UpdatedAtGT(v time.Time) predicate.Namespace
- func UpdatedAtGTE(v time.Time) predicate.Namespace
- func UpdatedAtIn(vs ...time.Time) predicate.Namespace
- func UpdatedAtLT(v time.Time) predicate.Namespace
- func UpdatedAtLTE(v time.Time) predicate.Namespace
- func UpdatedAtNEQ(v time.Time) predicate.Namespace
- func UpdatedAtNotIn(vs ...time.Time) predicate.Namespace
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the namespace type in the database. Label = "namespace" // FieldID holds the string denoting the id field in the database. FieldID = "oid" // 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" // FieldConfig holds the string denoting the config field in the database. FieldConfig = "config" // FieldName holds the string denoting the name field in the database. FieldName = "name" // EdgeInodes holds the string denoting the inodes edge name in mutations. EdgeInodes = "inodes" // EdgeWorkflows holds the string denoting the workflows edge name in mutations. EdgeWorkflows = "workflows" // EdgeInstances holds the string denoting the instances edge name in mutations. EdgeInstances = "instances" // EdgeLogs holds the string denoting the logs edge name in mutations. EdgeLogs = "logs" // EdgeVars holds the string denoting the vars edge name in mutations. EdgeVars = "vars" // EdgeCloudevents holds the string denoting the cloudevents edge name in mutations. EdgeCloudevents = "cloudevents" // Table holds the table name of the namespace in the database. Table = "namespaces" // InodesTable is the table that holds the inodes relation/edge. InodesTable = "inodes" // InodesInverseTable is the table name for the Inode entity. // It exists in this package in order to avoid circular dependency with the "inode" package. InodesInverseTable = "inodes" // InodesColumn is the table column denoting the inodes relation/edge. InodesColumn = "namespace_inodes" // WorkflowsTable is the table that holds the workflows relation/edge. WorkflowsTable = "workflows" // WorkflowsInverseTable is the table name for the Workflow entity. // It exists in this package in order to avoid circular dependency with the "workflow" package. WorkflowsInverseTable = "workflows" // WorkflowsColumn is the table column denoting the workflows relation/edge. WorkflowsColumn = "namespace_workflows" // InstancesTable is the table that holds the instances relation/edge. InstancesTable = "instances" // InstancesInverseTable is the table name for the Instance entity. // It exists in this package in order to avoid circular dependency with the "instance" package. InstancesInverseTable = "instances" // InstancesColumn is the table column denoting the instances relation/edge. InstancesColumn = "namespace_instances" // LogsTable is the table that holds the logs relation/edge. LogsTable = "log_msgs" // LogsInverseTable is the table name for the LogMsg entity. // It exists in this package in order to avoid circular dependency with the "logmsg" package. LogsInverseTable = "log_msgs" // LogsColumn is the table column denoting the logs relation/edge. LogsColumn = "namespace_logs" // VarsTable is the table that holds the vars relation/edge. VarsTable = "var_refs" // VarsInverseTable is the table name for the VarRef entity. // It exists in this package in order to avoid circular dependency with the "varref" package. VarsInverseTable = "var_refs" // VarsColumn is the table column denoting the vars relation/edge. VarsColumn = "namespace_vars" // CloudeventsTable is the table that holds the cloudevents relation/edge. CloudeventsTable = "cloud_events" // CloudeventsInverseTable is the table name for the CloudEvents entity. // It exists in this package in order to avoid circular dependency with the "cloudevents" package. CloudeventsInverseTable = "cloud_events" // CloudeventsColumn is the table column denoting the cloudevents relation/edge. CloudeventsColumn = "namespace_cloudevents" )
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 // DefaultConfig holds the default value on creation for the "config" field. DefaultConfig string // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldConfig, FieldName, }
Columns holds all SQL columns for namespace fields.
Functions ¶
func Config ¶ added in v0.5.5
Config applies equality check predicate on the "config" field. It's identical to ConfigEQ.
func ConfigContains ¶ added in v0.5.5
ConfigContains applies the Contains predicate on the "config" field.
func ConfigContainsFold ¶ added in v0.5.5
ConfigContainsFold applies the ContainsFold predicate on the "config" field.
func ConfigEqualFold ¶ added in v0.5.5
ConfigEqualFold applies the EqualFold predicate on the "config" field.
func ConfigHasPrefix ¶ added in v0.5.5
ConfigHasPrefix applies the HasPrefix predicate on the "config" field.
func ConfigHasSuffix ¶ added in v0.5.5
ConfigHasSuffix applies the HasSuffix predicate on the "config" field.
func ConfigNotIn ¶ added in v0.5.5
ConfigNotIn applies the NotIn predicate on the "config" 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 HasCloudevents ¶
HasCloudevents applies the HasEdge predicate on the "cloudevents" edge.
func HasCloudeventsWith ¶
func HasCloudeventsWith(preds ...predicate.CloudEvents) predicate.Namespace
HasCloudeventsWith applies the HasEdge predicate on the "cloudevents" edge with a given conditions (other predicates).
func HasInodesWith ¶
HasInodesWith applies the HasEdge predicate on the "inodes" edge with a given conditions (other predicates).
func HasInstances ¶
HasInstances applies the HasEdge predicate on the "instances" edge.
func HasInstancesWith ¶
HasInstancesWith applies the HasEdge predicate on the "instances" edge with a given conditions (other predicates).
func HasLogsWith ¶
HasLogsWith applies the HasEdge predicate on the "logs" edge with a given conditions (other predicates).
func HasVarsWith ¶
HasVarsWith applies the HasEdge predicate on the "vars" edge with a given conditions (other predicates).
func HasWorkflows ¶
HasWorkflows applies the HasEdge predicate on the "workflows" edge.
func HasWorkflowsWith ¶
HasWorkflowsWith applies the HasEdge predicate on the "workflows" edge with a given conditions (other predicates).
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 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).
Types ¶
This section is empty.