Documentation
¶
Index ¶
- Constants
- Variables
- func AgentStatusEQ(v AgentStatus) predicate.Agent
- func AgentStatusIn(vs ...AgentStatus) predicate.Agent
- func AgentStatusIsNil() predicate.Agent
- func AgentStatusNEQ(v AgentStatus) predicate.Agent
- func AgentStatusNotIn(vs ...AgentStatus) predicate.Agent
- func AgentStatusNotNil() predicate.Agent
- func AgentStatusValidator(as AgentStatus) error
- func And(predicates ...predicate.Agent) predicate.Agent
- func CertificateReady(v bool) predicate.Agent
- func CertificateReadyEQ(v bool) predicate.Agent
- func CertificateReadyIsNil() predicate.Agent
- func CertificateReadyNEQ(v bool) predicate.Agent
- func CertificateReadyNotNil() predicate.Agent
- func FirstContact(v time.Time) predicate.Agent
- func FirstContactEQ(v time.Time) predicate.Agent
- func FirstContactGT(v time.Time) predicate.Agent
- func FirstContactGTE(v time.Time) predicate.Agent
- func FirstContactIn(vs ...time.Time) predicate.Agent
- func FirstContactIsNil() predicate.Agent
- func FirstContactLT(v time.Time) predicate.Agent
- func FirstContactLTE(v time.Time) predicate.Agent
- func FirstContactNEQ(v time.Time) predicate.Agent
- func FirstContactNotIn(vs ...time.Time) predicate.Agent
- func FirstContactNotNil() predicate.Agent
- func HasAntivirus() predicate.Agent
- func HasAntivirusWith(preds ...predicate.Antivirus) predicate.Agent
- func HasApps() predicate.Agent
- func HasAppsWith(preds ...predicate.App) predicate.Agent
- func HasComputer() predicate.Agent
- func HasComputerWith(preds ...predicate.Computer) predicate.Agent
- func HasDeployments() predicate.Agent
- func HasDeploymentsWith(preds ...predicate.Deployment) predicate.Agent
- func HasLogicaldisks() predicate.Agent
- func HasLogicaldisksWith(preds ...predicate.LogicalDisk) predicate.Agent
- func HasMetadata() predicate.Agent
- func HasMetadataWith(preds ...predicate.Metadata) predicate.Agent
- func HasMonitors() predicate.Agent
- func HasMonitorsWith(preds ...predicate.Monitor) predicate.Agent
- func HasNetworkadapters() predicate.Agent
- func HasNetworkadaptersWith(preds ...predicate.NetworkAdapter) predicate.Agent
- func HasOperatingsystem() predicate.Agent
- func HasOperatingsystemWith(preds ...predicate.OperatingSystem) predicate.Agent
- func HasPrinters() predicate.Agent
- func HasPrintersWith(preds ...predicate.Printer) predicate.Agent
- func HasRelease() predicate.Agent
- func HasReleaseWith(preds ...predicate.Release) predicate.Agent
- func HasShares() predicate.Agent
- func HasSharesWith(preds ...predicate.Share) predicate.Agent
- func HasSystemupdate() predicate.Agent
- func HasSystemupdateWith(preds ...predicate.SystemUpdate) predicate.Agent
- func HasTags() predicate.Agent
- func HasTagsWith(preds ...predicate.Tag) predicate.Agent
- func HasUpdates() predicate.Agent
- func HasUpdatesWith(preds ...predicate.Update) predicate.Agent
- func Hostname(v string) predicate.Agent
- func HostnameContains(v string) predicate.Agent
- func HostnameContainsFold(v string) predicate.Agent
- func HostnameEQ(v string) predicate.Agent
- func HostnameEqualFold(v string) predicate.Agent
- func HostnameGT(v string) predicate.Agent
- func HostnameGTE(v string) predicate.Agent
- func HostnameHasPrefix(v string) predicate.Agent
- func HostnameHasSuffix(v string) predicate.Agent
- func HostnameIn(vs ...string) predicate.Agent
- func HostnameLT(v string) predicate.Agent
- func HostnameLTE(v string) predicate.Agent
- func HostnameNEQ(v string) predicate.Agent
- func HostnameNotIn(vs ...string) predicate.Agent
- func ID(id string) predicate.Agent
- func IDContainsFold(id string) predicate.Agent
- func IDEQ(id string) predicate.Agent
- func IDEqualFold(id string) predicate.Agent
- func IDGT(id string) predicate.Agent
- func IDGTE(id string) predicate.Agent
- func IDIn(ids ...string) predicate.Agent
- func IDLT(id string) predicate.Agent
- func IDLTE(id string) predicate.Agent
- func IDNEQ(id string) predicate.Agent
- func IDNotIn(ids ...string) predicate.Agent
- func IP(v string) predicate.Agent
- func IPContains(v string) predicate.Agent
- func IPContainsFold(v string) predicate.Agent
- func IPEQ(v string) predicate.Agent
- func IPEqualFold(v string) predicate.Agent
- func IPGT(v string) predicate.Agent
- func IPGTE(v string) predicate.Agent
- func IPHasPrefix(v string) predicate.Agent
- func IPHasSuffix(v string) predicate.Agent
- func IPIn(vs ...string) predicate.Agent
- func IPLT(v string) predicate.Agent
- func IPLTE(v string) predicate.Agent
- func IPNEQ(v string) predicate.Agent
- func IPNotIn(vs ...string) predicate.Agent
- func LastContact(v time.Time) predicate.Agent
- func LastContactEQ(v time.Time) predicate.Agent
- func LastContactGT(v time.Time) predicate.Agent
- func LastContactGTE(v time.Time) predicate.Agent
- func LastContactIn(vs ...time.Time) predicate.Agent
- func LastContactIsNil() predicate.Agent
- func LastContactLT(v time.Time) predicate.Agent
- func LastContactLTE(v time.Time) predicate.Agent
- func LastContactNEQ(v time.Time) predicate.Agent
- func LastContactNotIn(vs ...time.Time) predicate.Agent
- func LastContactNotNil() predicate.Agent
- func MAC(v string) predicate.Agent
- func MACContains(v string) predicate.Agent
- func MACContainsFold(v string) predicate.Agent
- func MACEQ(v string) predicate.Agent
- func MACEqualFold(v string) predicate.Agent
- func MACGT(v string) predicate.Agent
- func MACGTE(v string) predicate.Agent
- func MACHasPrefix(v string) predicate.Agent
- func MACHasSuffix(v string) predicate.Agent
- func MACIn(vs ...string) predicate.Agent
- func MACLT(v string) predicate.Agent
- func MACLTE(v string) predicate.Agent
- func MACNEQ(v string) predicate.Agent
- func MACNotIn(vs ...string) predicate.Agent
- func Not(p predicate.Agent) predicate.Agent
- func Notes(v string) predicate.Agent
- func NotesContains(v string) predicate.Agent
- func NotesContainsFold(v string) predicate.Agent
- func NotesEQ(v string) predicate.Agent
- func NotesEqualFold(v string) predicate.Agent
- func NotesGT(v string) predicate.Agent
- func NotesGTE(v string) predicate.Agent
- func NotesHasPrefix(v string) predicate.Agent
- func NotesHasSuffix(v string) predicate.Agent
- func NotesIn(vs ...string) predicate.Agent
- func NotesIsNil() predicate.Agent
- func NotesLT(v string) predicate.Agent
- func NotesLTE(v string) predicate.Agent
- func NotesNEQ(v string) predicate.Agent
- func NotesNotIn(vs ...string) predicate.Agent
- func NotesNotNil() predicate.Agent
- func Or(predicates ...predicate.Agent) predicate.Agent
- func Os(v string) predicate.Agent
- func OsContains(v string) predicate.Agent
- func OsContainsFold(v string) predicate.Agent
- func OsEQ(v string) predicate.Agent
- func OsEqualFold(v string) predicate.Agent
- func OsGT(v string) predicate.Agent
- func OsGTE(v string) predicate.Agent
- func OsHasPrefix(v string) predicate.Agent
- func OsHasSuffix(v string) predicate.Agent
- func OsIn(vs ...string) predicate.Agent
- func OsLT(v string) predicate.Agent
- func OsLTE(v string) predicate.Agent
- func OsNEQ(v string) predicate.Agent
- func OsNotIn(vs ...string) predicate.Agent
- func RestartRequired(v bool) predicate.Agent
- func RestartRequiredEQ(v bool) predicate.Agent
- func RestartRequiredIsNil() predicate.Agent
- func RestartRequiredNEQ(v bool) predicate.Agent
- func RestartRequiredNotNil() predicate.Agent
- func SftpPort(v string) predicate.Agent
- func SftpPortContains(v string) predicate.Agent
- func SftpPortContainsFold(v string) predicate.Agent
- func SftpPortEQ(v string) predicate.Agent
- func SftpPortEqualFold(v string) predicate.Agent
- func SftpPortGT(v string) predicate.Agent
- func SftpPortGTE(v string) predicate.Agent
- func SftpPortHasPrefix(v string) predicate.Agent
- func SftpPortHasSuffix(v string) predicate.Agent
- func SftpPortIn(vs ...string) predicate.Agent
- func SftpPortIsNil() predicate.Agent
- func SftpPortLT(v string) predicate.Agent
- func SftpPortLTE(v string) predicate.Agent
- func SftpPortNEQ(v string) predicate.Agent
- func SftpPortNotIn(vs ...string) predicate.Agent
- func SftpPortNotNil() predicate.Agent
- func UpdateTaskDescription(v string) predicate.Agent
- func UpdateTaskDescriptionContains(v string) predicate.Agent
- func UpdateTaskDescriptionContainsFold(v string) predicate.Agent
- func UpdateTaskDescriptionEQ(v string) predicate.Agent
- func UpdateTaskDescriptionEqualFold(v string) predicate.Agent
- func UpdateTaskDescriptionGT(v string) predicate.Agent
- func UpdateTaskDescriptionGTE(v string) predicate.Agent
- func UpdateTaskDescriptionHasPrefix(v string) predicate.Agent
- func UpdateTaskDescriptionHasSuffix(v string) predicate.Agent
- func UpdateTaskDescriptionIn(vs ...string) predicate.Agent
- func UpdateTaskDescriptionIsNil() predicate.Agent
- func UpdateTaskDescriptionLT(v string) predicate.Agent
- func UpdateTaskDescriptionLTE(v string) predicate.Agent
- func UpdateTaskDescriptionNEQ(v string) predicate.Agent
- func UpdateTaskDescriptionNotIn(vs ...string) predicate.Agent
- func UpdateTaskDescriptionNotNil() predicate.Agent
- func UpdateTaskExecution(v time.Time) predicate.Agent
- func UpdateTaskExecutionEQ(v time.Time) predicate.Agent
- func UpdateTaskExecutionGT(v time.Time) predicate.Agent
- func UpdateTaskExecutionGTE(v time.Time) predicate.Agent
- func UpdateTaskExecutionIn(vs ...time.Time) predicate.Agent
- func UpdateTaskExecutionIsNil() predicate.Agent
- func UpdateTaskExecutionLT(v time.Time) predicate.Agent
- func UpdateTaskExecutionLTE(v time.Time) predicate.Agent
- func UpdateTaskExecutionNEQ(v time.Time) predicate.Agent
- func UpdateTaskExecutionNotIn(vs ...time.Time) predicate.Agent
- func UpdateTaskExecutionNotNil() predicate.Agent
- func UpdateTaskResult(v string) predicate.Agent
- func UpdateTaskResultContains(v string) predicate.Agent
- func UpdateTaskResultContainsFold(v string) predicate.Agent
- func UpdateTaskResultEQ(v string) predicate.Agent
- func UpdateTaskResultEqualFold(v string) predicate.Agent
- func UpdateTaskResultGT(v string) predicate.Agent
- func UpdateTaskResultGTE(v string) predicate.Agent
- func UpdateTaskResultHasPrefix(v string) predicate.Agent
- func UpdateTaskResultHasSuffix(v string) predicate.Agent
- func UpdateTaskResultIn(vs ...string) predicate.Agent
- func UpdateTaskResultIsNil() predicate.Agent
- func UpdateTaskResultLT(v string) predicate.Agent
- func UpdateTaskResultLTE(v string) predicate.Agent
- func UpdateTaskResultNEQ(v string) predicate.Agent
- func UpdateTaskResultNotIn(vs ...string) predicate.Agent
- func UpdateTaskResultNotNil() predicate.Agent
- func UpdateTaskStatus(v string) predicate.Agent
- func UpdateTaskStatusContains(v string) predicate.Agent
- func UpdateTaskStatusContainsFold(v string) predicate.Agent
- func UpdateTaskStatusEQ(v string) predicate.Agent
- func UpdateTaskStatusEqualFold(v string) predicate.Agent
- func UpdateTaskStatusGT(v string) predicate.Agent
- func UpdateTaskStatusGTE(v string) predicate.Agent
- func UpdateTaskStatusHasPrefix(v string) predicate.Agent
- func UpdateTaskStatusHasSuffix(v string) predicate.Agent
- func UpdateTaskStatusIn(vs ...string) predicate.Agent
- func UpdateTaskStatusIsNil() predicate.Agent
- func UpdateTaskStatusLT(v string) predicate.Agent
- func UpdateTaskStatusLTE(v string) predicate.Agent
- func UpdateTaskStatusNEQ(v string) predicate.Agent
- func UpdateTaskStatusNotIn(vs ...string) predicate.Agent
- func UpdateTaskStatusNotNil() predicate.Agent
- func UpdateTaskVersion(v string) predicate.Agent
- func UpdateTaskVersionContains(v string) predicate.Agent
- func UpdateTaskVersionContainsFold(v string) predicate.Agent
- func UpdateTaskVersionEQ(v string) predicate.Agent
- func UpdateTaskVersionEqualFold(v string) predicate.Agent
- func UpdateTaskVersionGT(v string) predicate.Agent
- func UpdateTaskVersionGTE(v string) predicate.Agent
- func UpdateTaskVersionHasPrefix(v string) predicate.Agent
- func UpdateTaskVersionHasSuffix(v string) predicate.Agent
- func UpdateTaskVersionIn(vs ...string) predicate.Agent
- func UpdateTaskVersionIsNil() predicate.Agent
- func UpdateTaskVersionLT(v string) predicate.Agent
- func UpdateTaskVersionLTE(v string) predicate.Agent
- func UpdateTaskVersionNEQ(v string) predicate.Agent
- func UpdateTaskVersionNotIn(vs ...string) predicate.Agent
- func UpdateTaskVersionNotNil() predicate.Agent
- func ValidColumn(column string) bool
- func Vnc(v string) predicate.Agent
- func VncContains(v string) predicate.Agent
- func VncContainsFold(v string) predicate.Agent
- func VncEQ(v string) predicate.Agent
- func VncEqualFold(v string) predicate.Agent
- func VncGT(v string) predicate.Agent
- func VncGTE(v string) predicate.Agent
- func VncHasPrefix(v string) predicate.Agent
- func VncHasSuffix(v string) predicate.Agent
- func VncIn(vs ...string) predicate.Agent
- func VncIsNil() predicate.Agent
- func VncLT(v string) predicate.Agent
- func VncLTE(v string) predicate.Agent
- func VncNEQ(v string) predicate.Agent
- func VncNotIn(vs ...string) predicate.Agent
- func VncNotNil() predicate.Agent
- func VncProxyPort(v string) predicate.Agent
- func VncProxyPortContains(v string) predicate.Agent
- func VncProxyPortContainsFold(v string) predicate.Agent
- func VncProxyPortEQ(v string) predicate.Agent
- func VncProxyPortEqualFold(v string) predicate.Agent
- func VncProxyPortGT(v string) predicate.Agent
- func VncProxyPortGTE(v string) predicate.Agent
- func VncProxyPortHasPrefix(v string) predicate.Agent
- func VncProxyPortHasSuffix(v string) predicate.Agent
- func VncProxyPortIn(vs ...string) predicate.Agent
- func VncProxyPortIsNil() predicate.Agent
- func VncProxyPortLT(v string) predicate.Agent
- func VncProxyPortLTE(v string) predicate.Agent
- func VncProxyPortNEQ(v string) predicate.Agent
- func VncProxyPortNotIn(vs ...string) predicate.Agent
- func VncProxyPortNotNil() predicate.Agent
- type AgentStatus
- type OrderOption
- func ByAgentStatus(opts ...sql.OrderTermOption) OrderOption
- func ByAntivirusField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByApps(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByAppsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCertificateReady(opts ...sql.OrderTermOption) OrderOption
- func ByComputerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByDeployments(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByDeploymentsCount(opts ...sql.OrderTermOption) OrderOption
- func ByFirstContact(opts ...sql.OrderTermOption) OrderOption
- func ByHostname(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIP(opts ...sql.OrderTermOption) OrderOption
- func ByLastContact(opts ...sql.OrderTermOption) OrderOption
- func ByLogicaldisks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByLogicaldisksCount(opts ...sql.OrderTermOption) OrderOption
- func ByMAC(opts ...sql.OrderTermOption) OrderOption
- func ByMetadata(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByMetadataCount(opts ...sql.OrderTermOption) OrderOption
- func ByMonitors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByMonitorsCount(opts ...sql.OrderTermOption) OrderOption
- func ByNetworkadapters(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByNetworkadaptersCount(opts ...sql.OrderTermOption) OrderOption
- func ByNotes(opts ...sql.OrderTermOption) OrderOption
- func ByOperatingsystemField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOs(opts ...sql.OrderTermOption) OrderOption
- func ByPrinters(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByPrintersCount(opts ...sql.OrderTermOption) OrderOption
- func ByReleaseField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByRestartRequired(opts ...sql.OrderTermOption) OrderOption
- func BySftpPort(opts ...sql.OrderTermOption) OrderOption
- func ByShares(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySharesCount(opts ...sql.OrderTermOption) OrderOption
- func BySystemupdateField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByTags(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTagsCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdateTaskDescription(opts ...sql.OrderTermOption) OrderOption
- func ByUpdateTaskExecution(opts ...sql.OrderTermOption) OrderOption
- func ByUpdateTaskResult(opts ...sql.OrderTermOption) OrderOption
- func ByUpdateTaskStatus(opts ...sql.OrderTermOption) OrderOption
- func ByUpdateTaskVersion(opts ...sql.OrderTermOption) OrderOption
- func ByUpdates(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByUpdatesCount(opts ...sql.OrderTermOption) OrderOption
- func ByVnc(opts ...sql.OrderTermOption) OrderOption
- func ByVncProxyPort(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the agent type in the database. Label = "agent" // FieldID holds the string denoting the id field in the database. FieldID = "oid" // FieldOs holds the string denoting the os field in the database. FieldOs = "os" // FieldHostname holds the string denoting the hostname field in the database. FieldHostname = "hostname" // FieldIP holds the string denoting the ip field in the database. FieldIP = "ip" // FieldMAC holds the string denoting the mac field in the database. FieldMAC = "mac" // FieldFirstContact holds the string denoting the first_contact field in the database. FieldFirstContact = "first_contact" // FieldLastContact holds the string denoting the last_contact field in the database. FieldLastContact = "last_contact" // FieldVnc holds the string denoting the vnc field in the database. FieldVnc = "vnc" // FieldNotes holds the string denoting the notes field in the database. FieldNotes = "notes" // FieldUpdateTaskStatus holds the string denoting the update_task_status field in the database. FieldUpdateTaskStatus = "update_task_status" // FieldUpdateTaskDescription holds the string denoting the update_task_description field in the database. FieldUpdateTaskDescription = "update_task_description" // FieldUpdateTaskResult holds the string denoting the update_task_result field in the database. FieldUpdateTaskResult = "update_task_result" // FieldUpdateTaskExecution holds the string denoting the update_task_execution field in the database. FieldUpdateTaskExecution = "update_task_execution" // FieldUpdateTaskVersion holds the string denoting the update_task_version field in the database. FieldUpdateTaskVersion = "update_task_version" // FieldVncProxyPort holds the string denoting the vnc_proxy_port field in the database. FieldVncProxyPort = "vnc_proxy_port" // FieldSftpPort holds the string denoting the sftp_port field in the database. FieldSftpPort = "sftp_port" // FieldAgentStatus holds the string denoting the agent_status field in the database. FieldAgentStatus = "agent_status" // FieldCertificateReady holds the string denoting the certificate_ready field in the database. FieldCertificateReady = "certificate_ready" // FieldRestartRequired holds the string denoting the restart_required field in the database. FieldRestartRequired = "restart_required" // EdgeComputer holds the string denoting the computer edge name in mutations. EdgeComputer = "computer" // EdgeOperatingsystem holds the string denoting the operatingsystem edge name in mutations. EdgeOperatingsystem = "operatingsystem" // EdgeSystemupdate holds the string denoting the systemupdate edge name in mutations. EdgeSystemupdate = "systemupdate" // EdgeAntivirus holds the string denoting the antivirus edge name in mutations. EdgeAntivirus = "antivirus" // EdgeLogicaldisks holds the string denoting the logicaldisks edge name in mutations. EdgeLogicaldisks = "logicaldisks" // EdgeApps holds the string denoting the apps edge name in mutations. EdgeApps = "apps" // EdgeMonitors holds the string denoting the monitors edge name in mutations. EdgeMonitors = "monitors" EdgeShares = "shares" // EdgePrinters holds the string denoting the printers edge name in mutations. EdgePrinters = "printers" // EdgeNetworkadapters holds the string denoting the networkadapters edge name in mutations. EdgeNetworkadapters = "networkadapters" // EdgeDeployments holds the string denoting the deployments edge name in mutations. EdgeDeployments = "deployments" // EdgeUpdates holds the string denoting the updates edge name in mutations. EdgeUpdates = "updates" // EdgeTags holds the string denoting the tags edge name in mutations. EdgeTags = "tags" // EdgeMetadata holds the string denoting the metadata edge name in mutations. EdgeMetadata = "metadata" // EdgeRelease holds the string denoting the release edge name in mutations. EdgeRelease = "release" // ComputerFieldID holds the string denoting the ID field of the Computer. ComputerFieldID = "id" // OperatingSystemFieldID holds the string denoting the ID field of the OperatingSystem. OperatingSystemFieldID = "id" // SystemUpdateFieldID holds the string denoting the ID field of the SystemUpdate. SystemUpdateFieldID = "id" // AntivirusFieldID holds the string denoting the ID field of the Antivirus. AntivirusFieldID = "id" // LogicalDiskFieldID holds the string denoting the ID field of the LogicalDisk. LogicalDiskFieldID = "id" // AppFieldID holds the string denoting the ID field of the App. AppFieldID = "id" // MonitorFieldID holds the string denoting the ID field of the Monitor. MonitorFieldID = "id" ShareFieldID = "id" // PrinterFieldID holds the string denoting the ID field of the Printer. PrinterFieldID = "id" // NetworkAdapterFieldID holds the string denoting the ID field of the NetworkAdapter. NetworkAdapterFieldID = "id" // DeploymentFieldID holds the string denoting the ID field of the Deployment. DeploymentFieldID = "id" // UpdateFieldID holds the string denoting the ID field of the Update. UpdateFieldID = "id" // TagFieldID holds the string denoting the ID field of the Tag. TagFieldID = "id" // MetadataFieldID holds the string denoting the ID field of the Metadata. MetadataFieldID = "id" // ReleaseFieldID holds the string denoting the ID field of the Release. ReleaseFieldID = "id" // Table holds the table name of the agent in the database. Table = "agents" // ComputerTable is the table that holds the computer relation/edge. ComputerTable = "computers" // ComputerInverseTable is the table name for the Computer entity. // It exists in this package in order to avoid circular dependency with the "computer" package. ComputerInverseTable = "computers" // ComputerColumn is the table column denoting the computer relation/edge. ComputerColumn = "agent_computer" // OperatingsystemTable is the table that holds the operatingsystem relation/edge. OperatingsystemTable = "operating_systems" // OperatingsystemInverseTable is the table name for the OperatingSystem entity. // It exists in this package in order to avoid circular dependency with the "operatingsystem" package. OperatingsystemInverseTable = "operating_systems" // OperatingsystemColumn is the table column denoting the operatingsystem relation/edge. OperatingsystemColumn = "agent_operatingsystem" // SystemupdateTable is the table that holds the systemupdate relation/edge. SystemupdateTable = "system_updates" // SystemupdateInverseTable is the table name for the SystemUpdate entity. // It exists in this package in order to avoid circular dependency with the "systemupdate" package. SystemupdateInverseTable = "system_updates" // SystemupdateColumn is the table column denoting the systemupdate relation/edge. SystemupdateColumn = "agent_systemupdate" // AntivirusTable is the table that holds the antivirus relation/edge. AntivirusTable = "antiviri" // AntivirusInverseTable is the table name for the Antivirus entity. // It exists in this package in order to avoid circular dependency with the "antivirus" package. AntivirusInverseTable = "antiviri" // AntivirusColumn is the table column denoting the antivirus relation/edge. AntivirusColumn = "agent_antivirus" // LogicaldisksTable is the table that holds the logicaldisks relation/edge. LogicaldisksTable = "logical_disks" // LogicaldisksInverseTable is the table name for the LogicalDisk entity. // It exists in this package in order to avoid circular dependency with the "logicaldisk" package. LogicaldisksInverseTable = "logical_disks" // LogicaldisksColumn is the table column denoting the logicaldisks relation/edge. LogicaldisksColumn = "agent_logicaldisks" // AppsTable is the table that holds the apps relation/edge. AppsTable = "apps" // AppsInverseTable is the table name for the App entity. // It exists in this package in order to avoid circular dependency with the "app" package. AppsInverseTable = "apps" // AppsColumn is the table column denoting the apps relation/edge. AppsColumn = "agent_apps" // MonitorsTable is the table that holds the monitors relation/edge. MonitorsTable = "monitors" // MonitorsInverseTable is the table name for the Monitor entity. // It exists in this package in order to avoid circular dependency with the "monitor" package. MonitorsInverseTable = "monitors" // MonitorsColumn is the table column denoting the monitors relation/edge. MonitorsColumn = "agent_monitors" SharesTable = "shares" // It exists in this package in order to avoid circular dependency with the "share" package. SharesInverseTable = "shares" SharesColumn = "agent_shares" // PrintersTable is the table that holds the printers relation/edge. PrintersTable = "printers" // PrintersInverseTable is the table name for the Printer entity. // It exists in this package in order to avoid circular dependency with the "printer" package. PrintersInverseTable = "printers" // PrintersColumn is the table column denoting the printers relation/edge. PrintersColumn = "agent_printers" // NetworkadaptersTable is the table that holds the networkadapters relation/edge. NetworkadaptersTable = "network_adapters" // NetworkadaptersInverseTable is the table name for the NetworkAdapter entity. // It exists in this package in order to avoid circular dependency with the "networkadapter" package. NetworkadaptersInverseTable = "network_adapters" // NetworkadaptersColumn is the table column denoting the networkadapters relation/edge. NetworkadaptersColumn = "agent_networkadapters" // DeploymentsTable is the table that holds the deployments relation/edge. DeploymentsTable = "deployments" // DeploymentsInverseTable is the table name for the Deployment entity. // It exists in this package in order to avoid circular dependency with the "deployment" package. DeploymentsInverseTable = "deployments" // DeploymentsColumn is the table column denoting the deployments relation/edge. DeploymentsColumn = "agent_deployments" // UpdatesTable is the table that holds the updates relation/edge. UpdatesTable = "updates" // UpdatesInverseTable is the table name for the Update entity. // It exists in this package in order to avoid circular dependency with the "update" package. UpdatesInverseTable = "updates" // UpdatesColumn is the table column denoting the updates relation/edge. UpdatesColumn = "agent_updates" // TagsTable is the table that holds the tags relation/edge. The primary key declared below. TagsTable = "agent_tags" // TagsInverseTable is the table name for the Tag entity. // It exists in this package in order to avoid circular dependency with the "tag" package. TagsInverseTable = "tags" // MetadataTable is the table that holds the metadata relation/edge. MetadataTable = "metadata" // MetadataInverseTable is the table name for the Metadata entity. // It exists in this package in order to avoid circular dependency with the "metadata" package. MetadataInverseTable = "metadata" // MetadataColumn is the table column denoting the metadata relation/edge. MetadataColumn = "agent_metadata" // ReleaseTable is the table that holds the release relation/edge. ReleaseTable = "agents" // ReleaseInverseTable is the table name for the Release entity. // It exists in this package in order to avoid circular dependency with the "release" package. ReleaseInverseTable = "releases" // ReleaseColumn is the table column denoting the release relation/edge. ReleaseColumn = "release_agents" )
const DefaultAgentStatus = AgentStatusWaitingForAdmission
AgentStatusWaitingForAdmission is the default value of the AgentStatus enum.
Variables ¶
var ( // OsValidator is a validator for the "os" field. It is called by the builders before save. OsValidator func(string) error // HostnameValidator is a validator for the "hostname" field. It is called by the builders before save. HostnameValidator func(string) error // DefaultIP holds the default value on creation for the "ip" field. DefaultIP string // DefaultMAC holds the default value on creation for the "mac" field. DefaultMAC string // DefaultVnc holds the default value on creation for the "vnc" field. DefaultVnc string // DefaultUpdateTaskStatus holds the default value on creation for the "update_task_status" field. DefaultUpdateTaskStatus string // DefaultUpdateTaskDescription holds the default value on creation for the "update_task_description" field. DefaultUpdateTaskDescription string // DefaultUpdateTaskResult holds the default value on creation for the "update_task_result" field. DefaultUpdateTaskResult string // DefaultUpdateTaskVersion holds the default value on creation for the "update_task_version" field. DefaultUpdateTaskVersion string // DefaultVncProxyPort holds the default value on creation for the "vnc_proxy_port" field. DefaultVncProxyPort string // DefaultSftpPort holds the default value on creation for the "sftp_port" field. DefaultSftpPort string // DefaultCertificateReady holds the default value on creation for the "certificate_ready" field. DefaultCertificateReady bool // DefaultRestartRequired holds the default value on creation for the "restart_required" field. DefaultRestartRequired bool // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(string) error )
var Columns = []string{ FieldID, FieldOs, FieldHostname, FieldIP, FieldMAC, FieldFirstContact, FieldLastContact, FieldVnc, FieldNotes, FieldUpdateTaskStatus, FieldUpdateTaskDescription, FieldUpdateTaskResult, FieldUpdateTaskExecution, FieldUpdateTaskVersion, FieldVncProxyPort, FieldSftpPort, FieldAgentStatus, FieldCertificateReady, FieldRestartRequired, }
Columns holds all SQL columns for agent fields.
var ForeignKeys = []string{
"release_agents",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "agents" table and are not defined as standalone fields in the schema.
var ( // TagsPrimaryKey and TagsColumn2 are the table columns denoting the // primary key for the tags relation (M2M). TagsPrimaryKey = []string{"agent_id", "tag_id"} )
Functions ¶
func AgentStatusEQ ¶
func AgentStatusEQ(v AgentStatus) predicate.Agent
AgentStatusEQ applies the EQ predicate on the "agent_status" field.
func AgentStatusIn ¶
func AgentStatusIn(vs ...AgentStatus) predicate.Agent
AgentStatusIn applies the In predicate on the "agent_status" field.
func AgentStatusIsNil ¶
AgentStatusIsNil applies the IsNil predicate on the "agent_status" field.
func AgentStatusNEQ ¶
func AgentStatusNEQ(v AgentStatus) predicate.Agent
AgentStatusNEQ applies the NEQ predicate on the "agent_status" field.
func AgentStatusNotIn ¶
func AgentStatusNotIn(vs ...AgentStatus) predicate.Agent
AgentStatusNotIn applies the NotIn predicate on the "agent_status" field.
func AgentStatusNotNil ¶
AgentStatusNotNil applies the NotNil predicate on the "agent_status" field.
func AgentStatusValidator ¶
func AgentStatusValidator(as AgentStatus) error
AgentStatusValidator is a validator for the "agent_status" field enum values. It is called by the builders before save.
func CertificateReady ¶
CertificateReady applies equality check predicate on the "certificate_ready" field. It's identical to CertificateReadyEQ.
func CertificateReadyEQ ¶
CertificateReadyEQ applies the EQ predicate on the "certificate_ready" field.
func CertificateReadyIsNil ¶
CertificateReadyIsNil applies the IsNil predicate on the "certificate_ready" field.
func CertificateReadyNEQ ¶
CertificateReadyNEQ applies the NEQ predicate on the "certificate_ready" field.
func CertificateReadyNotNil ¶
CertificateReadyNotNil applies the NotNil predicate on the "certificate_ready" field.
func FirstContact ¶
FirstContact applies equality check predicate on the "first_contact" field. It's identical to FirstContactEQ.
func FirstContactEQ ¶
FirstContactEQ applies the EQ predicate on the "first_contact" field.
func FirstContactGT ¶
FirstContactGT applies the GT predicate on the "first_contact" field.
func FirstContactGTE ¶
FirstContactGTE applies the GTE predicate on the "first_contact" field.
func FirstContactIn ¶
FirstContactIn applies the In predicate on the "first_contact" field.
func FirstContactIsNil ¶
FirstContactIsNil applies the IsNil predicate on the "first_contact" field.
func FirstContactLT ¶
FirstContactLT applies the LT predicate on the "first_contact" field.
func FirstContactLTE ¶
FirstContactLTE applies the LTE predicate on the "first_contact" field.
func FirstContactNEQ ¶
FirstContactNEQ applies the NEQ predicate on the "first_contact" field.
func FirstContactNotIn ¶
FirstContactNotIn applies the NotIn predicate on the "first_contact" field.
func FirstContactNotNil ¶
FirstContactNotNil applies the NotNil predicate on the "first_contact" field.
func HasAntivirus ¶
HasAntivirus applies the HasEdge predicate on the "antivirus" edge.
func HasAntivirusWith ¶
HasAntivirusWith applies the HasEdge predicate on the "antivirus" edge with a given conditions (other predicates).
func HasAppsWith ¶
HasAppsWith applies the HasEdge predicate on the "apps" edge with a given conditions (other predicates).
func HasComputer ¶
HasComputer applies the HasEdge predicate on the "computer" edge.
func HasComputerWith ¶
HasComputerWith applies the HasEdge predicate on the "computer" edge with a given conditions (other predicates).
func HasDeployments ¶
HasDeployments applies the HasEdge predicate on the "deployments" edge.
func HasDeploymentsWith ¶
func HasDeploymentsWith(preds ...predicate.Deployment) predicate.Agent
HasDeploymentsWith applies the HasEdge predicate on the "deployments" edge with a given conditions (other predicates).
func HasLogicaldisks ¶
HasLogicaldisks applies the HasEdge predicate on the "logicaldisks" edge.
func HasLogicaldisksWith ¶
func HasLogicaldisksWith(preds ...predicate.LogicalDisk) predicate.Agent
HasLogicaldisksWith applies the HasEdge predicate on the "logicaldisks" edge with a given conditions (other predicates).
func HasMetadata ¶
HasMetadata applies the HasEdge predicate on the "metadata" edge.
func HasMetadataWith ¶
HasMetadataWith applies the HasEdge predicate on the "metadata" edge with a given conditions (other predicates).
func HasMonitors ¶
HasMonitors applies the HasEdge predicate on the "monitors" edge.
func HasMonitorsWith ¶
HasMonitorsWith applies the HasEdge predicate on the "monitors" edge with a given conditions (other predicates).
func HasNetworkadapters ¶
HasNetworkadapters applies the HasEdge predicate on the "networkadapters" edge.
func HasNetworkadaptersWith ¶
func HasNetworkadaptersWith(preds ...predicate.NetworkAdapter) predicate.Agent
HasNetworkadaptersWith applies the HasEdge predicate on the "networkadapters" edge with a given conditions (other predicates).
func HasOperatingsystem ¶
HasOperatingsystem applies the HasEdge predicate on the "operatingsystem" edge.
func HasOperatingsystemWith ¶
func HasOperatingsystemWith(preds ...predicate.OperatingSystem) predicate.Agent
HasOperatingsystemWith applies the HasEdge predicate on the "operatingsystem" edge with a given conditions (other predicates).
func HasPrinters ¶
HasPrinters applies the HasEdge predicate on the "printers" edge.
func HasPrintersWith ¶
HasPrintersWith applies the HasEdge predicate on the "printers" edge with a given conditions (other predicates).
func HasRelease ¶
HasRelease applies the HasEdge predicate on the "release" edge.
func HasReleaseWith ¶
HasReleaseWith applies the HasEdge predicate on the "release" edge with a given conditions (other predicates).
func HasSharesWith ¶
HasSharesWith applies the HasEdge predicate on the "shares" edge with a given conditions (other predicates).
func HasSystemupdate ¶
HasSystemupdate applies the HasEdge predicate on the "systemupdate" edge.
func HasSystemupdateWith ¶
func HasSystemupdateWith(preds ...predicate.SystemUpdate) predicate.Agent
HasSystemupdateWith applies the HasEdge predicate on the "systemupdate" edge with a given conditions (other predicates).
func HasTagsWith ¶
HasTagsWith applies the HasEdge predicate on the "tags" edge with a given conditions (other predicates).
func HasUpdates ¶
HasUpdates applies the HasEdge predicate on the "updates" edge.
func HasUpdatesWith ¶
HasUpdatesWith applies the HasEdge predicate on the "updates" 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 IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func IPContains ¶
IPContains applies the Contains predicate on the "ip" field.
func IPContainsFold ¶
IPContainsFold applies the ContainsFold predicate on the "ip" field.
func IPEqualFold ¶
IPEqualFold applies the EqualFold predicate on the "ip" field.
func IPHasPrefix ¶
IPHasPrefix applies the HasPrefix predicate on the "ip" field.
func IPHasSuffix ¶
IPHasSuffix applies the HasSuffix predicate on the "ip" field.
func LastContact ¶
LastContact applies equality check predicate on the "last_contact" field. It's identical to LastContactEQ.
func LastContactEQ ¶
LastContactEQ applies the EQ predicate on the "last_contact" field.
func LastContactGT ¶
LastContactGT applies the GT predicate on the "last_contact" field.
func LastContactGTE ¶
LastContactGTE applies the GTE predicate on the "last_contact" field.
func LastContactIn ¶
LastContactIn applies the In predicate on the "last_contact" field.
func LastContactIsNil ¶
LastContactIsNil applies the IsNil predicate on the "last_contact" field.
func LastContactLT ¶
LastContactLT applies the LT predicate on the "last_contact" field.
func LastContactLTE ¶
LastContactLTE applies the LTE predicate on the "last_contact" field.
func LastContactNEQ ¶
LastContactNEQ applies the NEQ predicate on the "last_contact" field.
func LastContactNotIn ¶
LastContactNotIn applies the NotIn predicate on the "last_contact" field.
func LastContactNotNil ¶
LastContactNotNil applies the NotNil predicate on the "last_contact" field.
func MACContains ¶
MACContains applies the Contains predicate on the "mac" field.
func MACContainsFold ¶
MACContainsFold applies the ContainsFold predicate on the "mac" field.
func MACEqualFold ¶
MACEqualFold applies the EqualFold predicate on the "mac" field.
func MACHasPrefix ¶
MACHasPrefix applies the HasPrefix predicate on the "mac" field.
func MACHasSuffix ¶
MACHasSuffix applies the HasSuffix predicate on the "mac" field.
func Notes ¶
Notes applies equality check predicate on the "notes" field. It's identical to NotesEQ.
func NotesContains ¶
NotesContains applies the Contains predicate on the "notes" field.
func NotesContainsFold ¶
NotesContainsFold applies the ContainsFold predicate on the "notes" field.
func NotesEqualFold ¶
NotesEqualFold applies the EqualFold predicate on the "notes" field.
func NotesHasPrefix ¶
NotesHasPrefix applies the HasPrefix predicate on the "notes" field.
func NotesHasSuffix ¶
NotesHasSuffix applies the HasSuffix predicate on the "notes" field.
func NotesIsNil ¶
NotesIsNil applies the IsNil predicate on the "notes" field.
func NotesNotIn ¶
NotesNotIn applies the NotIn predicate on the "notes" field.
func NotesNotNil ¶
NotesNotNil applies the NotNil predicate on the "notes" 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 RestartRequired ¶
RestartRequired applies equality check predicate on the "restart_required" field. It's identical to RestartRequiredEQ.
func RestartRequiredEQ ¶
RestartRequiredEQ applies the EQ predicate on the "restart_required" field.
func RestartRequiredIsNil ¶
RestartRequiredIsNil applies the IsNil predicate on the "restart_required" field.
func RestartRequiredNEQ ¶
RestartRequiredNEQ applies the NEQ predicate on the "restart_required" field.
func RestartRequiredNotNil ¶
RestartRequiredNotNil applies the NotNil predicate on the "restart_required" field.
func SftpPort ¶
SftpPort applies equality check predicate on the "sftp_port" field. It's identical to SftpPortEQ.
func SftpPortContains ¶
SftpPortContains applies the Contains predicate on the "sftp_port" field.
func SftpPortContainsFold ¶
SftpPortContainsFold applies the ContainsFold predicate on the "sftp_port" field.
func SftpPortEQ ¶
SftpPortEQ applies the EQ predicate on the "sftp_port" field.
func SftpPortEqualFold ¶
SftpPortEqualFold applies the EqualFold predicate on the "sftp_port" field.
func SftpPortGT ¶
SftpPortGT applies the GT predicate on the "sftp_port" field.
func SftpPortGTE ¶
SftpPortGTE applies the GTE predicate on the "sftp_port" field.
func SftpPortHasPrefix ¶
SftpPortHasPrefix applies the HasPrefix predicate on the "sftp_port" field.
func SftpPortHasSuffix ¶
SftpPortHasSuffix applies the HasSuffix predicate on the "sftp_port" field.
func SftpPortIn ¶
SftpPortIn applies the In predicate on the "sftp_port" field.
func SftpPortIsNil ¶
SftpPortIsNil applies the IsNil predicate on the "sftp_port" field.
func SftpPortLT ¶
SftpPortLT applies the LT predicate on the "sftp_port" field.
func SftpPortLTE ¶
SftpPortLTE applies the LTE predicate on the "sftp_port" field.
func SftpPortNEQ ¶
SftpPortNEQ applies the NEQ predicate on the "sftp_port" field.
func SftpPortNotIn ¶
SftpPortNotIn applies the NotIn predicate on the "sftp_port" field.
func SftpPortNotNil ¶
SftpPortNotNil applies the NotNil predicate on the "sftp_port" field.
func UpdateTaskDescription ¶
UpdateTaskDescription applies equality check predicate on the "update_task_description" field. It's identical to UpdateTaskDescriptionEQ.
func UpdateTaskDescriptionContains ¶
UpdateTaskDescriptionContains applies the Contains predicate on the "update_task_description" field.
func UpdateTaskDescriptionContainsFold ¶
UpdateTaskDescriptionContainsFold applies the ContainsFold predicate on the "update_task_description" field.
func UpdateTaskDescriptionEQ ¶
UpdateTaskDescriptionEQ applies the EQ predicate on the "update_task_description" field.
func UpdateTaskDescriptionEqualFold ¶
UpdateTaskDescriptionEqualFold applies the EqualFold predicate on the "update_task_description" field.
func UpdateTaskDescriptionGT ¶
UpdateTaskDescriptionGT applies the GT predicate on the "update_task_description" field.
func UpdateTaskDescriptionGTE ¶
UpdateTaskDescriptionGTE applies the GTE predicate on the "update_task_description" field.
func UpdateTaskDescriptionHasPrefix ¶
UpdateTaskDescriptionHasPrefix applies the HasPrefix predicate on the "update_task_description" field.
func UpdateTaskDescriptionHasSuffix ¶
UpdateTaskDescriptionHasSuffix applies the HasSuffix predicate on the "update_task_description" field.
func UpdateTaskDescriptionIn ¶
UpdateTaskDescriptionIn applies the In predicate on the "update_task_description" field.
func UpdateTaskDescriptionIsNil ¶
UpdateTaskDescriptionIsNil applies the IsNil predicate on the "update_task_description" field.
func UpdateTaskDescriptionLT ¶
UpdateTaskDescriptionLT applies the LT predicate on the "update_task_description" field.
func UpdateTaskDescriptionLTE ¶
UpdateTaskDescriptionLTE applies the LTE predicate on the "update_task_description" field.
func UpdateTaskDescriptionNEQ ¶
UpdateTaskDescriptionNEQ applies the NEQ predicate on the "update_task_description" field.
func UpdateTaskDescriptionNotIn ¶
UpdateTaskDescriptionNotIn applies the NotIn predicate on the "update_task_description" field.
func UpdateTaskDescriptionNotNil ¶
UpdateTaskDescriptionNotNil applies the NotNil predicate on the "update_task_description" field.
func UpdateTaskExecution ¶
UpdateTaskExecution applies equality check predicate on the "update_task_execution" field. It's identical to UpdateTaskExecutionEQ.
func UpdateTaskExecutionEQ ¶
UpdateTaskExecutionEQ applies the EQ predicate on the "update_task_execution" field.
func UpdateTaskExecutionGT ¶
UpdateTaskExecutionGT applies the GT predicate on the "update_task_execution" field.
func UpdateTaskExecutionGTE ¶
UpdateTaskExecutionGTE applies the GTE predicate on the "update_task_execution" field.
func UpdateTaskExecutionIn ¶
UpdateTaskExecutionIn applies the In predicate on the "update_task_execution" field.
func UpdateTaskExecutionIsNil ¶
UpdateTaskExecutionIsNil applies the IsNil predicate on the "update_task_execution" field.
func UpdateTaskExecutionLT ¶
UpdateTaskExecutionLT applies the LT predicate on the "update_task_execution" field.
func UpdateTaskExecutionLTE ¶
UpdateTaskExecutionLTE applies the LTE predicate on the "update_task_execution" field.
func UpdateTaskExecutionNEQ ¶
UpdateTaskExecutionNEQ applies the NEQ predicate on the "update_task_execution" field.
func UpdateTaskExecutionNotIn ¶
UpdateTaskExecutionNotIn applies the NotIn predicate on the "update_task_execution" field.
func UpdateTaskExecutionNotNil ¶
UpdateTaskExecutionNotNil applies the NotNil predicate on the "update_task_execution" field.
func UpdateTaskResult ¶
UpdateTaskResult applies equality check predicate on the "update_task_result" field. It's identical to UpdateTaskResultEQ.
func UpdateTaskResultContains ¶
UpdateTaskResultContains applies the Contains predicate on the "update_task_result" field.
func UpdateTaskResultContainsFold ¶
UpdateTaskResultContainsFold applies the ContainsFold predicate on the "update_task_result" field.
func UpdateTaskResultEQ ¶
UpdateTaskResultEQ applies the EQ predicate on the "update_task_result" field.
func UpdateTaskResultEqualFold ¶
UpdateTaskResultEqualFold applies the EqualFold predicate on the "update_task_result" field.
func UpdateTaskResultGT ¶
UpdateTaskResultGT applies the GT predicate on the "update_task_result" field.
func UpdateTaskResultGTE ¶
UpdateTaskResultGTE applies the GTE predicate on the "update_task_result" field.
func UpdateTaskResultHasPrefix ¶
UpdateTaskResultHasPrefix applies the HasPrefix predicate on the "update_task_result" field.
func UpdateTaskResultHasSuffix ¶
UpdateTaskResultHasSuffix applies the HasSuffix predicate on the "update_task_result" field.
func UpdateTaskResultIn ¶
UpdateTaskResultIn applies the In predicate on the "update_task_result" field.
func UpdateTaskResultIsNil ¶
UpdateTaskResultIsNil applies the IsNil predicate on the "update_task_result" field.
func UpdateTaskResultLT ¶
UpdateTaskResultLT applies the LT predicate on the "update_task_result" field.
func UpdateTaskResultLTE ¶
UpdateTaskResultLTE applies the LTE predicate on the "update_task_result" field.
func UpdateTaskResultNEQ ¶
UpdateTaskResultNEQ applies the NEQ predicate on the "update_task_result" field.
func UpdateTaskResultNotIn ¶
UpdateTaskResultNotIn applies the NotIn predicate on the "update_task_result" field.
func UpdateTaskResultNotNil ¶
UpdateTaskResultNotNil applies the NotNil predicate on the "update_task_result" field.
func UpdateTaskStatus ¶
UpdateTaskStatus applies equality check predicate on the "update_task_status" field. It's identical to UpdateTaskStatusEQ.
func UpdateTaskStatusContains ¶
UpdateTaskStatusContains applies the Contains predicate on the "update_task_status" field.
func UpdateTaskStatusContainsFold ¶
UpdateTaskStatusContainsFold applies the ContainsFold predicate on the "update_task_status" field.
func UpdateTaskStatusEQ ¶
UpdateTaskStatusEQ applies the EQ predicate on the "update_task_status" field.
func UpdateTaskStatusEqualFold ¶
UpdateTaskStatusEqualFold applies the EqualFold predicate on the "update_task_status" field.
func UpdateTaskStatusGT ¶
UpdateTaskStatusGT applies the GT predicate on the "update_task_status" field.
func UpdateTaskStatusGTE ¶
UpdateTaskStatusGTE applies the GTE predicate on the "update_task_status" field.
func UpdateTaskStatusHasPrefix ¶
UpdateTaskStatusHasPrefix applies the HasPrefix predicate on the "update_task_status" field.
func UpdateTaskStatusHasSuffix ¶
UpdateTaskStatusHasSuffix applies the HasSuffix predicate on the "update_task_status" field.
func UpdateTaskStatusIn ¶
UpdateTaskStatusIn applies the In predicate on the "update_task_status" field.
func UpdateTaskStatusIsNil ¶
UpdateTaskStatusIsNil applies the IsNil predicate on the "update_task_status" field.
func UpdateTaskStatusLT ¶
UpdateTaskStatusLT applies the LT predicate on the "update_task_status" field.
func UpdateTaskStatusLTE ¶
UpdateTaskStatusLTE applies the LTE predicate on the "update_task_status" field.
func UpdateTaskStatusNEQ ¶
UpdateTaskStatusNEQ applies the NEQ predicate on the "update_task_status" field.
func UpdateTaskStatusNotIn ¶
UpdateTaskStatusNotIn applies the NotIn predicate on the "update_task_status" field.
func UpdateTaskStatusNotNil ¶
UpdateTaskStatusNotNil applies the NotNil predicate on the "update_task_status" field.
func UpdateTaskVersion ¶
UpdateTaskVersion applies equality check predicate on the "update_task_version" field. It's identical to UpdateTaskVersionEQ.
func UpdateTaskVersionContains ¶
UpdateTaskVersionContains applies the Contains predicate on the "update_task_version" field.
func UpdateTaskVersionContainsFold ¶
UpdateTaskVersionContainsFold applies the ContainsFold predicate on the "update_task_version" field.
func UpdateTaskVersionEQ ¶
UpdateTaskVersionEQ applies the EQ predicate on the "update_task_version" field.
func UpdateTaskVersionEqualFold ¶
UpdateTaskVersionEqualFold applies the EqualFold predicate on the "update_task_version" field.
func UpdateTaskVersionGT ¶
UpdateTaskVersionGT applies the GT predicate on the "update_task_version" field.
func UpdateTaskVersionGTE ¶
UpdateTaskVersionGTE applies the GTE predicate on the "update_task_version" field.
func UpdateTaskVersionHasPrefix ¶
UpdateTaskVersionHasPrefix applies the HasPrefix predicate on the "update_task_version" field.
func UpdateTaskVersionHasSuffix ¶
UpdateTaskVersionHasSuffix applies the HasSuffix predicate on the "update_task_version" field.
func UpdateTaskVersionIn ¶
UpdateTaskVersionIn applies the In predicate on the "update_task_version" field.
func UpdateTaskVersionIsNil ¶
UpdateTaskVersionIsNil applies the IsNil predicate on the "update_task_version" field.
func UpdateTaskVersionLT ¶
UpdateTaskVersionLT applies the LT predicate on the "update_task_version" field.
func UpdateTaskVersionLTE ¶
UpdateTaskVersionLTE applies the LTE predicate on the "update_task_version" field.
func UpdateTaskVersionNEQ ¶
UpdateTaskVersionNEQ applies the NEQ predicate on the "update_task_version" field.
func UpdateTaskVersionNotIn ¶
UpdateTaskVersionNotIn applies the NotIn predicate on the "update_task_version" field.
func UpdateTaskVersionNotNil ¶
UpdateTaskVersionNotNil applies the NotNil predicate on the "update_task_version" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func VncContains ¶
VncContains applies the Contains predicate on the "vnc" field.
func VncContainsFold ¶
VncContainsFold applies the ContainsFold predicate on the "vnc" field.
func VncEqualFold ¶
VncEqualFold applies the EqualFold predicate on the "vnc" field.
func VncHasPrefix ¶
VncHasPrefix applies the HasPrefix predicate on the "vnc" field.
func VncHasSuffix ¶
VncHasSuffix applies the HasSuffix predicate on the "vnc" field.
func VncProxyPort ¶
VncProxyPort applies equality check predicate on the "vnc_proxy_port" field. It's identical to VncProxyPortEQ.
func VncProxyPortContains ¶
VncProxyPortContains applies the Contains predicate on the "vnc_proxy_port" field.
func VncProxyPortContainsFold ¶
VncProxyPortContainsFold applies the ContainsFold predicate on the "vnc_proxy_port" field.
func VncProxyPortEQ ¶
VncProxyPortEQ applies the EQ predicate on the "vnc_proxy_port" field.
func VncProxyPortEqualFold ¶
VncProxyPortEqualFold applies the EqualFold predicate on the "vnc_proxy_port" field.
func VncProxyPortGT ¶
VncProxyPortGT applies the GT predicate on the "vnc_proxy_port" field.
func VncProxyPortGTE ¶
VncProxyPortGTE applies the GTE predicate on the "vnc_proxy_port" field.
func VncProxyPortHasPrefix ¶
VncProxyPortHasPrefix applies the HasPrefix predicate on the "vnc_proxy_port" field.
func VncProxyPortHasSuffix ¶
VncProxyPortHasSuffix applies the HasSuffix predicate on the "vnc_proxy_port" field.
func VncProxyPortIn ¶
VncProxyPortIn applies the In predicate on the "vnc_proxy_port" field.
func VncProxyPortIsNil ¶
VncProxyPortIsNil applies the IsNil predicate on the "vnc_proxy_port" field.
func VncProxyPortLT ¶
VncProxyPortLT applies the LT predicate on the "vnc_proxy_port" field.
func VncProxyPortLTE ¶
VncProxyPortLTE applies the LTE predicate on the "vnc_proxy_port" field.
func VncProxyPortNEQ ¶
VncProxyPortNEQ applies the NEQ predicate on the "vnc_proxy_port" field.
func VncProxyPortNotIn ¶
VncProxyPortNotIn applies the NotIn predicate on the "vnc_proxy_port" field.
func VncProxyPortNotNil ¶
VncProxyPortNotNil applies the NotNil predicate on the "vnc_proxy_port" field.
Types ¶
type AgentStatus ¶
type AgentStatus string
AgentStatus defines the type for the "agent_status" enum field.
const ( AgentStatusWaitingForAdmission AgentStatus = "WaitingForAdmission" AgentStatusEnabled AgentStatus = "Enabled" AgentStatusDisabled AgentStatus = "Disabled" )
AgentStatus values.
func (AgentStatus) String ¶
func (as AgentStatus) String() string
type OrderOption ¶
OrderOption defines the ordering options for the Agent queries.
func ByAgentStatus ¶
func ByAgentStatus(opts ...sql.OrderTermOption) OrderOption
ByAgentStatus orders the results by the agent_status field.
func ByAntivirusField ¶
func ByAntivirusField(field string, opts ...sql.OrderTermOption) OrderOption
ByAntivirusField orders the results by antivirus field.
func ByApps ¶
func ByApps(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByApps orders the results by apps terms.
func ByAppsCount ¶
func ByAppsCount(opts ...sql.OrderTermOption) OrderOption
ByAppsCount orders the results by apps count.
func ByCertificateReady ¶
func ByCertificateReady(opts ...sql.OrderTermOption) OrderOption
ByCertificateReady orders the results by the certificate_ready field.
func ByComputerField ¶
func ByComputerField(field string, opts ...sql.OrderTermOption) OrderOption
ByComputerField orders the results by computer field.
func ByDeployments ¶
func ByDeployments(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByDeployments orders the results by deployments terms.
func ByDeploymentsCount ¶
func ByDeploymentsCount(opts ...sql.OrderTermOption) OrderOption
ByDeploymentsCount orders the results by deployments count.
func ByFirstContact ¶
func ByFirstContact(opts ...sql.OrderTermOption) OrderOption
ByFirstContact orders the results by the first_contact 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 ByIP ¶
func ByIP(opts ...sql.OrderTermOption) OrderOption
ByIP orders the results by the ip field.
func ByLastContact ¶
func ByLastContact(opts ...sql.OrderTermOption) OrderOption
ByLastContact orders the results by the last_contact field.
func ByLogicaldisks ¶
func ByLogicaldisks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByLogicaldisks orders the results by logicaldisks terms.
func ByLogicaldisksCount ¶
func ByLogicaldisksCount(opts ...sql.OrderTermOption) OrderOption
ByLogicaldisksCount orders the results by logicaldisks count.
func ByMAC ¶
func ByMAC(opts ...sql.OrderTermOption) OrderOption
ByMAC orders the results by the mac field.
func ByMetadata ¶
func ByMetadata(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByMetadata orders the results by metadata terms.
func ByMetadataCount ¶
func ByMetadataCount(opts ...sql.OrderTermOption) OrderOption
ByMetadataCount orders the results by metadata count.
func ByMonitors ¶
func ByMonitors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByMonitors orders the results by monitors terms.
func ByMonitorsCount ¶
func ByMonitorsCount(opts ...sql.OrderTermOption) OrderOption
ByMonitorsCount orders the results by monitors count.
func ByNetworkadapters ¶
func ByNetworkadapters(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByNetworkadapters orders the results by networkadapters terms.
func ByNetworkadaptersCount ¶
func ByNetworkadaptersCount(opts ...sql.OrderTermOption) OrderOption
ByNetworkadaptersCount orders the results by networkadapters count.
func ByNotes ¶
func ByNotes(opts ...sql.OrderTermOption) OrderOption
ByNotes orders the results by the notes field.
func ByOperatingsystemField ¶
func ByOperatingsystemField(field string, opts ...sql.OrderTermOption) OrderOption
ByOperatingsystemField orders the results by operatingsystem field.
func ByOs ¶
func ByOs(opts ...sql.OrderTermOption) OrderOption
ByOs orders the results by the os field.
func ByPrinters ¶
func ByPrinters(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByPrinters orders the results by printers terms.
func ByPrintersCount ¶
func ByPrintersCount(opts ...sql.OrderTermOption) OrderOption
ByPrintersCount orders the results by printers count.
func ByReleaseField ¶
func ByReleaseField(field string, opts ...sql.OrderTermOption) OrderOption
ByReleaseField orders the results by release field.
func ByRestartRequired ¶
func ByRestartRequired(opts ...sql.OrderTermOption) OrderOption
ByRestartRequired orders the results by the restart_required field.
func BySftpPort ¶
func BySftpPort(opts ...sql.OrderTermOption) OrderOption
BySftpPort orders the results by the sftp_port field.
func ByShares ¶
func ByShares(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByShares orders the results by shares terms.
func BySharesCount ¶
func BySharesCount(opts ...sql.OrderTermOption) OrderOption
BySharesCount orders the results by shares count.
func BySystemupdateField ¶
func BySystemupdateField(field string, opts ...sql.OrderTermOption) OrderOption
BySystemupdateField orders the results by systemupdate field.
func ByTags ¶
func ByTags(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTags orders the results by tags terms.
func ByTagsCount ¶
func ByTagsCount(opts ...sql.OrderTermOption) OrderOption
ByTagsCount orders the results by tags count.
func ByUpdateTaskDescription ¶
func ByUpdateTaskDescription(opts ...sql.OrderTermOption) OrderOption
ByUpdateTaskDescription orders the results by the update_task_description field.
func ByUpdateTaskExecution ¶
func ByUpdateTaskExecution(opts ...sql.OrderTermOption) OrderOption
ByUpdateTaskExecution orders the results by the update_task_execution field.
func ByUpdateTaskResult ¶
func ByUpdateTaskResult(opts ...sql.OrderTermOption) OrderOption
ByUpdateTaskResult orders the results by the update_task_result field.
func ByUpdateTaskStatus ¶
func ByUpdateTaskStatus(opts ...sql.OrderTermOption) OrderOption
ByUpdateTaskStatus orders the results by the update_task_status field.
func ByUpdateTaskVersion ¶
func ByUpdateTaskVersion(opts ...sql.OrderTermOption) OrderOption
ByUpdateTaskVersion orders the results by the update_task_version field.
func ByUpdates ¶
func ByUpdates(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByUpdates orders the results by updates terms.
func ByUpdatesCount ¶
func ByUpdatesCount(opts ...sql.OrderTermOption) OrderOption
ByUpdatesCount orders the results by updates count.
func ByVnc ¶
func ByVnc(opts ...sql.OrderTermOption) OrderOption
ByVnc orders the results by the vnc field.
func ByVncProxyPort ¶
func ByVncProxyPort(opts ...sql.OrderTermOption) OrderOption
ByVncProxyPort orders the results by the vnc_proxy_port field.