Documentation
¶
Index ¶
- Constants
- Variables
- func AgentWorkerComponent(v bool) predicate.Server
- func AgentWorkerComponentEQ(v bool) predicate.Server
- func AgentWorkerComponentIsNil() predicate.Server
- func AgentWorkerComponentNEQ(v bool) predicate.Server
- func AgentWorkerComponentNotNil() predicate.Server
- func And(predicates ...predicate.Server) predicate.Server
- func Arch(v string) predicate.Server
- func ArchContains(v string) predicate.Server
- func ArchContainsFold(v string) predicate.Server
- func ArchEQ(v string) predicate.Server
- func ArchEqualFold(v string) predicate.Server
- func ArchGT(v string) predicate.Server
- func ArchGTE(v string) predicate.Server
- func ArchHasPrefix(v string) predicate.Server
- func ArchHasSuffix(v string) predicate.Server
- func ArchIn(vs ...string) predicate.Server
- func ArchLT(v string) predicate.Server
- func ArchLTE(v string) predicate.Server
- func ArchNEQ(v string) predicate.Server
- func ArchNotIn(vs ...string) predicate.Server
- func CertManagerWorkerComponent(v bool) predicate.Server
- func CertManagerWorkerComponentEQ(v bool) predicate.Server
- func CertManagerWorkerComponentIsNil() predicate.Server
- func CertManagerWorkerComponentNEQ(v bool) predicate.Server
- func CertManagerWorkerComponentNotNil() predicate.Server
- func ChannelEQ(v Channel) predicate.Server
- func ChannelIn(vs ...Channel) predicate.Server
- func ChannelNEQ(v Channel) predicate.Server
- func ChannelNotIn(vs ...Channel) predicate.Server
- func ChannelValidator(c Channel) error
- func ConsoleComponent(v bool) predicate.Server
- func ConsoleComponentEQ(v bool) predicate.Server
- func ConsoleComponentIsNil() predicate.Server
- func ConsoleComponentNEQ(v bool) predicate.Server
- func ConsoleComponentNotNil() predicate.Server
- func Hostname(v string) predicate.Server
- func HostnameContains(v string) predicate.Server
- func HostnameContainsFold(v string) predicate.Server
- func HostnameEQ(v string) predicate.Server
- func HostnameEqualFold(v string) predicate.Server
- func HostnameGT(v string) predicate.Server
- func HostnameGTE(v string) predicate.Server
- func HostnameHasPrefix(v string) predicate.Server
- func HostnameHasSuffix(v string) predicate.Server
- func HostnameIn(vs ...string) predicate.Server
- func HostnameLT(v string) predicate.Server
- func HostnameLTE(v string) predicate.Server
- func HostnameNEQ(v string) predicate.Server
- func HostnameNotIn(vs ...string) predicate.Server
- func ID(id int) predicate.Server
- func IDEQ(id int) predicate.Server
- func IDGT(id int) predicate.Server
- func IDGTE(id int) predicate.Server
- func IDIn(ids ...int) predicate.Server
- func IDLT(id int) predicate.Server
- func IDLTE(id int) predicate.Server
- func IDNEQ(id int) predicate.Server
- func IDNotIn(ids ...int) predicate.Server
- func NatsComponent(v bool) predicate.Server
- func NatsComponentEQ(v bool) predicate.Server
- func NatsComponentIsNil() predicate.Server
- func NatsComponentNEQ(v bool) predicate.Server
- func NatsComponentNotNil() predicate.Server
- func Not(p predicate.Server) predicate.Server
- func NotificationWorkerComponent(v bool) predicate.Server
- func NotificationWorkerComponentEQ(v bool) predicate.Server
- func NotificationWorkerComponentIsNil() predicate.Server
- func NotificationWorkerComponentNEQ(v bool) predicate.Server
- func NotificationWorkerComponentNotNil() predicate.Server
- func OcspComponent(v bool) predicate.Server
- func OcspComponentEQ(v bool) predicate.Server
- func OcspComponentIsNil() predicate.Server
- func OcspComponentNEQ(v bool) predicate.Server
- func OcspComponentNotNil() predicate.Server
- func Or(predicates ...predicate.Server) predicate.Server
- func Os(v string) predicate.Server
- func OsContains(v string) predicate.Server
- func OsContainsFold(v string) predicate.Server
- func OsEQ(v string) predicate.Server
- func OsEqualFold(v string) predicate.Server
- func OsGT(v string) predicate.Server
- func OsGTE(v string) predicate.Server
- func OsHasPrefix(v string) predicate.Server
- func OsHasSuffix(v string) predicate.Server
- func OsIn(vs ...string) predicate.Server
- func OsLT(v string) predicate.Server
- func OsLTE(v string) predicate.Server
- func OsNEQ(v string) predicate.Server
- func OsNotIn(vs ...string) predicate.Server
- func UpdateMessage(v string) predicate.Server
- func UpdateMessageContains(v string) predicate.Server
- func UpdateMessageContainsFold(v string) predicate.Server
- func UpdateMessageEQ(v string) predicate.Server
- func UpdateMessageEqualFold(v string) predicate.Server
- func UpdateMessageGT(v string) predicate.Server
- func UpdateMessageGTE(v string) predicate.Server
- func UpdateMessageHasPrefix(v string) predicate.Server
- func UpdateMessageHasSuffix(v string) predicate.Server
- func UpdateMessageIn(vs ...string) predicate.Server
- func UpdateMessageIsNil() predicate.Server
- func UpdateMessageLT(v string) predicate.Server
- func UpdateMessageLTE(v string) predicate.Server
- func UpdateMessageNEQ(v string) predicate.Server
- func UpdateMessageNotIn(vs ...string) predicate.Server
- func UpdateMessageNotNil() predicate.Server
- func UpdateStatusEQ(v UpdateStatus) predicate.Server
- func UpdateStatusIn(vs ...UpdateStatus) predicate.Server
- func UpdateStatusIsNil() predicate.Server
- func UpdateStatusNEQ(v UpdateStatus) predicate.Server
- func UpdateStatusNotIn(vs ...UpdateStatus) predicate.Server
- func UpdateStatusNotNil() predicate.Server
- func UpdateStatusValidator(us UpdateStatus) error
- func UpdateWhen(v time.Time) predicate.Server
- func UpdateWhenEQ(v time.Time) predicate.Server
- func UpdateWhenGT(v time.Time) predicate.Server
- func UpdateWhenGTE(v time.Time) predicate.Server
- func UpdateWhenIn(vs ...time.Time) predicate.Server
- func UpdateWhenIsNil() predicate.Server
- func UpdateWhenLT(v time.Time) predicate.Server
- func UpdateWhenLTE(v time.Time) predicate.Server
- func UpdateWhenNEQ(v time.Time) predicate.Server
- func UpdateWhenNotIn(vs ...time.Time) predicate.Server
- func UpdateWhenNotNil() predicate.Server
- func ValidColumn(column string) bool
- func Version(v string) predicate.Server
- func VersionContains(v string) predicate.Server
- func VersionContainsFold(v string) predicate.Server
- func VersionEQ(v string) predicate.Server
- func VersionEqualFold(v string) predicate.Server
- func VersionGT(v string) predicate.Server
- func VersionGTE(v string) predicate.Server
- func VersionHasPrefix(v string) predicate.Server
- func VersionHasSuffix(v string) predicate.Server
- func VersionIn(vs ...string) predicate.Server
- func VersionLT(v string) predicate.Server
- func VersionLTE(v string) predicate.Server
- func VersionNEQ(v string) predicate.Server
- func VersionNotIn(vs ...string) predicate.Server
- type Channel
- type OrderOption
- func ByAgentWorkerComponent(opts ...sql.OrderTermOption) OrderOption
- func ByArch(opts ...sql.OrderTermOption) OrderOption
- func ByCertManagerWorkerComponent(opts ...sql.OrderTermOption) OrderOption
- func ByChannel(opts ...sql.OrderTermOption) OrderOption
- func ByConsoleComponent(opts ...sql.OrderTermOption) OrderOption
- func ByHostname(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByNatsComponent(opts ...sql.OrderTermOption) OrderOption
- func ByNotificationWorkerComponent(opts ...sql.OrderTermOption) OrderOption
- func ByOcspComponent(opts ...sql.OrderTermOption) OrderOption
- func ByOs(opts ...sql.OrderTermOption) OrderOption
- func ByUpdateMessage(opts ...sql.OrderTermOption) OrderOption
- func ByUpdateStatus(opts ...sql.OrderTermOption) OrderOption
- func ByUpdateWhen(opts ...sql.OrderTermOption) OrderOption
- func ByVersion(opts ...sql.OrderTermOption) OrderOption
- type UpdateStatus
Constants ¶
const ( // Label holds the string label denoting the server type in the database. Label = "server" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldHostname holds the string denoting the hostname field in the database. FieldHostname = "hostname" // FieldArch holds the string denoting the arch field in the database. FieldArch = "arch" // FieldOs holds the string denoting the os field in the database. FieldOs = "os" // FieldVersion holds the string denoting the version field in the database. FieldVersion = "version" // FieldChannel holds the string denoting the channel field in the database. FieldChannel = "channel" // FieldUpdateStatus holds the string denoting the update_status field in the database. FieldUpdateStatus = "update_status" // FieldUpdateMessage holds the string denoting the update_message field in the database. FieldUpdateMessage = "update_message" // FieldUpdateWhen holds the string denoting the update_when field in the database. FieldUpdateWhen = "update_when" // FieldNatsComponent holds the string denoting the nats_component field in the database. FieldNatsComponent = "nats_component" // FieldOcspComponent holds the string denoting the ocsp_component field in the database. FieldOcspComponent = "ocsp_component" // FieldConsoleComponent holds the string denoting the console_component field in the database. FieldConsoleComponent = "console_component" // FieldAgentWorkerComponent holds the string denoting the agent_worker_component field in the database. FieldAgentWorkerComponent = "agent_worker_component" // FieldNotificationWorkerComponent holds the string denoting the notification_worker_component field in the database. FieldNotificationWorkerComponent = "notification_worker_component" // FieldCertManagerWorkerComponent holds the string denoting the cert_manager_worker_component field in the database. FieldCertManagerWorkerComponent = "cert_manager_worker_component" // Table holds the table name of the server in the database. Table = "servers" )
Variables ¶
var Columns = []string{ FieldID, FieldHostname, FieldArch, FieldOs, FieldVersion, FieldChannel, FieldUpdateStatus, FieldUpdateMessage, FieldUpdateWhen, FieldNatsComponent, FieldOcspComponent, FieldConsoleComponent, FieldAgentWorkerComponent, FieldNotificationWorkerComponent, FieldCertManagerWorkerComponent, }
Columns holds all SQL columns for server fields.
Functions ¶
func AgentWorkerComponent ¶
AgentWorkerComponent applies equality check predicate on the "agent_worker_component" field. It's identical to AgentWorkerComponentEQ.
func AgentWorkerComponentEQ ¶
AgentWorkerComponentEQ applies the EQ predicate on the "agent_worker_component" field.
func AgentWorkerComponentIsNil ¶
AgentWorkerComponentIsNil applies the IsNil predicate on the "agent_worker_component" field.
func AgentWorkerComponentNEQ ¶
AgentWorkerComponentNEQ applies the NEQ predicate on the "agent_worker_component" field.
func AgentWorkerComponentNotNil ¶
AgentWorkerComponentNotNil applies the NotNil predicate on the "agent_worker_component" field.
func ArchContains ¶
ArchContains applies the Contains predicate on the "arch" field.
func ArchContainsFold ¶
ArchContainsFold applies the ContainsFold predicate on the "arch" field.
func ArchEqualFold ¶
ArchEqualFold applies the EqualFold predicate on the "arch" field.
func ArchHasPrefix ¶
ArchHasPrefix applies the HasPrefix predicate on the "arch" field.
func ArchHasSuffix ¶
ArchHasSuffix applies the HasSuffix predicate on the "arch" field.
func CertManagerWorkerComponent ¶
CertManagerWorkerComponent applies equality check predicate on the "cert_manager_worker_component" field. It's identical to CertManagerWorkerComponentEQ.
func CertManagerWorkerComponentEQ ¶
CertManagerWorkerComponentEQ applies the EQ predicate on the "cert_manager_worker_component" field.
func CertManagerWorkerComponentIsNil ¶
CertManagerWorkerComponentIsNil applies the IsNil predicate on the "cert_manager_worker_component" field.
func CertManagerWorkerComponentNEQ ¶
CertManagerWorkerComponentNEQ applies the NEQ predicate on the "cert_manager_worker_component" field.
func CertManagerWorkerComponentNotNil ¶
CertManagerWorkerComponentNotNil applies the NotNil predicate on the "cert_manager_worker_component" field.
func ChannelNEQ ¶
ChannelNEQ applies the NEQ predicate on the "channel" field.
func ChannelNotIn ¶
ChannelNotIn applies the NotIn predicate on the "channel" field.
func ChannelValidator ¶
ChannelValidator is a validator for the "channel" field enum values. It is called by the builders before save.
func ConsoleComponent ¶
ConsoleComponent applies equality check predicate on the "console_component" field. It's identical to ConsoleComponentEQ.
func ConsoleComponentEQ ¶
ConsoleComponentEQ applies the EQ predicate on the "console_component" field.
func ConsoleComponentIsNil ¶
ConsoleComponentIsNil applies the IsNil predicate on the "console_component" field.
func ConsoleComponentNEQ ¶
ConsoleComponentNEQ applies the NEQ predicate on the "console_component" field.
func ConsoleComponentNotNil ¶
ConsoleComponentNotNil applies the NotNil predicate on the "console_component" field.
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 NatsComponent ¶
NatsComponent applies equality check predicate on the "nats_component" field. It's identical to NatsComponentEQ.
func NatsComponentEQ ¶
NatsComponentEQ applies the EQ predicate on the "nats_component" field.
func NatsComponentIsNil ¶
NatsComponentIsNil applies the IsNil predicate on the "nats_component" field.
func NatsComponentNEQ ¶
NatsComponentNEQ applies the NEQ predicate on the "nats_component" field.
func NatsComponentNotNil ¶
NatsComponentNotNil applies the NotNil predicate on the "nats_component" field.
func NotificationWorkerComponent ¶
NotificationWorkerComponent applies equality check predicate on the "notification_worker_component" field. It's identical to NotificationWorkerComponentEQ.
func NotificationWorkerComponentEQ ¶
NotificationWorkerComponentEQ applies the EQ predicate on the "notification_worker_component" field.
func NotificationWorkerComponentIsNil ¶
NotificationWorkerComponentIsNil applies the IsNil predicate on the "notification_worker_component" field.
func NotificationWorkerComponentNEQ ¶
NotificationWorkerComponentNEQ applies the NEQ predicate on the "notification_worker_component" field.
func NotificationWorkerComponentNotNil ¶
NotificationWorkerComponentNotNil applies the NotNil predicate on the "notification_worker_component" field.
func OcspComponent ¶
OcspComponent applies equality check predicate on the "ocsp_component" field. It's identical to OcspComponentEQ.
func OcspComponentEQ ¶
OcspComponentEQ applies the EQ predicate on the "ocsp_component" field.
func OcspComponentIsNil ¶
OcspComponentIsNil applies the IsNil predicate on the "ocsp_component" field.
func OcspComponentNEQ ¶
OcspComponentNEQ applies the NEQ predicate on the "ocsp_component" field.
func OcspComponentNotNil ¶
OcspComponentNotNil applies the NotNil predicate on the "ocsp_component" field.
func OsContains ¶
OsContains applies the Contains predicate on the "os" field.
func OsContainsFold ¶
OsContainsFold applies the ContainsFold predicate on the "os" field.
func OsEqualFold ¶
OsEqualFold applies the EqualFold predicate on the "os" field.
func OsHasPrefix ¶
OsHasPrefix applies the HasPrefix predicate on the "os" field.
func OsHasSuffix ¶
OsHasSuffix applies the HasSuffix predicate on the "os" field.
func UpdateMessage ¶
UpdateMessage applies equality check predicate on the "update_message" field. It's identical to UpdateMessageEQ.
func UpdateMessageContains ¶
UpdateMessageContains applies the Contains predicate on the "update_message" field.
func UpdateMessageContainsFold ¶
UpdateMessageContainsFold applies the ContainsFold predicate on the "update_message" field.
func UpdateMessageEQ ¶
UpdateMessageEQ applies the EQ predicate on the "update_message" field.
func UpdateMessageEqualFold ¶
UpdateMessageEqualFold applies the EqualFold predicate on the "update_message" field.
func UpdateMessageGT ¶
UpdateMessageGT applies the GT predicate on the "update_message" field.
func UpdateMessageGTE ¶
UpdateMessageGTE applies the GTE predicate on the "update_message" field.
func UpdateMessageHasPrefix ¶
UpdateMessageHasPrefix applies the HasPrefix predicate on the "update_message" field.
func UpdateMessageHasSuffix ¶
UpdateMessageHasSuffix applies the HasSuffix predicate on the "update_message" field.
func UpdateMessageIn ¶
UpdateMessageIn applies the In predicate on the "update_message" field.
func UpdateMessageIsNil ¶
UpdateMessageIsNil applies the IsNil predicate on the "update_message" field.
func UpdateMessageLT ¶
UpdateMessageLT applies the LT predicate on the "update_message" field.
func UpdateMessageLTE ¶
UpdateMessageLTE applies the LTE predicate on the "update_message" field.
func UpdateMessageNEQ ¶
UpdateMessageNEQ applies the NEQ predicate on the "update_message" field.
func UpdateMessageNotIn ¶
UpdateMessageNotIn applies the NotIn predicate on the "update_message" field.
func UpdateMessageNotNil ¶
UpdateMessageNotNil applies the NotNil predicate on the "update_message" field.
func UpdateStatusEQ ¶
func UpdateStatusEQ(v UpdateStatus) predicate.Server
UpdateStatusEQ applies the EQ predicate on the "update_status" field.
func UpdateStatusIn ¶
func UpdateStatusIn(vs ...UpdateStatus) predicate.Server
UpdateStatusIn applies the In predicate on the "update_status" field.
func UpdateStatusIsNil ¶
UpdateStatusIsNil applies the IsNil predicate on the "update_status" field.
func UpdateStatusNEQ ¶
func UpdateStatusNEQ(v UpdateStatus) predicate.Server
UpdateStatusNEQ applies the NEQ predicate on the "update_status" field.
func UpdateStatusNotIn ¶
func UpdateStatusNotIn(vs ...UpdateStatus) predicate.Server
UpdateStatusNotIn applies the NotIn predicate on the "update_status" field.
func UpdateStatusNotNil ¶
UpdateStatusNotNil applies the NotNil predicate on the "update_status" field.
func UpdateStatusValidator ¶
func UpdateStatusValidator(us UpdateStatus) error
UpdateStatusValidator is a validator for the "update_status" field enum values. It is called by the builders before save.
func UpdateWhen ¶
UpdateWhen applies equality check predicate on the "update_when" field. It's identical to UpdateWhenEQ.
func UpdateWhenEQ ¶
UpdateWhenEQ applies the EQ predicate on the "update_when" field.
func UpdateWhenGT ¶
UpdateWhenGT applies the GT predicate on the "update_when" field.
func UpdateWhenGTE ¶
UpdateWhenGTE applies the GTE predicate on the "update_when" field.
func UpdateWhenIn ¶
UpdateWhenIn applies the In predicate on the "update_when" field.
func UpdateWhenIsNil ¶
UpdateWhenIsNil applies the IsNil predicate on the "update_when" field.
func UpdateWhenLT ¶
UpdateWhenLT applies the LT predicate on the "update_when" field.
func UpdateWhenLTE ¶
UpdateWhenLTE applies the LTE predicate on the "update_when" field.
func UpdateWhenNEQ ¶
UpdateWhenNEQ applies the NEQ predicate on the "update_when" field.
func UpdateWhenNotIn ¶
UpdateWhenNotIn applies the NotIn predicate on the "update_when" field.
func UpdateWhenNotNil ¶
UpdateWhenNotNil applies the NotNil predicate on the "update_when" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Version ¶
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionContains ¶
VersionContains applies the Contains predicate on the "version" field.
func VersionContainsFold ¶
VersionContainsFold applies the ContainsFold predicate on the "version" field.
func VersionEqualFold ¶
VersionEqualFold applies the EqualFold predicate on the "version" field.
func VersionGTE ¶
VersionGTE applies the GTE predicate on the "version" field.
func VersionHasPrefix ¶
VersionHasPrefix applies the HasPrefix predicate on the "version" field.
func VersionHasSuffix ¶
VersionHasSuffix applies the HasSuffix predicate on the "version" field.
func VersionLTE ¶
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
VersionNotIn applies the NotIn predicate on the "version" field.
Types ¶
type Channel ¶
type Channel string
Channel defines the type for the "channel" enum field.
type OrderOption ¶
OrderOption defines the ordering options for the Server queries.
func ByAgentWorkerComponent ¶
func ByAgentWorkerComponent(opts ...sql.OrderTermOption) OrderOption
ByAgentWorkerComponent orders the results by the agent_worker_component field.
func ByArch ¶
func ByArch(opts ...sql.OrderTermOption) OrderOption
ByArch orders the results by the arch field.
func ByCertManagerWorkerComponent ¶
func ByCertManagerWorkerComponent(opts ...sql.OrderTermOption) OrderOption
ByCertManagerWorkerComponent orders the results by the cert_manager_worker_component field.
func ByChannel ¶
func ByChannel(opts ...sql.OrderTermOption) OrderOption
ByChannel orders the results by the channel field.
func ByConsoleComponent ¶
func ByConsoleComponent(opts ...sql.OrderTermOption) OrderOption
ByConsoleComponent orders the results by the console_component field.
func ByHostname ¶
func ByHostname(opts ...sql.OrderTermOption) OrderOption
ByHostname orders the results by the hostname field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByNatsComponent ¶
func ByNatsComponent(opts ...sql.OrderTermOption) OrderOption
ByNatsComponent orders the results by the nats_component field.
func ByNotificationWorkerComponent ¶
func ByNotificationWorkerComponent(opts ...sql.OrderTermOption) OrderOption
ByNotificationWorkerComponent orders the results by the notification_worker_component field.
func ByOcspComponent ¶
func ByOcspComponent(opts ...sql.OrderTermOption) OrderOption
ByOcspComponent orders the results by the ocsp_component field.
func ByOs ¶
func ByOs(opts ...sql.OrderTermOption) OrderOption
ByOs orders the results by the os field.
func ByUpdateMessage ¶
func ByUpdateMessage(opts ...sql.OrderTermOption) OrderOption
ByUpdateMessage orders the results by the update_message field.
func ByUpdateStatus ¶
func ByUpdateStatus(opts ...sql.OrderTermOption) OrderOption
ByUpdateStatus orders the results by the update_status field.
func ByUpdateWhen ¶
func ByUpdateWhen(opts ...sql.OrderTermOption) OrderOption
ByUpdateWhen orders the results by the update_when field.
func ByVersion ¶
func ByVersion(opts ...sql.OrderTermOption) OrderOption
ByVersion orders the results by the version field.
type UpdateStatus ¶
type UpdateStatus string
UpdateStatus defines the type for the "update_status" enum field.
const ( UpdateStatusSuccess UpdateStatus = "Success" UpdateStatusError UpdateStatus = "Error" UpdateStatusPending UpdateStatus = "Pending" UpdateStatusInProgress UpdateStatus = "In Progress" )
UpdateStatus values.
func (UpdateStatus) String ¶
func (us UpdateStatus) String() string