Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Provider) predicate.Provider
- func CreatedAt(v time.Time) predicate.Provider
- func CreatedAtEQ(v time.Time) predicate.Provider
- func CreatedAtGT(v time.Time) predicate.Provider
- func CreatedAtGTE(v time.Time) predicate.Provider
- func CreatedAtIn(vs ...time.Time) predicate.Provider
- func CreatedAtLT(v time.Time) predicate.Provider
- func CreatedAtLTE(v time.Time) predicate.Provider
- func CreatedAtNEQ(v time.Time) predicate.Provider
- func CreatedAtNotIn(vs ...time.Time) predicate.Provider
- func HasDeployment() predicate.Provider
- func HasDeploymentWith(preds ...predicate.Deployment) predicate.Provider
- func Hostname(v string) predicate.Provider
- func HostnameContains(v string) predicate.Provider
- func HostnameContainsFold(v string) predicate.Provider
- func HostnameEQ(v string) predicate.Provider
- func HostnameEqualFold(v string) predicate.Provider
- func HostnameGT(v string) predicate.Provider
- func HostnameGTE(v string) predicate.Provider
- func HostnameHasPrefix(v string) predicate.Provider
- func HostnameHasSuffix(v string) predicate.Provider
- func HostnameIn(vs ...string) predicate.Provider
- func HostnameLT(v string) predicate.Provider
- func HostnameLTE(v string) predicate.Provider
- func HostnameNEQ(v string) predicate.Provider
- func HostnameNotIn(vs ...string) predicate.Provider
- func ID(id uuid.UUID) predicate.Provider
- func IDEQ(id uuid.UUID) predicate.Provider
- func IDGT(id uuid.UUID) predicate.Provider
- func IDGTE(id uuid.UUID) predicate.Provider
- func IDIn(ids ...uuid.UUID) predicate.Provider
- func IDLT(id uuid.UUID) predicate.Provider
- func IDLTE(id uuid.UUID) predicate.Provider
- func IDNEQ(id uuid.UUID) predicate.Provider
- func IDNotIn(ids ...uuid.UUID) predicate.Provider
- func Not(p predicate.Provider) predicate.Provider
- func Or(predicates ...predicate.Provider) predicate.Provider
- func Token(v string) predicate.Provider
- func TokenContains(v string) predicate.Provider
- func TokenContainsFold(v string) predicate.Provider
- func TokenEQ(v string) predicate.Provider
- func TokenEqualFold(v string) predicate.Provider
- func TokenGT(v string) predicate.Provider
- func TokenGTE(v string) predicate.Provider
- func TokenHasPrefix(v string) predicate.Provider
- func TokenHasSuffix(v string) predicate.Provider
- func TokenIn(vs ...string) predicate.Provider
- func TokenLT(v string) predicate.Provider
- func TokenLTE(v string) predicate.Provider
- func TokenNEQ(v string) predicate.Provider
- func TokenNotIn(vs ...string) predicate.Provider
- func UpdatedAt(v time.Time) predicate.Provider
- func UpdatedAtEQ(v time.Time) predicate.Provider
- func UpdatedAtGT(v time.Time) predicate.Provider
- func UpdatedAtGTE(v time.Time) predicate.Provider
- func UpdatedAtIn(vs ...time.Time) predicate.Provider
- func UpdatedAtLT(v time.Time) predicate.Provider
- func UpdatedAtLTE(v time.Time) predicate.Provider
- func UpdatedAtNEQ(v time.Time) predicate.Provider
- func UpdatedAtNotIn(vs ...time.Time) predicate.Provider
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the provider type in the database. Label = "provider" // 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" // FieldHostname holds the string denoting the hostname field in the database. FieldHostname = "hostname" // FieldToken holds the string denoting the token field in the database. FieldToken = "token" // EdgeDeployment holds the string denoting the deployment edge name in mutations. EdgeDeployment = "deployment" // Table holds the table name of the provider in the database. Table = "providers" // DeploymentTable is the table that holds the deployment relation/edge. DeploymentTable = "deployments" // 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_provider" )
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 // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldHostname, FieldToken, }
Columns holds all SQL columns for provider fields.
Functions ¶
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 HasDeployment ¶
HasDeployment applies the HasEdge predicate on the "deployment" edge.
func HasDeploymentWith ¶
func HasDeploymentWith(preds ...predicate.Deployment) predicate.Provider
HasDeploymentWith applies the HasEdge predicate on the "deployment" edge with a given conditions (other predicates).
func Hostname ¶
Hostname applies equality check predicate on the "hostname" field. It's identical to HostnameEQ.
func HostnameContains ¶
HostnameContains applies the Contains predicate on the "hostname" field.
func HostnameContainsFold ¶
HostnameContainsFold applies the ContainsFold predicate on the "hostname" field.
func HostnameEQ ¶
HostnameEQ applies the EQ predicate on the "hostname" field.
func HostnameEqualFold ¶
HostnameEqualFold applies the EqualFold predicate on the "hostname" field.
func HostnameGT ¶
HostnameGT applies the GT predicate on the "hostname" field.
func HostnameGTE ¶
HostnameGTE applies the GTE predicate on the "hostname" field.
func HostnameHasPrefix ¶
HostnameHasPrefix applies the HasPrefix predicate on the "hostname" field.
func HostnameHasSuffix ¶
HostnameHasSuffix applies the HasSuffix predicate on the "hostname" field.
func HostnameIn ¶
HostnameIn applies the In predicate on the "hostname" field.
func HostnameLT ¶
HostnameLT applies the LT predicate on the "hostname" field.
func HostnameLTE ¶
HostnameLTE applies the LTE predicate on the "hostname" field.
func HostnameNEQ ¶
HostnameNEQ applies the NEQ predicate on the "hostname" field.
func HostnameNotIn ¶
HostnameNotIn applies the NotIn predicate on the "hostname" field.
func Token ¶
Token applies equality check predicate on the "token" field. It's identical to TokenEQ.
func TokenContains ¶
TokenContains applies the Contains predicate on the "token" field.
func TokenContainsFold ¶
TokenContainsFold applies the ContainsFold predicate on the "token" field.
func TokenEqualFold ¶
TokenEqualFold applies the EqualFold predicate on the "token" field.
func TokenHasPrefix ¶
TokenHasPrefix applies the HasPrefix predicate on the "token" field.
func TokenHasSuffix ¶
TokenHasSuffix applies the HasSuffix predicate on the "token" field.
func TokenNotIn ¶
TokenNotIn applies the NotIn predicate on the "token" 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.