Documentation
¶
Index ¶
- Constants
- Variables
- func ActiveState(v string) predicate.Plugin
- func ActiveStateChangedAt(v time.Time) predicate.Plugin
- func ActiveStateChangedAtEQ(v time.Time) predicate.Plugin
- func ActiveStateChangedAtGT(v time.Time) predicate.Plugin
- func ActiveStateChangedAtGTE(v time.Time) predicate.Plugin
- func ActiveStateChangedAtIn(vs ...time.Time) predicate.Plugin
- func ActiveStateChangedAtLT(v time.Time) predicate.Plugin
- func ActiveStateChangedAtLTE(v time.Time) predicate.Plugin
- func ActiveStateChangedAtNEQ(v time.Time) predicate.Plugin
- func ActiveStateChangedAtNotIn(vs ...time.Time) predicate.Plugin
- func ActiveStateContains(v string) predicate.Plugin
- func ActiveStateContainsFold(v string) predicate.Plugin
- func ActiveStateEQ(v string) predicate.Plugin
- func ActiveStateEqualFold(v string) predicate.Plugin
- func ActiveStateGT(v string) predicate.Plugin
- func ActiveStateGTE(v string) predicate.Plugin
- func ActiveStateHasPrefix(v string) predicate.Plugin
- func ActiveStateHasSuffix(v string) predicate.Plugin
- func ActiveStateIn(vs ...string) predicate.Plugin
- func ActiveStateLT(v string) predicate.Plugin
- func ActiveStateLTE(v string) predicate.Plugin
- func ActiveStateNEQ(v string) predicate.Plugin
- func ActiveStateNotIn(vs ...string) predicate.Plugin
- func AddedBy(v xid.ID) predicate.Plugin
- func AddedByContains(v xid.ID) predicate.Plugin
- func AddedByContainsFold(v xid.ID) predicate.Plugin
- func AddedByEQ(v xid.ID) predicate.Plugin
- func AddedByEqualFold(v xid.ID) predicate.Plugin
- func AddedByGT(v xid.ID) predicate.Plugin
- func AddedByGTE(v xid.ID) predicate.Plugin
- func AddedByHasPrefix(v xid.ID) predicate.Plugin
- func AddedByHasSuffix(v xid.ID) predicate.Plugin
- func AddedByIn(vs ...xid.ID) predicate.Plugin
- func AddedByLT(v xid.ID) predicate.Plugin
- func AddedByLTE(v xid.ID) predicate.Plugin
- func AddedByNEQ(v xid.ID) predicate.Plugin
- func AddedByNotIn(vs ...xid.ID) predicate.Plugin
- func And(predicates ...predicate.Plugin) predicate.Plugin
- func AuthSecret(v string) predicate.Plugin
- func AuthSecretContains(v string) predicate.Plugin
- func AuthSecretContainsFold(v string) predicate.Plugin
- func AuthSecretEQ(v string) predicate.Plugin
- func AuthSecretEqualFold(v string) predicate.Plugin
- func AuthSecretGT(v string) predicate.Plugin
- func AuthSecretGTE(v string) predicate.Plugin
- func AuthSecretHasPrefix(v string) predicate.Plugin
- func AuthSecretHasSuffix(v string) predicate.Plugin
- func AuthSecretIn(vs ...string) predicate.Plugin
- func AuthSecretLT(v string) predicate.Plugin
- func AuthSecretLTE(v string) predicate.Plugin
- func AuthSecretNEQ(v string) predicate.Plugin
- func AuthSecretNotIn(vs ...string) predicate.Plugin
- func CreatedAt(v time.Time) predicate.Plugin
- func CreatedAtEQ(v time.Time) predicate.Plugin
- func CreatedAtGT(v time.Time) predicate.Plugin
- func CreatedAtGTE(v time.Time) predicate.Plugin
- func CreatedAtIn(vs ...time.Time) predicate.Plugin
- func CreatedAtLT(v time.Time) predicate.Plugin
- func CreatedAtLTE(v time.Time) predicate.Plugin
- func CreatedAtNEQ(v time.Time) predicate.Plugin
- func CreatedAtNotIn(vs ...time.Time) predicate.Plugin
- func HasAccount() predicate.Plugin
- func HasAccountWith(preds ...predicate.Account) predicate.Plugin
- func ID(id xid.ID) predicate.Plugin
- func IDEQ(id xid.ID) predicate.Plugin
- func IDGT(id xid.ID) predicate.Plugin
- func IDGTE(id xid.ID) predicate.Plugin
- func IDIn(ids ...xid.ID) predicate.Plugin
- func IDLT(id xid.ID) predicate.Plugin
- func IDLTE(id xid.ID) predicate.Plugin
- func IDNEQ(id xid.ID) predicate.Plugin
- func IDNotIn(ids ...xid.ID) predicate.Plugin
- func Not(p predicate.Plugin) predicate.Plugin
- func Or(predicates ...predicate.Plugin) predicate.Plugin
- func StatusDetailsIsNil() predicate.Plugin
- func StatusDetailsNotNil() predicate.Plugin
- func StatusMessage(v string) predicate.Plugin
- func StatusMessageContains(v string) predicate.Plugin
- func StatusMessageContainsFold(v string) predicate.Plugin
- func StatusMessageEQ(v string) predicate.Plugin
- func StatusMessageEqualFold(v string) predicate.Plugin
- func StatusMessageGT(v string) predicate.Plugin
- func StatusMessageGTE(v string) predicate.Plugin
- func StatusMessageHasPrefix(v string) predicate.Plugin
- func StatusMessageHasSuffix(v string) predicate.Plugin
- func StatusMessageIn(vs ...string) predicate.Plugin
- func StatusMessageIsNil() predicate.Plugin
- func StatusMessageLT(v string) predicate.Plugin
- func StatusMessageLTE(v string) predicate.Plugin
- func StatusMessageNEQ(v string) predicate.Plugin
- func StatusMessageNotIn(vs ...string) predicate.Plugin
- func StatusMessageNotNil() predicate.Plugin
- func Supervised(v bool) predicate.Plugin
- func SupervisedEQ(v bool) predicate.Plugin
- func SupervisedNEQ(v bool) predicate.Plugin
- func UpdatedAt(v time.Time) predicate.Plugin
- func UpdatedAtEQ(v time.Time) predicate.Plugin
- func UpdatedAtGT(v time.Time) predicate.Plugin
- func UpdatedAtGTE(v time.Time) predicate.Plugin
- func UpdatedAtIn(vs ...time.Time) predicate.Plugin
- func UpdatedAtLT(v time.Time) predicate.Plugin
- func UpdatedAtLTE(v time.Time) predicate.Plugin
- func UpdatedAtNEQ(v time.Time) predicate.Plugin
- func UpdatedAtNotIn(vs ...time.Time) predicate.Plugin
- func ValidColumn(column string) bool
- type OrderOption
- func ByAccountField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByActiveState(opts ...sql.OrderTermOption) OrderOption
- func ByActiveStateChangedAt(opts ...sql.OrderTermOption) OrderOption
- func ByAddedBy(opts ...sql.OrderTermOption) OrderOption
- func ByAuthSecret(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByStatusMessage(opts ...sql.OrderTermOption) OrderOption
- func BySupervised(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the plugin type in the database. Label = "plugin" // 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" // FieldSupervised holds the string denoting the supervised field in the database. FieldSupervised = "supervised" // FieldManifest holds the string denoting the manifest field in the database. FieldManifest = "manifest" // FieldConfig holds the string denoting the config field in the database. FieldConfig = "config" // FieldActiveState holds the string denoting the active_state field in the database. FieldActiveState = "active_state" // FieldActiveStateChangedAt holds the string denoting the active_state_changed_at field in the database. FieldActiveStateChangedAt = "active_state_changed_at" // FieldStatusMessage holds the string denoting the status_message field in the database. FieldStatusMessage = "status_message" // FieldStatusDetails holds the string denoting the status_details field in the database. FieldStatusDetails = "status_details" // FieldAuthSecret holds the string denoting the auth_secret field in the database. FieldAuthSecret = "auth_secret" // FieldAddedBy holds the string denoting the added_by field in the database. FieldAddedBy = "added_by" // EdgeAccount holds the string denoting the account edge name in mutations. EdgeAccount = "account" // Table holds the table name of the plugin in the database. Table = "plugins" // AccountTable is the table that holds the account relation/edge. AccountTable = "plugins" // AccountInverseTable is the table name for the Account entity. // It exists in this package in order to avoid circular dependency with the "account" package. AccountInverseTable = "accounts" // AccountColumn is the table column denoting the account relation/edge. AccountColumn = "added_by" )
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() xid.ID // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(string) error )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldSupervised, FieldManifest, FieldConfig, FieldActiveState, FieldActiveStateChangedAt, FieldStatusMessage, FieldStatusDetails, FieldAuthSecret, FieldAddedBy, }
Columns holds all SQL columns for plugin fields.
Functions ¶
func ActiveState ¶
ActiveState applies equality check predicate on the "active_state" field. It's identical to ActiveStateEQ.
func ActiveStateChangedAt ¶
ActiveStateChangedAt applies equality check predicate on the "active_state_changed_at" field. It's identical to ActiveStateChangedAtEQ.
func ActiveStateChangedAtEQ ¶
ActiveStateChangedAtEQ applies the EQ predicate on the "active_state_changed_at" field.
func ActiveStateChangedAtGT ¶
ActiveStateChangedAtGT applies the GT predicate on the "active_state_changed_at" field.
func ActiveStateChangedAtGTE ¶
ActiveStateChangedAtGTE applies the GTE predicate on the "active_state_changed_at" field.
func ActiveStateChangedAtIn ¶
ActiveStateChangedAtIn applies the In predicate on the "active_state_changed_at" field.
func ActiveStateChangedAtLT ¶
ActiveStateChangedAtLT applies the LT predicate on the "active_state_changed_at" field.
func ActiveStateChangedAtLTE ¶
ActiveStateChangedAtLTE applies the LTE predicate on the "active_state_changed_at" field.
func ActiveStateChangedAtNEQ ¶
ActiveStateChangedAtNEQ applies the NEQ predicate on the "active_state_changed_at" field.
func ActiveStateChangedAtNotIn ¶
ActiveStateChangedAtNotIn applies the NotIn predicate on the "active_state_changed_at" field.
func ActiveStateContains ¶
ActiveStateContains applies the Contains predicate on the "active_state" field.
func ActiveStateContainsFold ¶
ActiveStateContainsFold applies the ContainsFold predicate on the "active_state" field.
func ActiveStateEQ ¶
ActiveStateEQ applies the EQ predicate on the "active_state" field.
func ActiveStateEqualFold ¶
ActiveStateEqualFold applies the EqualFold predicate on the "active_state" field.
func ActiveStateGT ¶
ActiveStateGT applies the GT predicate on the "active_state" field.
func ActiveStateGTE ¶
ActiveStateGTE applies the GTE predicate on the "active_state" field.
func ActiveStateHasPrefix ¶
ActiveStateHasPrefix applies the HasPrefix predicate on the "active_state" field.
func ActiveStateHasSuffix ¶
ActiveStateHasSuffix applies the HasSuffix predicate on the "active_state" field.
func ActiveStateIn ¶
ActiveStateIn applies the In predicate on the "active_state" field.
func ActiveStateLT ¶
ActiveStateLT applies the LT predicate on the "active_state" field.
func ActiveStateLTE ¶
ActiveStateLTE applies the LTE predicate on the "active_state" field.
func ActiveStateNEQ ¶
ActiveStateNEQ applies the NEQ predicate on the "active_state" field.
func ActiveStateNotIn ¶
ActiveStateNotIn applies the NotIn predicate on the "active_state" field.
func AddedBy ¶
AddedBy applies equality check predicate on the "added_by" field. It's identical to AddedByEQ.
func AddedByContains ¶
AddedByContains applies the Contains predicate on the "added_by" field.
func AddedByContainsFold ¶
AddedByContainsFold applies the ContainsFold predicate on the "added_by" field.
func AddedByEqualFold ¶
AddedByEqualFold applies the EqualFold predicate on the "added_by" field.
func AddedByGTE ¶
AddedByGTE applies the GTE predicate on the "added_by" field.
func AddedByHasPrefix ¶
AddedByHasPrefix applies the HasPrefix predicate on the "added_by" field.
func AddedByHasSuffix ¶
AddedByHasSuffix applies the HasSuffix predicate on the "added_by" field.
func AddedByLTE ¶
AddedByLTE applies the LTE predicate on the "added_by" field.
func AddedByNEQ ¶
AddedByNEQ applies the NEQ predicate on the "added_by" field.
func AddedByNotIn ¶
AddedByNotIn applies the NotIn predicate on the "added_by" field.
func AuthSecret ¶
AuthSecret applies equality check predicate on the "auth_secret" field. It's identical to AuthSecretEQ.
func AuthSecretContains ¶
AuthSecretContains applies the Contains predicate on the "auth_secret" field.
func AuthSecretContainsFold ¶
AuthSecretContainsFold applies the ContainsFold predicate on the "auth_secret" field.
func AuthSecretEQ ¶
AuthSecretEQ applies the EQ predicate on the "auth_secret" field.
func AuthSecretEqualFold ¶
AuthSecretEqualFold applies the EqualFold predicate on the "auth_secret" field.
func AuthSecretGT ¶
AuthSecretGT applies the GT predicate on the "auth_secret" field.
func AuthSecretGTE ¶
AuthSecretGTE applies the GTE predicate on the "auth_secret" field.
func AuthSecretHasPrefix ¶
AuthSecretHasPrefix applies the HasPrefix predicate on the "auth_secret" field.
func AuthSecretHasSuffix ¶
AuthSecretHasSuffix applies the HasSuffix predicate on the "auth_secret" field.
func AuthSecretIn ¶
AuthSecretIn applies the In predicate on the "auth_secret" field.
func AuthSecretLT ¶
AuthSecretLT applies the LT predicate on the "auth_secret" field.
func AuthSecretLTE ¶
AuthSecretLTE applies the LTE predicate on the "auth_secret" field.
func AuthSecretNEQ ¶
AuthSecretNEQ applies the NEQ predicate on the "auth_secret" field.
func AuthSecretNotIn ¶
AuthSecretNotIn applies the NotIn predicate on the "auth_secret" 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 HasAccount ¶
HasAccount applies the HasEdge predicate on the "account" edge.
func HasAccountWith ¶
HasAccountWith applies the HasEdge predicate on the "account" edge with a given conditions (other predicates).
func StatusDetailsIsNil ¶
StatusDetailsIsNil applies the IsNil predicate on the "status_details" field.
func StatusDetailsNotNil ¶
StatusDetailsNotNil applies the NotNil predicate on the "status_details" field.
func StatusMessage ¶
StatusMessage applies equality check predicate on the "status_message" field. It's identical to StatusMessageEQ.
func StatusMessageContains ¶
StatusMessageContains applies the Contains predicate on the "status_message" field.
func StatusMessageContainsFold ¶
StatusMessageContainsFold applies the ContainsFold predicate on the "status_message" field.
func StatusMessageEQ ¶
StatusMessageEQ applies the EQ predicate on the "status_message" field.
func StatusMessageEqualFold ¶
StatusMessageEqualFold applies the EqualFold predicate on the "status_message" field.
func StatusMessageGT ¶
StatusMessageGT applies the GT predicate on the "status_message" field.
func StatusMessageGTE ¶
StatusMessageGTE applies the GTE predicate on the "status_message" field.
func StatusMessageHasPrefix ¶
StatusMessageHasPrefix applies the HasPrefix predicate on the "status_message" field.
func StatusMessageHasSuffix ¶
StatusMessageHasSuffix applies the HasSuffix predicate on the "status_message" field.
func StatusMessageIn ¶
StatusMessageIn applies the In predicate on the "status_message" field.
func StatusMessageIsNil ¶
StatusMessageIsNil applies the IsNil predicate on the "status_message" field.
func StatusMessageLT ¶
StatusMessageLT applies the LT predicate on the "status_message" field.
func StatusMessageLTE ¶
StatusMessageLTE applies the LTE predicate on the "status_message" field.
func StatusMessageNEQ ¶
StatusMessageNEQ applies the NEQ predicate on the "status_message" field.
func StatusMessageNotIn ¶
StatusMessageNotIn applies the NotIn predicate on the "status_message" field.
func StatusMessageNotNil ¶
StatusMessageNotNil applies the NotNil predicate on the "status_message" field.
func Supervised ¶
Supervised applies equality check predicate on the "supervised" field. It's identical to SupervisedEQ.
func SupervisedEQ ¶
SupervisedEQ applies the EQ predicate on the "supervised" field.
func SupervisedNEQ ¶
SupervisedNEQ applies the NEQ predicate on the "supervised" 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 ¶
type OrderOption ¶
OrderOption defines the ordering options for the Plugin queries.
func ByAccountField ¶
func ByAccountField(field string, opts ...sql.OrderTermOption) OrderOption
ByAccountField orders the results by account field.
func ByActiveState ¶
func ByActiveState(opts ...sql.OrderTermOption) OrderOption
ByActiveState orders the results by the active_state field.
func ByActiveStateChangedAt ¶
func ByActiveStateChangedAt(opts ...sql.OrderTermOption) OrderOption
ByActiveStateChangedAt orders the results by the active_state_changed_at field.
func ByAddedBy ¶
func ByAddedBy(opts ...sql.OrderTermOption) OrderOption
ByAddedBy orders the results by the added_by field.
func ByAuthSecret ¶
func ByAuthSecret(opts ...sql.OrderTermOption) OrderOption
ByAuthSecret orders the results by the auth_secret field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByStatusMessage ¶
func ByStatusMessage(opts ...sql.OrderTermOption) OrderOption
ByStatusMessage orders the results by the status_message field.
func BySupervised ¶
func BySupervised(opts ...sql.OrderTermOption) OrderOption
BySupervised orders the results by the supervised field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.