Documentation
¶
Index ¶
- Constants
- Variables
- func ActionEQ(v Action) predicate.SoftwareInstallLog
- func ActionIn(vs ...Action) predicate.SoftwareInstallLog
- func ActionNEQ(v Action) predicate.SoftwareInstallLog
- func ActionNotIn(vs ...Action) predicate.SoftwareInstallLog
- func ActionValidator(a Action) error
- func And(predicates ...predicate.SoftwareInstallLog) predicate.SoftwareInstallLog
- func CompletedAt(v time.Time) predicate.SoftwareInstallLog
- func CompletedAtEQ(v time.Time) predicate.SoftwareInstallLog
- func CompletedAtGT(v time.Time) predicate.SoftwareInstallLog
- func CompletedAtGTE(v time.Time) predicate.SoftwareInstallLog
- func CompletedAtIn(vs ...time.Time) predicate.SoftwareInstallLog
- func CompletedAtIsNil() predicate.SoftwareInstallLog
- func CompletedAtLT(v time.Time) predicate.SoftwareInstallLog
- func CompletedAtLTE(v time.Time) predicate.SoftwareInstallLog
- func CompletedAtNEQ(v time.Time) predicate.SoftwareInstallLog
- func CompletedAtNotIn(vs ...time.Time) predicate.SoftwareInstallLog
- func CompletedAtNotNil() predicate.SoftwareInstallLog
- func Created(v time.Time) predicate.SoftwareInstallLog
- func CreatedEQ(v time.Time) predicate.SoftwareInstallLog
- func CreatedGT(v time.Time) predicate.SoftwareInstallLog
- func CreatedGTE(v time.Time) predicate.SoftwareInstallLog
- func CreatedIn(vs ...time.Time) predicate.SoftwareInstallLog
- func CreatedIsNil() predicate.SoftwareInstallLog
- func CreatedLT(v time.Time) predicate.SoftwareInstallLog
- func CreatedLTE(v time.Time) predicate.SoftwareInstallLog
- func CreatedNEQ(v time.Time) predicate.SoftwareInstallLog
- func CreatedNotIn(vs ...time.Time) predicate.SoftwareInstallLog
- func CreatedNotNil() predicate.SoftwareInstallLog
- func ErrorMessage(v string) predicate.SoftwareInstallLog
- func ErrorMessageContains(v string) predicate.SoftwareInstallLog
- func ErrorMessageContainsFold(v string) predicate.SoftwareInstallLog
- func ErrorMessageEQ(v string) predicate.SoftwareInstallLog
- func ErrorMessageEqualFold(v string) predicate.SoftwareInstallLog
- func ErrorMessageGT(v string) predicate.SoftwareInstallLog
- func ErrorMessageGTE(v string) predicate.SoftwareInstallLog
- func ErrorMessageHasPrefix(v string) predicate.SoftwareInstallLog
- func ErrorMessageHasSuffix(v string) predicate.SoftwareInstallLog
- func ErrorMessageIn(vs ...string) predicate.SoftwareInstallLog
- func ErrorMessageIsNil() predicate.SoftwareInstallLog
- func ErrorMessageLT(v string) predicate.SoftwareInstallLog
- func ErrorMessageLTE(v string) predicate.SoftwareInstallLog
- func ErrorMessageNEQ(v string) predicate.SoftwareInstallLog
- func ErrorMessageNotIn(vs ...string) predicate.SoftwareInstallLog
- func ErrorMessageNotNil() predicate.SoftwareInstallLog
- func HasAgent() predicate.SoftwareInstallLog
- func HasAgentWith(preds ...predicate.Agent) predicate.SoftwareInstallLog
- func HasPackage() predicate.SoftwareInstallLog
- func HasPackageWith(preds ...predicate.ManagedPackage) predicate.SoftwareInstallLog
- func ID(id int) predicate.SoftwareInstallLog
- func IDEQ(id int) predicate.SoftwareInstallLog
- func IDGT(id int) predicate.SoftwareInstallLog
- func IDGTE(id int) predicate.SoftwareInstallLog
- func IDIn(ids ...int) predicate.SoftwareInstallLog
- func IDLT(id int) predicate.SoftwareInstallLog
- func IDLTE(id int) predicate.SoftwareInstallLog
- func IDNEQ(id int) predicate.SoftwareInstallLog
- func IDNotIn(ids ...int) predicate.SoftwareInstallLog
- func InstalledVersion(v string) predicate.SoftwareInstallLog
- func InstalledVersionContains(v string) predicate.SoftwareInstallLog
- func InstalledVersionContainsFold(v string) predicate.SoftwareInstallLog
- func InstalledVersionEQ(v string) predicate.SoftwareInstallLog
- func InstalledVersionEqualFold(v string) predicate.SoftwareInstallLog
- func InstalledVersionGT(v string) predicate.SoftwareInstallLog
- func InstalledVersionGTE(v string) predicate.SoftwareInstallLog
- func InstalledVersionHasPrefix(v string) predicate.SoftwareInstallLog
- func InstalledVersionHasSuffix(v string) predicate.SoftwareInstallLog
- func InstalledVersionIn(vs ...string) predicate.SoftwareInstallLog
- func InstalledVersionIsNil() predicate.SoftwareInstallLog
- func InstalledVersionLT(v string) predicate.SoftwareInstallLog
- func InstalledVersionLTE(v string) predicate.SoftwareInstallLog
- func InstalledVersionNEQ(v string) predicate.SoftwareInstallLog
- func InstalledVersionNotIn(vs ...string) predicate.SoftwareInstallLog
- func InstalledVersionNotNil() predicate.SoftwareInstallLog
- func Not(p predicate.SoftwareInstallLog) predicate.SoftwareInstallLog
- func Or(predicates ...predicate.SoftwareInstallLog) predicate.SoftwareInstallLog
- func StartedAt(v time.Time) predicate.SoftwareInstallLog
- func StartedAtEQ(v time.Time) predicate.SoftwareInstallLog
- func StartedAtGT(v time.Time) predicate.SoftwareInstallLog
- func StartedAtGTE(v time.Time) predicate.SoftwareInstallLog
- func StartedAtIn(vs ...time.Time) predicate.SoftwareInstallLog
- func StartedAtIsNil() predicate.SoftwareInstallLog
- func StartedAtLT(v time.Time) predicate.SoftwareInstallLog
- func StartedAtLTE(v time.Time) predicate.SoftwareInstallLog
- func StartedAtNEQ(v time.Time) predicate.SoftwareInstallLog
- func StartedAtNotIn(vs ...time.Time) predicate.SoftwareInstallLog
- func StartedAtNotNil() predicate.SoftwareInstallLog
- func StatusEQ(v Status) predicate.SoftwareInstallLog
- func StatusIn(vs ...Status) predicate.SoftwareInstallLog
- func StatusNEQ(v Status) predicate.SoftwareInstallLog
- func StatusNotIn(vs ...Status) predicate.SoftwareInstallLog
- func StatusValidator(s Status) error
- func ValidColumn(column string) bool
- type Action
- type OrderOption
- func ByAction(opts ...sql.OrderTermOption) OrderOption
- func ByAgentField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByCompletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreated(opts ...sql.OrderTermOption) OrderOption
- func ByErrorMessage(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByInstalledVersion(opts ...sql.OrderTermOption) OrderOption
- func ByPackageField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByStartedAt(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- type Status
Constants ¶
const ( // Label holds the string label denoting the softwareinstalllog type in the database. Label = "software_install_log" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldAction holds the string denoting the action field in the database. FieldAction = "action" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldErrorMessage holds the string denoting the error_message field in the database. FieldErrorMessage = "error_message" // FieldInstalledVersion holds the string denoting the installed_version field in the database. FieldInstalledVersion = "installed_version" // FieldStartedAt holds the string denoting the started_at field in the database. FieldStartedAt = "started_at" // FieldCompletedAt holds the string denoting the completed_at field in the database. FieldCompletedAt = "completed_at" // FieldCreated holds the string denoting the created field in the database. FieldCreated = "created" // EdgeAgent holds the string denoting the agent edge name in mutations. EdgeAgent = "agent" // EdgePackage holds the string denoting the package edge name in mutations. EdgePackage = "package" // AgentFieldID holds the string denoting the ID field of the Agent. AgentFieldID = "oid" // Table holds the table name of the softwareinstalllog in the database. Table = "software_install_logs" // AgentTable is the table that holds the agent relation/edge. AgentTable = "software_install_logs" // AgentInverseTable is the table name for the Agent entity. // It exists in this package in order to avoid circular dependency with the "agent" package. AgentInverseTable = "agents" // AgentColumn is the table column denoting the agent relation/edge. AgentColumn = "agent_software_install_logs" // PackageTable is the table that holds the package relation/edge. PackageTable = "software_install_logs" // PackageInverseTable is the table name for the ManagedPackage entity. // It exists in this package in order to avoid circular dependency with the "managedpackage" package. PackageInverseTable = "managed_packages" // PackageColumn is the table column denoting the package relation/edge. PackageColumn = "managed_package_install_logs" )
Variables ¶
var ( // DefaultErrorMessage holds the default value on creation for the "error_message" field. DefaultErrorMessage string // DefaultInstalledVersion holds the default value on creation for the "installed_version" field. DefaultInstalledVersion string // DefaultCreated holds the default value on creation for the "created" field. DefaultCreated func() time.Time )
var Columns = []string{ FieldID, FieldAction, FieldStatus, FieldErrorMessage, FieldInstalledVersion, FieldStartedAt, FieldCompletedAt, FieldCreated, }
Columns holds all SQL columns for softwareinstalllog fields.
var ForeignKeys = []string{
"agent_software_install_logs",
"managed_package_install_logs",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "software_install_logs" table and are not defined as standalone fields in the schema.
Functions ¶
func ActionEQ ¶
func ActionEQ(v Action) predicate.SoftwareInstallLog
ActionEQ applies the EQ predicate on the "action" field.
func ActionIn ¶
func ActionIn(vs ...Action) predicate.SoftwareInstallLog
ActionIn applies the In predicate on the "action" field.
func ActionNEQ ¶
func ActionNEQ(v Action) predicate.SoftwareInstallLog
ActionNEQ applies the NEQ predicate on the "action" field.
func ActionNotIn ¶
func ActionNotIn(vs ...Action) predicate.SoftwareInstallLog
ActionNotIn applies the NotIn predicate on the "action" field.
func ActionValidator ¶
ActionValidator is a validator for the "action" field enum values. It is called by the builders before save.
func And ¶
func And(predicates ...predicate.SoftwareInstallLog) predicate.SoftwareInstallLog
And groups predicates with the AND operator between them.
func CompletedAt ¶
func CompletedAt(v time.Time) predicate.SoftwareInstallLog
CompletedAt applies equality check predicate on the "completed_at" field. It's identical to CompletedAtEQ.
func CompletedAtEQ ¶
func CompletedAtEQ(v time.Time) predicate.SoftwareInstallLog
CompletedAtEQ applies the EQ predicate on the "completed_at" field.
func CompletedAtGT ¶
func CompletedAtGT(v time.Time) predicate.SoftwareInstallLog
CompletedAtGT applies the GT predicate on the "completed_at" field.
func CompletedAtGTE ¶
func CompletedAtGTE(v time.Time) predicate.SoftwareInstallLog
CompletedAtGTE applies the GTE predicate on the "completed_at" field.
func CompletedAtIn ¶
func CompletedAtIn(vs ...time.Time) predicate.SoftwareInstallLog
CompletedAtIn applies the In predicate on the "completed_at" field.
func CompletedAtIsNil ¶
func CompletedAtIsNil() predicate.SoftwareInstallLog
CompletedAtIsNil applies the IsNil predicate on the "completed_at" field.
func CompletedAtLT ¶
func CompletedAtLT(v time.Time) predicate.SoftwareInstallLog
CompletedAtLT applies the LT predicate on the "completed_at" field.
func CompletedAtLTE ¶
func CompletedAtLTE(v time.Time) predicate.SoftwareInstallLog
CompletedAtLTE applies the LTE predicate on the "completed_at" field.
func CompletedAtNEQ ¶
func CompletedAtNEQ(v time.Time) predicate.SoftwareInstallLog
CompletedAtNEQ applies the NEQ predicate on the "completed_at" field.
func CompletedAtNotIn ¶
func CompletedAtNotIn(vs ...time.Time) predicate.SoftwareInstallLog
CompletedAtNotIn applies the NotIn predicate on the "completed_at" field.
func CompletedAtNotNil ¶
func CompletedAtNotNil() predicate.SoftwareInstallLog
CompletedAtNotNil applies the NotNil predicate on the "completed_at" field.
func Created ¶
func Created(v time.Time) predicate.SoftwareInstallLog
Created applies equality check predicate on the "created" field. It's identical to CreatedEQ.
func CreatedEQ ¶
func CreatedEQ(v time.Time) predicate.SoftwareInstallLog
CreatedEQ applies the EQ predicate on the "created" field.
func CreatedGT ¶
func CreatedGT(v time.Time) predicate.SoftwareInstallLog
CreatedGT applies the GT predicate on the "created" field.
func CreatedGTE ¶
func CreatedGTE(v time.Time) predicate.SoftwareInstallLog
CreatedGTE applies the GTE predicate on the "created" field.
func CreatedIn ¶
func CreatedIn(vs ...time.Time) predicate.SoftwareInstallLog
CreatedIn applies the In predicate on the "created" field.
func CreatedIsNil ¶
func CreatedIsNil() predicate.SoftwareInstallLog
CreatedIsNil applies the IsNil predicate on the "created" field.
func CreatedLT ¶
func CreatedLT(v time.Time) predicate.SoftwareInstallLog
CreatedLT applies the LT predicate on the "created" field.
func CreatedLTE ¶
func CreatedLTE(v time.Time) predicate.SoftwareInstallLog
CreatedLTE applies the LTE predicate on the "created" field.
func CreatedNEQ ¶
func CreatedNEQ(v time.Time) predicate.SoftwareInstallLog
CreatedNEQ applies the NEQ predicate on the "created" field.
func CreatedNotIn ¶
func CreatedNotIn(vs ...time.Time) predicate.SoftwareInstallLog
CreatedNotIn applies the NotIn predicate on the "created" field.
func CreatedNotNil ¶
func CreatedNotNil() predicate.SoftwareInstallLog
CreatedNotNil applies the NotNil predicate on the "created" field.
func ErrorMessage ¶
func ErrorMessage(v string) predicate.SoftwareInstallLog
ErrorMessage applies equality check predicate on the "error_message" field. It's identical to ErrorMessageEQ.
func ErrorMessageContains ¶
func ErrorMessageContains(v string) predicate.SoftwareInstallLog
ErrorMessageContains applies the Contains predicate on the "error_message" field.
func ErrorMessageContainsFold ¶
func ErrorMessageContainsFold(v string) predicate.SoftwareInstallLog
ErrorMessageContainsFold applies the ContainsFold predicate on the "error_message" field.
func ErrorMessageEQ ¶
func ErrorMessageEQ(v string) predicate.SoftwareInstallLog
ErrorMessageEQ applies the EQ predicate on the "error_message" field.
func ErrorMessageEqualFold ¶
func ErrorMessageEqualFold(v string) predicate.SoftwareInstallLog
ErrorMessageEqualFold applies the EqualFold predicate on the "error_message" field.
func ErrorMessageGT ¶
func ErrorMessageGT(v string) predicate.SoftwareInstallLog
ErrorMessageGT applies the GT predicate on the "error_message" field.
func ErrorMessageGTE ¶
func ErrorMessageGTE(v string) predicate.SoftwareInstallLog
ErrorMessageGTE applies the GTE predicate on the "error_message" field.
func ErrorMessageHasPrefix ¶
func ErrorMessageHasPrefix(v string) predicate.SoftwareInstallLog
ErrorMessageHasPrefix applies the HasPrefix predicate on the "error_message" field.
func ErrorMessageHasSuffix ¶
func ErrorMessageHasSuffix(v string) predicate.SoftwareInstallLog
ErrorMessageHasSuffix applies the HasSuffix predicate on the "error_message" field.
func ErrorMessageIn ¶
func ErrorMessageIn(vs ...string) predicate.SoftwareInstallLog
ErrorMessageIn applies the In predicate on the "error_message" field.
func ErrorMessageIsNil ¶
func ErrorMessageIsNil() predicate.SoftwareInstallLog
ErrorMessageIsNil applies the IsNil predicate on the "error_message" field.
func ErrorMessageLT ¶
func ErrorMessageLT(v string) predicate.SoftwareInstallLog
ErrorMessageLT applies the LT predicate on the "error_message" field.
func ErrorMessageLTE ¶
func ErrorMessageLTE(v string) predicate.SoftwareInstallLog
ErrorMessageLTE applies the LTE predicate on the "error_message" field.
func ErrorMessageNEQ ¶
func ErrorMessageNEQ(v string) predicate.SoftwareInstallLog
ErrorMessageNEQ applies the NEQ predicate on the "error_message" field.
func ErrorMessageNotIn ¶
func ErrorMessageNotIn(vs ...string) predicate.SoftwareInstallLog
ErrorMessageNotIn applies the NotIn predicate on the "error_message" field.
func ErrorMessageNotNil ¶
func ErrorMessageNotNil() predicate.SoftwareInstallLog
ErrorMessageNotNil applies the NotNil predicate on the "error_message" field.
func HasAgent ¶
func HasAgent() predicate.SoftwareInstallLog
HasAgent applies the HasEdge predicate on the "agent" edge.
func HasAgentWith ¶
func HasAgentWith(preds ...predicate.Agent) predicate.SoftwareInstallLog
HasAgentWith applies the HasEdge predicate on the "agent" edge with a given conditions (other predicates).
func HasPackage ¶
func HasPackage() predicate.SoftwareInstallLog
HasPackage applies the HasEdge predicate on the "package" edge.
func HasPackageWith ¶
func HasPackageWith(preds ...predicate.ManagedPackage) predicate.SoftwareInstallLog
HasPackageWith applies the HasEdge predicate on the "package" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int) predicate.SoftwareInstallLog
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.SoftwareInstallLog
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.SoftwareInstallLog
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.SoftwareInstallLog
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.SoftwareInstallLog
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.SoftwareInstallLog
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.SoftwareInstallLog
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.SoftwareInstallLog
IDNotIn applies the NotIn predicate on the ID field.
func InstalledVersion ¶
func InstalledVersion(v string) predicate.SoftwareInstallLog
InstalledVersion applies equality check predicate on the "installed_version" field. It's identical to InstalledVersionEQ.
func InstalledVersionContains ¶
func InstalledVersionContains(v string) predicate.SoftwareInstallLog
InstalledVersionContains applies the Contains predicate on the "installed_version" field.
func InstalledVersionContainsFold ¶
func InstalledVersionContainsFold(v string) predicate.SoftwareInstallLog
InstalledVersionContainsFold applies the ContainsFold predicate on the "installed_version" field.
func InstalledVersionEQ ¶
func InstalledVersionEQ(v string) predicate.SoftwareInstallLog
InstalledVersionEQ applies the EQ predicate on the "installed_version" field.
func InstalledVersionEqualFold ¶
func InstalledVersionEqualFold(v string) predicate.SoftwareInstallLog
InstalledVersionEqualFold applies the EqualFold predicate on the "installed_version" field.
func InstalledVersionGT ¶
func InstalledVersionGT(v string) predicate.SoftwareInstallLog
InstalledVersionGT applies the GT predicate on the "installed_version" field.
func InstalledVersionGTE ¶
func InstalledVersionGTE(v string) predicate.SoftwareInstallLog
InstalledVersionGTE applies the GTE predicate on the "installed_version" field.
func InstalledVersionHasPrefix ¶
func InstalledVersionHasPrefix(v string) predicate.SoftwareInstallLog
InstalledVersionHasPrefix applies the HasPrefix predicate on the "installed_version" field.
func InstalledVersionHasSuffix ¶
func InstalledVersionHasSuffix(v string) predicate.SoftwareInstallLog
InstalledVersionHasSuffix applies the HasSuffix predicate on the "installed_version" field.
func InstalledVersionIn ¶
func InstalledVersionIn(vs ...string) predicate.SoftwareInstallLog
InstalledVersionIn applies the In predicate on the "installed_version" field.
func InstalledVersionIsNil ¶
func InstalledVersionIsNil() predicate.SoftwareInstallLog
InstalledVersionIsNil applies the IsNil predicate on the "installed_version" field.
func InstalledVersionLT ¶
func InstalledVersionLT(v string) predicate.SoftwareInstallLog
InstalledVersionLT applies the LT predicate on the "installed_version" field.
func InstalledVersionLTE ¶
func InstalledVersionLTE(v string) predicate.SoftwareInstallLog
InstalledVersionLTE applies the LTE predicate on the "installed_version" field.
func InstalledVersionNEQ ¶
func InstalledVersionNEQ(v string) predicate.SoftwareInstallLog
InstalledVersionNEQ applies the NEQ predicate on the "installed_version" field.
func InstalledVersionNotIn ¶
func InstalledVersionNotIn(vs ...string) predicate.SoftwareInstallLog
InstalledVersionNotIn applies the NotIn predicate on the "installed_version" field.
func InstalledVersionNotNil ¶
func InstalledVersionNotNil() predicate.SoftwareInstallLog
InstalledVersionNotNil applies the NotNil predicate on the "installed_version" field.
func Not ¶
func Not(p predicate.SoftwareInstallLog) predicate.SoftwareInstallLog
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.SoftwareInstallLog) predicate.SoftwareInstallLog
Or groups predicates with the OR operator between them.
func StartedAt ¶
func StartedAt(v time.Time) predicate.SoftwareInstallLog
StartedAt applies equality check predicate on the "started_at" field. It's identical to StartedAtEQ.
func StartedAtEQ ¶
func StartedAtEQ(v time.Time) predicate.SoftwareInstallLog
StartedAtEQ applies the EQ predicate on the "started_at" field.
func StartedAtGT ¶
func StartedAtGT(v time.Time) predicate.SoftwareInstallLog
StartedAtGT applies the GT predicate on the "started_at" field.
func StartedAtGTE ¶
func StartedAtGTE(v time.Time) predicate.SoftwareInstallLog
StartedAtGTE applies the GTE predicate on the "started_at" field.
func StartedAtIn ¶
func StartedAtIn(vs ...time.Time) predicate.SoftwareInstallLog
StartedAtIn applies the In predicate on the "started_at" field.
func StartedAtIsNil ¶
func StartedAtIsNil() predicate.SoftwareInstallLog
StartedAtIsNil applies the IsNil predicate on the "started_at" field.
func StartedAtLT ¶
func StartedAtLT(v time.Time) predicate.SoftwareInstallLog
StartedAtLT applies the LT predicate on the "started_at" field.
func StartedAtLTE ¶
func StartedAtLTE(v time.Time) predicate.SoftwareInstallLog
StartedAtLTE applies the LTE predicate on the "started_at" field.
func StartedAtNEQ ¶
func StartedAtNEQ(v time.Time) predicate.SoftwareInstallLog
StartedAtNEQ applies the NEQ predicate on the "started_at" field.
func StartedAtNotIn ¶
func StartedAtNotIn(vs ...time.Time) predicate.SoftwareInstallLog
StartedAtNotIn applies the NotIn predicate on the "started_at" field.
func StartedAtNotNil ¶
func StartedAtNotNil() predicate.SoftwareInstallLog
StartedAtNotNil applies the NotNil predicate on the "started_at" field.
func StatusEQ ¶
func StatusEQ(v Status) predicate.SoftwareInstallLog
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...Status) predicate.SoftwareInstallLog
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v Status) predicate.SoftwareInstallLog
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...Status) predicate.SoftwareInstallLog
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type Action ¶
type Action string
Action defines the type for the "action" enum field.
type OrderOption ¶
OrderOption defines the ordering options for the SoftwareInstallLog queries.
func ByAction ¶
func ByAction(opts ...sql.OrderTermOption) OrderOption
ByAction orders the results by the action field.
func ByAgentField ¶
func ByAgentField(field string, opts ...sql.OrderTermOption) OrderOption
ByAgentField orders the results by agent field.
func ByCompletedAt ¶
func ByCompletedAt(opts ...sql.OrderTermOption) OrderOption
ByCompletedAt orders the results by the completed_at field.
func ByCreated ¶
func ByCreated(opts ...sql.OrderTermOption) OrderOption
ByCreated orders the results by the created field.
func ByErrorMessage ¶
func ByErrorMessage(opts ...sql.OrderTermOption) OrderOption
ByErrorMessage orders the results by the error_message field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByInstalledVersion ¶
func ByInstalledVersion(opts ...sql.OrderTermOption) OrderOption
ByInstalledVersion orders the results by the installed_version field.
func ByPackageField ¶
func ByPackageField(field string, opts ...sql.OrderTermOption) OrderOption
ByPackageField orders the results by package field.
func ByStartedAt ¶
func ByStartedAt(opts ...sql.OrderTermOption) OrderOption
ByStartedAt orders the results by the started_at field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.