Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.AgentPluginVersion) predicate.AgentPluginVersion
- func CreatedAt(v time.Time) predicate.AgentPluginVersion
- func CreatedAtEQ(v time.Time) predicate.AgentPluginVersion
- func CreatedAtGT(v time.Time) predicate.AgentPluginVersion
- func CreatedAtGTE(v time.Time) predicate.AgentPluginVersion
- func CreatedAtIn(vs ...time.Time) predicate.AgentPluginVersion
- func CreatedAtLT(v time.Time) predicate.AgentPluginVersion
- func CreatedAtLTE(v time.Time) predicate.AgentPluginVersion
- func CreatedAtNEQ(v time.Time) predicate.AgentPluginVersion
- func CreatedAtNotIn(vs ...time.Time) predicate.AgentPluginVersion
- func HasPlugin() predicate.AgentPluginVersion
- func HasPluginWith(preds ...predicate.AgentPlugin) predicate.AgentPluginVersion
- func ID(id uuid.UUID) predicate.AgentPluginVersion
- func IDEQ(id uuid.UUID) predicate.AgentPluginVersion
- func IDGT(id uuid.UUID) predicate.AgentPluginVersion
- func IDGTE(id uuid.UUID) predicate.AgentPluginVersion
- func IDIn(ids ...uuid.UUID) predicate.AgentPluginVersion
- func IDLT(id uuid.UUID) predicate.AgentPluginVersion
- func IDLTE(id uuid.UUID) predicate.AgentPluginVersion
- func IDNEQ(id uuid.UUID) predicate.AgentPluginVersion
- func IDNotIn(ids ...uuid.UUID) predicate.AgentPluginVersion
- func Not(p predicate.AgentPluginVersion) predicate.AgentPluginVersion
- func Or(predicates ...predicate.AgentPluginVersion) predicate.AgentPluginVersion
- func ParsedMetaIsNil() predicate.AgentPluginVersion
- func ParsedMetaNotNil() predicate.AgentPluginVersion
- func ResourceID(v uuid.UUID) predicate.AgentPluginVersion
- func ResourceIDEQ(v uuid.UUID) predicate.AgentPluginVersion
- func ResourceIDIn(vs ...uuid.UUID) predicate.AgentPluginVersion
- func ResourceIDNEQ(v uuid.UUID) predicate.AgentPluginVersion
- func ResourceIDNotIn(vs ...uuid.UUID) predicate.AgentPluginVersion
- func S3Key(v string) predicate.AgentPluginVersion
- func S3KeyContains(v string) predicate.AgentPluginVersion
- func S3KeyContainsFold(v string) predicate.AgentPluginVersion
- func S3KeyEQ(v string) predicate.AgentPluginVersion
- func S3KeyEqualFold(v string) predicate.AgentPluginVersion
- func S3KeyGT(v string) predicate.AgentPluginVersion
- func S3KeyGTE(v string) predicate.AgentPluginVersion
- func S3KeyHasPrefix(v string) predicate.AgentPluginVersion
- func S3KeyHasSuffix(v string) predicate.AgentPluginVersion
- func S3KeyIn(vs ...string) predicate.AgentPluginVersion
- func S3KeyLT(v string) predicate.AgentPluginVersion
- func S3KeyLTE(v string) predicate.AgentPluginVersion
- func S3KeyNEQ(v string) predicate.AgentPluginVersion
- func S3KeyNotIn(vs ...string) predicate.AgentPluginVersion
- func ValidColumn(column string) bool
- func Version(v string) predicate.AgentPluginVersion
- func VersionContains(v string) predicate.AgentPluginVersion
- func VersionContainsFold(v string) predicate.AgentPluginVersion
- func VersionEQ(v string) predicate.AgentPluginVersion
- func VersionEqualFold(v string) predicate.AgentPluginVersion
- func VersionGT(v string) predicate.AgentPluginVersion
- func VersionGTE(v string) predicate.AgentPluginVersion
- func VersionHasPrefix(v string) predicate.AgentPluginVersion
- func VersionHasSuffix(v string) predicate.AgentPluginVersion
- func VersionIn(vs ...string) predicate.AgentPluginVersion
- func VersionLT(v string) predicate.AgentPluginVersion
- func VersionLTE(v string) predicate.AgentPluginVersion
- func VersionNEQ(v string) predicate.AgentPluginVersion
- func VersionNotIn(vs ...string) predicate.AgentPluginVersion
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByPluginField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByResourceID(opts ...sql.OrderTermOption) OrderOption
- func ByS3Key(opts ...sql.OrderTermOption) OrderOption
- func ByVersion(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the agentpluginversion type in the database. Label = "agent_plugin_version" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldResourceID holds the string denoting the resource_id field in the database. FieldResourceID = "resource_id" // FieldVersion holds the string denoting the version field in the database. FieldVersion = "version" // FieldS3Key holds the string denoting the s3_key field in the database. FieldS3Key = "s3_key" // FieldParsedMeta holds the string denoting the parsed_meta field in the database. FieldParsedMeta = "parsed_meta" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // EdgePlugin holds the string denoting the plugin edge name in mutations. EdgePlugin = "plugin" // Table holds the table name of the agentpluginversion in the database. Table = "agent_plugin_versions" // PluginTable is the table that holds the plugin relation/edge. PluginTable = "agent_plugin_versions" // PluginInverseTable is the table name for the AgentPlugin entity. // It exists in this package in order to avoid circular dependency with the "agentplugin" package. PluginInverseTable = "agent_plugins" // PluginColumn is the table column denoting the plugin relation/edge. PluginColumn = "resource_id" )
Variables ¶
var ( // VersionValidator is a validator for the "version" field. It is called by the builders before save. VersionValidator func(string) error // S3KeyValidator is a validator for the "s3_key" field. It is called by the builders before save. S3KeyValidator func(string) error // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldResourceID, FieldVersion, FieldS3Key, FieldParsedMeta, FieldCreatedAt, }
Columns holds all SQL columns for agentpluginversion fields.
Functions ¶
func And ¶
func And(predicates ...predicate.AgentPluginVersion) predicate.AgentPluginVersion
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.AgentPluginVersion
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.AgentPluginVersion
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.AgentPluginVersion
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.AgentPluginVersion
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.AgentPluginVersion
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.AgentPluginVersion
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.AgentPluginVersion
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.AgentPluginVersion
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.AgentPluginVersion
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasPlugin ¶
func HasPlugin() predicate.AgentPluginVersion
HasPlugin applies the HasEdge predicate on the "plugin" edge.
func HasPluginWith ¶
func HasPluginWith(preds ...predicate.AgentPlugin) predicate.AgentPluginVersion
HasPluginWith applies the HasEdge predicate on the "plugin" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.AgentPluginVersion
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.AgentPluginVersion
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.AgentPluginVersion
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.AgentPluginVersion
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.AgentPluginVersion
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.AgentPluginVersion
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.AgentPluginVersion
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.AgentPluginVersion
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.AgentPluginVersion
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.AgentPluginVersion) predicate.AgentPluginVersion
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.AgentPluginVersion) predicate.AgentPluginVersion
Or groups predicates with the OR operator between them.
func ParsedMetaIsNil ¶
func ParsedMetaIsNil() predicate.AgentPluginVersion
ParsedMetaIsNil applies the IsNil predicate on the "parsed_meta" field.
func ParsedMetaNotNil ¶
func ParsedMetaNotNil() predicate.AgentPluginVersion
ParsedMetaNotNil applies the NotNil predicate on the "parsed_meta" field.
func ResourceID ¶
func ResourceID(v uuid.UUID) predicate.AgentPluginVersion
ResourceID applies equality check predicate on the "resource_id" field. It's identical to ResourceIDEQ.
func ResourceIDEQ ¶
func ResourceIDEQ(v uuid.UUID) predicate.AgentPluginVersion
ResourceIDEQ applies the EQ predicate on the "resource_id" field.
func ResourceIDIn ¶
func ResourceIDIn(vs ...uuid.UUID) predicate.AgentPluginVersion
ResourceIDIn applies the In predicate on the "resource_id" field.
func ResourceIDNEQ ¶
func ResourceIDNEQ(v uuid.UUID) predicate.AgentPluginVersion
ResourceIDNEQ applies the NEQ predicate on the "resource_id" field.
func ResourceIDNotIn ¶
func ResourceIDNotIn(vs ...uuid.UUID) predicate.AgentPluginVersion
ResourceIDNotIn applies the NotIn predicate on the "resource_id" field.
func S3Key ¶
func S3Key(v string) predicate.AgentPluginVersion
S3Key applies equality check predicate on the "s3_key" field. It's identical to S3KeyEQ.
func S3KeyContains ¶
func S3KeyContains(v string) predicate.AgentPluginVersion
S3KeyContains applies the Contains predicate on the "s3_key" field.
func S3KeyContainsFold ¶
func S3KeyContainsFold(v string) predicate.AgentPluginVersion
S3KeyContainsFold applies the ContainsFold predicate on the "s3_key" field.
func S3KeyEQ ¶
func S3KeyEQ(v string) predicate.AgentPluginVersion
S3KeyEQ applies the EQ predicate on the "s3_key" field.
func S3KeyEqualFold ¶
func S3KeyEqualFold(v string) predicate.AgentPluginVersion
S3KeyEqualFold applies the EqualFold predicate on the "s3_key" field.
func S3KeyGT ¶
func S3KeyGT(v string) predicate.AgentPluginVersion
S3KeyGT applies the GT predicate on the "s3_key" field.
func S3KeyGTE ¶
func S3KeyGTE(v string) predicate.AgentPluginVersion
S3KeyGTE applies the GTE predicate on the "s3_key" field.
func S3KeyHasPrefix ¶
func S3KeyHasPrefix(v string) predicate.AgentPluginVersion
S3KeyHasPrefix applies the HasPrefix predicate on the "s3_key" field.
func S3KeyHasSuffix ¶
func S3KeyHasSuffix(v string) predicate.AgentPluginVersion
S3KeyHasSuffix applies the HasSuffix predicate on the "s3_key" field.
func S3KeyIn ¶
func S3KeyIn(vs ...string) predicate.AgentPluginVersion
S3KeyIn applies the In predicate on the "s3_key" field.
func S3KeyLT ¶
func S3KeyLT(v string) predicate.AgentPluginVersion
S3KeyLT applies the LT predicate on the "s3_key" field.
func S3KeyLTE ¶
func S3KeyLTE(v string) predicate.AgentPluginVersion
S3KeyLTE applies the LTE predicate on the "s3_key" field.
func S3KeyNEQ ¶
func S3KeyNEQ(v string) predicate.AgentPluginVersion
S3KeyNEQ applies the NEQ predicate on the "s3_key" field.
func S3KeyNotIn ¶
func S3KeyNotIn(vs ...string) predicate.AgentPluginVersion
S3KeyNotIn applies the NotIn predicate on the "s3_key" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Version ¶
func Version(v string) predicate.AgentPluginVersion
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionContains ¶
func VersionContains(v string) predicate.AgentPluginVersion
VersionContains applies the Contains predicate on the "version" field.
func VersionContainsFold ¶
func VersionContainsFold(v string) predicate.AgentPluginVersion
VersionContainsFold applies the ContainsFold predicate on the "version" field.
func VersionEQ ¶
func VersionEQ(v string) predicate.AgentPluginVersion
VersionEQ applies the EQ predicate on the "version" field.
func VersionEqualFold ¶
func VersionEqualFold(v string) predicate.AgentPluginVersion
VersionEqualFold applies the EqualFold predicate on the "version" field.
func VersionGT ¶
func VersionGT(v string) predicate.AgentPluginVersion
VersionGT applies the GT predicate on the "version" field.
func VersionGTE ¶
func VersionGTE(v string) predicate.AgentPluginVersion
VersionGTE applies the GTE predicate on the "version" field.
func VersionHasPrefix ¶
func VersionHasPrefix(v string) predicate.AgentPluginVersion
VersionHasPrefix applies the HasPrefix predicate on the "version" field.
func VersionHasSuffix ¶
func VersionHasSuffix(v string) predicate.AgentPluginVersion
VersionHasSuffix applies the HasSuffix predicate on the "version" field.
func VersionIn ¶
func VersionIn(vs ...string) predicate.AgentPluginVersion
VersionIn applies the In predicate on the "version" field.
func VersionLT ¶
func VersionLT(v string) predicate.AgentPluginVersion
VersionLT applies the LT predicate on the "version" field.
func VersionLTE ¶
func VersionLTE(v string) predicate.AgentPluginVersion
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
func VersionNEQ(v string) predicate.AgentPluginVersion
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
func VersionNotIn(vs ...string) predicate.AgentPluginVersion
VersionNotIn applies the NotIn predicate on the "version" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the AgentPluginVersion queries.
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 ByPluginField ¶
func ByPluginField(field string, opts ...sql.OrderTermOption) OrderOption
ByPluginField orders the results by plugin field.
func ByResourceID ¶
func ByResourceID(opts ...sql.OrderTermOption) OrderOption
ByResourceID orders the results by the resource_id field.
func ByS3Key ¶
func ByS3Key(opts ...sql.OrderTermOption) OrderOption
ByS3Key orders the results by the s3_key field.
func ByVersion ¶
func ByVersion(opts ...sql.OrderTermOption) OrderOption
ByVersion orders the results by the version field.