agent

package
v0.0.0-...-33a8a84 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
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 holds the string denoting the shares edge name in mutations.
	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 holds the string denoting the ID field of the Share.
	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 is the table that holds the shares relation/edge.
	SharesTable = "shares"
	// SharesInverseTable is the table name for the Share entity.
	// It exists in this package in order to avoid circular dependency with the "share" package.
	SharesInverseTable = "shares"
	// SharesColumn is the table column denoting the shares relation/edge.
	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"
)
View Source
const DefaultAgentStatus = AgentStatusWaitingForAdmission

AgentStatusWaitingForAdmission is the default value of the AgentStatus enum.

Variables

View Source
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
)

Columns holds all SQL columns for agent fields.

View Source
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.

View Source
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

func AgentStatusIsNil() predicate.Agent

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

func AgentStatusNotNil() predicate.Agent

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 And

func And(predicates ...predicate.Agent) predicate.Agent

And groups predicates with the AND operator between them.

func CertificateReady

func CertificateReady(v bool) predicate.Agent

CertificateReady applies equality check predicate on the "certificate_ready" field. It's identical to CertificateReadyEQ.

func CertificateReadyEQ

func CertificateReadyEQ(v bool) predicate.Agent

CertificateReadyEQ applies the EQ predicate on the "certificate_ready" field.

func CertificateReadyIsNil

func CertificateReadyIsNil() predicate.Agent

CertificateReadyIsNil applies the IsNil predicate on the "certificate_ready" field.

func CertificateReadyNEQ

func CertificateReadyNEQ(v bool) predicate.Agent

CertificateReadyNEQ applies the NEQ predicate on the "certificate_ready" field.

func CertificateReadyNotNil

func CertificateReadyNotNil() predicate.Agent

CertificateReadyNotNil applies the NotNil predicate on the "certificate_ready" field.

func FirstContact

func FirstContact(v time.Time) predicate.Agent

FirstContact applies equality check predicate on the "first_contact" field. It's identical to FirstContactEQ.

func FirstContactEQ

func FirstContactEQ(v time.Time) predicate.Agent

FirstContactEQ applies the EQ predicate on the "first_contact" field.

func FirstContactGT

func FirstContactGT(v time.Time) predicate.Agent

FirstContactGT applies the GT predicate on the "first_contact" field.

func FirstContactGTE

func FirstContactGTE(v time.Time) predicate.Agent

FirstContactGTE applies the GTE predicate on the "first_contact" field.

func FirstContactIn

func FirstContactIn(vs ...time.Time) predicate.Agent

FirstContactIn applies the In predicate on the "first_contact" field.

func FirstContactIsNil

func FirstContactIsNil() predicate.Agent

FirstContactIsNil applies the IsNil predicate on the "first_contact" field.

func FirstContactLT

func FirstContactLT(v time.Time) predicate.Agent

FirstContactLT applies the LT predicate on the "first_contact" field.

func FirstContactLTE

func FirstContactLTE(v time.Time) predicate.Agent

FirstContactLTE applies the LTE predicate on the "first_contact" field.

func FirstContactNEQ

func FirstContactNEQ(v time.Time) predicate.Agent

FirstContactNEQ applies the NEQ predicate on the "first_contact" field.

func FirstContactNotIn

func FirstContactNotIn(vs ...time.Time) predicate.Agent

FirstContactNotIn applies the NotIn predicate on the "first_contact" field.

func FirstContactNotNil

func FirstContactNotNil() predicate.Agent

FirstContactNotNil applies the NotNil predicate on the "first_contact" field.

func HasAntivirus

func HasAntivirus() predicate.Agent

HasAntivirus applies the HasEdge predicate on the "antivirus" edge.

func HasAntivirusWith

func HasAntivirusWith(preds ...predicate.Antivirus) predicate.Agent

HasAntivirusWith applies the HasEdge predicate on the "antivirus" edge with a given conditions (other predicates).

func HasApps

func HasApps() predicate.Agent

HasApps applies the HasEdge predicate on the "apps" edge.

func HasAppsWith

func HasAppsWith(preds ...predicate.App) predicate.Agent

HasAppsWith applies the HasEdge predicate on the "apps" edge with a given conditions (other predicates).

func HasComputer

func HasComputer() predicate.Agent

HasComputer applies the HasEdge predicate on the "computer" edge.

func HasComputerWith

func HasComputerWith(preds ...predicate.Computer) predicate.Agent

HasComputerWith applies the HasEdge predicate on the "computer" edge with a given conditions (other predicates).

func HasDeployments

func HasDeployments() predicate.Agent

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

func HasLogicaldisks() predicate.Agent

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

func HasMetadata() predicate.Agent

HasMetadata applies the HasEdge predicate on the "metadata" edge.

func HasMetadataWith

func HasMetadataWith(preds ...predicate.Metadata) predicate.Agent

HasMetadataWith applies the HasEdge predicate on the "metadata" edge with a given conditions (other predicates).

func HasMonitors

func HasMonitors() predicate.Agent

HasMonitors applies the HasEdge predicate on the "monitors" edge.

func HasMonitorsWith

func HasMonitorsWith(preds ...predicate.Monitor) predicate.Agent

HasMonitorsWith applies the HasEdge predicate on the "monitors" edge with a given conditions (other predicates).

func HasNetworkadapters

func HasNetworkadapters() predicate.Agent

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

func HasOperatingsystem() predicate.Agent

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

func HasPrinters() predicate.Agent

HasPrinters applies the HasEdge predicate on the "printers" edge.

func HasPrintersWith

func HasPrintersWith(preds ...predicate.Printer) predicate.Agent

HasPrintersWith applies the HasEdge predicate on the "printers" edge with a given conditions (other predicates).

func HasRelease

func HasRelease() predicate.Agent

HasRelease applies the HasEdge predicate on the "release" edge.

func HasReleaseWith

func HasReleaseWith(preds ...predicate.Release) predicate.Agent

HasReleaseWith applies the HasEdge predicate on the "release" edge with a given conditions (other predicates).

func HasShares

func HasShares() predicate.Agent

HasShares applies the HasEdge predicate on the "shares" edge.

func HasSharesWith

func HasSharesWith(preds ...predicate.Share) predicate.Agent

HasSharesWith applies the HasEdge predicate on the "shares" edge with a given conditions (other predicates).

func HasSystemupdate

func HasSystemupdate() predicate.Agent

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 HasTags

func HasTags() predicate.Agent

HasTags applies the HasEdge predicate on the "tags" edge.

func HasTagsWith

func HasTagsWith(preds ...predicate.Tag) predicate.Agent

HasTagsWith applies the HasEdge predicate on the "tags" edge with a given conditions (other predicates).

func HasUpdates

func HasUpdates() predicate.Agent

HasUpdates applies the HasEdge predicate on the "updates" edge.

func HasUpdatesWith

func HasUpdatesWith(preds ...predicate.Update) predicate.Agent

HasUpdatesWith applies the HasEdge predicate on the "updates" edge with a given conditions (other predicates).

func Hostname

func Hostname(v string) predicate.Agent

Hostname applies equality check predicate on the "hostname" field. It's identical to HostnameEQ.

func HostnameContains

func HostnameContains(v string) predicate.Agent

HostnameContains applies the Contains predicate on the "hostname" field.

func HostnameContainsFold

func HostnameContainsFold(v string) predicate.Agent

HostnameContainsFold applies the ContainsFold predicate on the "hostname" field.

func HostnameEQ

func HostnameEQ(v string) predicate.Agent

HostnameEQ applies the EQ predicate on the "hostname" field.

func HostnameEqualFold

func HostnameEqualFold(v string) predicate.Agent

HostnameEqualFold applies the EqualFold predicate on the "hostname" field.

func HostnameGT

func HostnameGT(v string) predicate.Agent

HostnameGT applies the GT predicate on the "hostname" field.

func HostnameGTE

func HostnameGTE(v string) predicate.Agent

HostnameGTE applies the GTE predicate on the "hostname" field.

func HostnameHasPrefix

func HostnameHasPrefix(v string) predicate.Agent

HostnameHasPrefix applies the HasPrefix predicate on the "hostname" field.

func HostnameHasSuffix

func HostnameHasSuffix(v string) predicate.Agent

HostnameHasSuffix applies the HasSuffix predicate on the "hostname" field.

func HostnameIn

func HostnameIn(vs ...string) predicate.Agent

HostnameIn applies the In predicate on the "hostname" field.

func HostnameLT

func HostnameLT(v string) predicate.Agent

HostnameLT applies the LT predicate on the "hostname" field.

func HostnameLTE

func HostnameLTE(v string) predicate.Agent

HostnameLTE applies the LTE predicate on the "hostname" field.

func HostnameNEQ

func HostnameNEQ(v string) predicate.Agent

HostnameNEQ applies the NEQ predicate on the "hostname" field.

func HostnameNotIn

func HostnameNotIn(vs ...string) predicate.Agent

HostnameNotIn applies the NotIn predicate on the "hostname" field.

func ID

func ID(id string) predicate.Agent

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.Agent

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.Agent

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.Agent

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Agent

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Agent

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.Agent

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Agent

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Agent

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Agent

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.Agent

IDNotIn applies the NotIn predicate on the ID field.

func IP

func IP(v string) predicate.Agent

IP applies equality check predicate on the "ip" field. It's identical to IPEQ.

func IPContains

func IPContains(v string) predicate.Agent

IPContains applies the Contains predicate on the "ip" field.

func IPContainsFold

func IPContainsFold(v string) predicate.Agent

IPContainsFold applies the ContainsFold predicate on the "ip" field.

func IPEQ

func IPEQ(v string) predicate.Agent

IPEQ applies the EQ predicate on the "ip" field.

func IPEqualFold

func IPEqualFold(v string) predicate.Agent

IPEqualFold applies the EqualFold predicate on the "ip" field.

func IPGT

func IPGT(v string) predicate.Agent

IPGT applies the GT predicate on the "ip" field.

func IPGTE

func IPGTE(v string) predicate.Agent

IPGTE applies the GTE predicate on the "ip" field.

func IPHasPrefix

func IPHasPrefix(v string) predicate.Agent

IPHasPrefix applies the HasPrefix predicate on the "ip" field.

func IPHasSuffix

func IPHasSuffix(v string) predicate.Agent

IPHasSuffix applies the HasSuffix predicate on the "ip" field.

func IPIn

func IPIn(vs ...string) predicate.Agent

IPIn applies the In predicate on the "ip" field.

func IPLT

func IPLT(v string) predicate.Agent

IPLT applies the LT predicate on the "ip" field.

func IPLTE

func IPLTE(v string) predicate.Agent

IPLTE applies the LTE predicate on the "ip" field.

func IPNEQ

func IPNEQ(v string) predicate.Agent

IPNEQ applies the NEQ predicate on the "ip" field.

func IPNotIn

func IPNotIn(vs ...string) predicate.Agent

IPNotIn applies the NotIn predicate on the "ip" field.

func LastContact

func LastContact(v time.Time) predicate.Agent

LastContact applies equality check predicate on the "last_contact" field. It's identical to LastContactEQ.

func LastContactEQ

func LastContactEQ(v time.Time) predicate.Agent

LastContactEQ applies the EQ predicate on the "last_contact" field.

func LastContactGT

func LastContactGT(v time.Time) predicate.Agent

LastContactGT applies the GT predicate on the "last_contact" field.

func LastContactGTE

func LastContactGTE(v time.Time) predicate.Agent

LastContactGTE applies the GTE predicate on the "last_contact" field.

func LastContactIn

func LastContactIn(vs ...time.Time) predicate.Agent

LastContactIn applies the In predicate on the "last_contact" field.

func LastContactIsNil

func LastContactIsNil() predicate.Agent

LastContactIsNil applies the IsNil predicate on the "last_contact" field.

func LastContactLT

func LastContactLT(v time.Time) predicate.Agent

LastContactLT applies the LT predicate on the "last_contact" field.

func LastContactLTE

func LastContactLTE(v time.Time) predicate.Agent

LastContactLTE applies the LTE predicate on the "last_contact" field.

func LastContactNEQ

func LastContactNEQ(v time.Time) predicate.Agent

LastContactNEQ applies the NEQ predicate on the "last_contact" field.

func LastContactNotIn

func LastContactNotIn(vs ...time.Time) predicate.Agent

LastContactNotIn applies the NotIn predicate on the "last_contact" field.

func LastContactNotNil

func LastContactNotNil() predicate.Agent

LastContactNotNil applies the NotNil predicate on the "last_contact" field.

func MAC

func MAC(v string) predicate.Agent

MAC applies equality check predicate on the "mac" field. It's identical to MACEQ.

func MACContains

func MACContains(v string) predicate.Agent

MACContains applies the Contains predicate on the "mac" field.

func MACContainsFold

func MACContainsFold(v string) predicate.Agent

MACContainsFold applies the ContainsFold predicate on the "mac" field.

func MACEQ

func MACEQ(v string) predicate.Agent

MACEQ applies the EQ predicate on the "mac" field.

func MACEqualFold

func MACEqualFold(v string) predicate.Agent

MACEqualFold applies the EqualFold predicate on the "mac" field.

func MACGT

func MACGT(v string) predicate.Agent

MACGT applies the GT predicate on the "mac" field.

func MACGTE

func MACGTE(v string) predicate.Agent

MACGTE applies the GTE predicate on the "mac" field.

func MACHasPrefix

func MACHasPrefix(v string) predicate.Agent

MACHasPrefix applies the HasPrefix predicate on the "mac" field.

func MACHasSuffix

func MACHasSuffix(v string) predicate.Agent

MACHasSuffix applies the HasSuffix predicate on the "mac" field.

func MACIn

func MACIn(vs ...string) predicate.Agent

MACIn applies the In predicate on the "mac" field.

func MACLT

func MACLT(v string) predicate.Agent

MACLT applies the LT predicate on the "mac" field.

func MACLTE

func MACLTE(v string) predicate.Agent

MACLTE applies the LTE predicate on the "mac" field.

func MACNEQ

func MACNEQ(v string) predicate.Agent

MACNEQ applies the NEQ predicate on the "mac" field.

func MACNotIn

func MACNotIn(vs ...string) predicate.Agent

MACNotIn applies the NotIn predicate on the "mac" field.

func Not

Not applies the not operator on the given predicate.

func Notes

func Notes(v string) predicate.Agent

Notes applies equality check predicate on the "notes" field. It's identical to NotesEQ.

func NotesContains

func NotesContains(v string) predicate.Agent

NotesContains applies the Contains predicate on the "notes" field.

func NotesContainsFold

func NotesContainsFold(v string) predicate.Agent

NotesContainsFold applies the ContainsFold predicate on the "notes" field.

func NotesEQ

func NotesEQ(v string) predicate.Agent

NotesEQ applies the EQ predicate on the "notes" field.

func NotesEqualFold

func NotesEqualFold(v string) predicate.Agent

NotesEqualFold applies the EqualFold predicate on the "notes" field.

func NotesGT

func NotesGT(v string) predicate.Agent

NotesGT applies the GT predicate on the "notes" field.

func NotesGTE

func NotesGTE(v string) predicate.Agent

NotesGTE applies the GTE predicate on the "notes" field.

func NotesHasPrefix

func NotesHasPrefix(v string) predicate.Agent

NotesHasPrefix applies the HasPrefix predicate on the "notes" field.

func NotesHasSuffix

func NotesHasSuffix(v string) predicate.Agent

NotesHasSuffix applies the HasSuffix predicate on the "notes" field.

func NotesIn

func NotesIn(vs ...string) predicate.Agent

NotesIn applies the In predicate on the "notes" field.

func NotesIsNil

func NotesIsNil() predicate.Agent

NotesIsNil applies the IsNil predicate on the "notes" field.

func NotesLT

func NotesLT(v string) predicate.Agent

NotesLT applies the LT predicate on the "notes" field.

func NotesLTE

func NotesLTE(v string) predicate.Agent

NotesLTE applies the LTE predicate on the "notes" field.

func NotesNEQ

func NotesNEQ(v string) predicate.Agent

NotesNEQ applies the NEQ predicate on the "notes" field.

func NotesNotIn

func NotesNotIn(vs ...string) predicate.Agent

NotesNotIn applies the NotIn predicate on the "notes" field.

func NotesNotNil

func NotesNotNil() predicate.Agent

NotesNotNil applies the NotNil predicate on the "notes" field.

func Or

func Or(predicates ...predicate.Agent) predicate.Agent

Or groups predicates with the OR operator between them.

func Os

func Os(v string) predicate.Agent

Os applies equality check predicate on the "os" field. It's identical to OsEQ.

func OsContains

func OsContains(v string) predicate.Agent

OsContains applies the Contains predicate on the "os" field.

func OsContainsFold

func OsContainsFold(v string) predicate.Agent

OsContainsFold applies the ContainsFold predicate on the "os" field.

func OsEQ

func OsEQ(v string) predicate.Agent

OsEQ applies the EQ predicate on the "os" field.

func OsEqualFold

func OsEqualFold(v string) predicate.Agent

OsEqualFold applies the EqualFold predicate on the "os" field.

func OsGT

func OsGT(v string) predicate.Agent

OsGT applies the GT predicate on the "os" field.

func OsGTE

func OsGTE(v string) predicate.Agent

OsGTE applies the GTE predicate on the "os" field.

func OsHasPrefix

func OsHasPrefix(v string) predicate.Agent

OsHasPrefix applies the HasPrefix predicate on the "os" field.

func OsHasSuffix

func OsHasSuffix(v string) predicate.Agent

OsHasSuffix applies the HasSuffix predicate on the "os" field.

func OsIn

func OsIn(vs ...string) predicate.Agent

OsIn applies the In predicate on the "os" field.

func OsLT

func OsLT(v string) predicate.Agent

OsLT applies the LT predicate on the "os" field.

func OsLTE

func OsLTE(v string) predicate.Agent

OsLTE applies the LTE predicate on the "os" field.

func OsNEQ

func OsNEQ(v string) predicate.Agent

OsNEQ applies the NEQ predicate on the "os" field.

func OsNotIn

func OsNotIn(vs ...string) predicate.Agent

OsNotIn applies the NotIn predicate on the "os" field.

func RestartRequired

func RestartRequired(v bool) predicate.Agent

RestartRequired applies equality check predicate on the "restart_required" field. It's identical to RestartRequiredEQ.

func RestartRequiredEQ

func RestartRequiredEQ(v bool) predicate.Agent

RestartRequiredEQ applies the EQ predicate on the "restart_required" field.

func RestartRequiredIsNil

func RestartRequiredIsNil() predicate.Agent

RestartRequiredIsNil applies the IsNil predicate on the "restart_required" field.

func RestartRequiredNEQ

func RestartRequiredNEQ(v bool) predicate.Agent

RestartRequiredNEQ applies the NEQ predicate on the "restart_required" field.

func RestartRequiredNotNil

func RestartRequiredNotNil() predicate.Agent

RestartRequiredNotNil applies the NotNil predicate on the "restart_required" field.

func SftpPort

func SftpPort(v string) predicate.Agent

SftpPort applies equality check predicate on the "sftp_port" field. It's identical to SftpPortEQ.

func SftpPortContains

func SftpPortContains(v string) predicate.Agent

SftpPortContains applies the Contains predicate on the "sftp_port" field.

func SftpPortContainsFold

func SftpPortContainsFold(v string) predicate.Agent

SftpPortContainsFold applies the ContainsFold predicate on the "sftp_port" field.

func SftpPortEQ

func SftpPortEQ(v string) predicate.Agent

SftpPortEQ applies the EQ predicate on the "sftp_port" field.

func SftpPortEqualFold

func SftpPortEqualFold(v string) predicate.Agent

SftpPortEqualFold applies the EqualFold predicate on the "sftp_port" field.

func SftpPortGT

func SftpPortGT(v string) predicate.Agent

SftpPortGT applies the GT predicate on the "sftp_port" field.

func SftpPortGTE

func SftpPortGTE(v string) predicate.Agent

SftpPortGTE applies the GTE predicate on the "sftp_port" field.

func SftpPortHasPrefix

func SftpPortHasPrefix(v string) predicate.Agent

SftpPortHasPrefix applies the HasPrefix predicate on the "sftp_port" field.

func SftpPortHasSuffix

func SftpPortHasSuffix(v string) predicate.Agent

SftpPortHasSuffix applies the HasSuffix predicate on the "sftp_port" field.

func SftpPortIn

func SftpPortIn(vs ...string) predicate.Agent

SftpPortIn applies the In predicate on the "sftp_port" field.

func SftpPortIsNil

func SftpPortIsNil() predicate.Agent

SftpPortIsNil applies the IsNil predicate on the "sftp_port" field.

func SftpPortLT

func SftpPortLT(v string) predicate.Agent

SftpPortLT applies the LT predicate on the "sftp_port" field.

func SftpPortLTE

func SftpPortLTE(v string) predicate.Agent

SftpPortLTE applies the LTE predicate on the "sftp_port" field.

func SftpPortNEQ

func SftpPortNEQ(v string) predicate.Agent

SftpPortNEQ applies the NEQ predicate on the "sftp_port" field.

func SftpPortNotIn

func SftpPortNotIn(vs ...string) predicate.Agent

SftpPortNotIn applies the NotIn predicate on the "sftp_port" field.

func SftpPortNotNil

func SftpPortNotNil() predicate.Agent

SftpPortNotNil applies the NotNil predicate on the "sftp_port" field.

func UpdateTaskDescription

func UpdateTaskDescription(v string) predicate.Agent

UpdateTaskDescription applies equality check predicate on the "update_task_description" field. It's identical to UpdateTaskDescriptionEQ.

func UpdateTaskDescriptionContains

func UpdateTaskDescriptionContains(v string) predicate.Agent

UpdateTaskDescriptionContains applies the Contains predicate on the "update_task_description" field.

func UpdateTaskDescriptionContainsFold

func UpdateTaskDescriptionContainsFold(v string) predicate.Agent

UpdateTaskDescriptionContainsFold applies the ContainsFold predicate on the "update_task_description" field.

func UpdateTaskDescriptionEQ

func UpdateTaskDescriptionEQ(v string) predicate.Agent

UpdateTaskDescriptionEQ applies the EQ predicate on the "update_task_description" field.

func UpdateTaskDescriptionEqualFold

func UpdateTaskDescriptionEqualFold(v string) predicate.Agent

UpdateTaskDescriptionEqualFold applies the EqualFold predicate on the "update_task_description" field.

func UpdateTaskDescriptionGT

func UpdateTaskDescriptionGT(v string) predicate.Agent

UpdateTaskDescriptionGT applies the GT predicate on the "update_task_description" field.

func UpdateTaskDescriptionGTE

func UpdateTaskDescriptionGTE(v string) predicate.Agent

UpdateTaskDescriptionGTE applies the GTE predicate on the "update_task_description" field.

func UpdateTaskDescriptionHasPrefix

func UpdateTaskDescriptionHasPrefix(v string) predicate.Agent

UpdateTaskDescriptionHasPrefix applies the HasPrefix predicate on the "update_task_description" field.

func UpdateTaskDescriptionHasSuffix

func UpdateTaskDescriptionHasSuffix(v string) predicate.Agent

UpdateTaskDescriptionHasSuffix applies the HasSuffix predicate on the "update_task_description" field.

func UpdateTaskDescriptionIn

func UpdateTaskDescriptionIn(vs ...string) predicate.Agent

UpdateTaskDescriptionIn applies the In predicate on the "update_task_description" field.

func UpdateTaskDescriptionIsNil

func UpdateTaskDescriptionIsNil() predicate.Agent

UpdateTaskDescriptionIsNil applies the IsNil predicate on the "update_task_description" field.

func UpdateTaskDescriptionLT

func UpdateTaskDescriptionLT(v string) predicate.Agent

UpdateTaskDescriptionLT applies the LT predicate on the "update_task_description" field.

func UpdateTaskDescriptionLTE

func UpdateTaskDescriptionLTE(v string) predicate.Agent

UpdateTaskDescriptionLTE applies the LTE predicate on the "update_task_description" field.

func UpdateTaskDescriptionNEQ

func UpdateTaskDescriptionNEQ(v string) predicate.Agent

UpdateTaskDescriptionNEQ applies the NEQ predicate on the "update_task_description" field.

func UpdateTaskDescriptionNotIn

func UpdateTaskDescriptionNotIn(vs ...string) predicate.Agent

UpdateTaskDescriptionNotIn applies the NotIn predicate on the "update_task_description" field.

func UpdateTaskDescriptionNotNil

func UpdateTaskDescriptionNotNil() predicate.Agent

UpdateTaskDescriptionNotNil applies the NotNil predicate on the "update_task_description" field.

func UpdateTaskExecution

func UpdateTaskExecution(v time.Time) predicate.Agent

UpdateTaskExecution applies equality check predicate on the "update_task_execution" field. It's identical to UpdateTaskExecutionEQ.

func UpdateTaskExecutionEQ

func UpdateTaskExecutionEQ(v time.Time) predicate.Agent

UpdateTaskExecutionEQ applies the EQ predicate on the "update_task_execution" field.

func UpdateTaskExecutionGT

func UpdateTaskExecutionGT(v time.Time) predicate.Agent

UpdateTaskExecutionGT applies the GT predicate on the "update_task_execution" field.

func UpdateTaskExecutionGTE

func UpdateTaskExecutionGTE(v time.Time) predicate.Agent

UpdateTaskExecutionGTE applies the GTE predicate on the "update_task_execution" field.

func UpdateTaskExecutionIn

func UpdateTaskExecutionIn(vs ...time.Time) predicate.Agent

UpdateTaskExecutionIn applies the In predicate on the "update_task_execution" field.

func UpdateTaskExecutionIsNil

func UpdateTaskExecutionIsNil() predicate.Agent

UpdateTaskExecutionIsNil applies the IsNil predicate on the "update_task_execution" field.

func UpdateTaskExecutionLT

func UpdateTaskExecutionLT(v time.Time) predicate.Agent

UpdateTaskExecutionLT applies the LT predicate on the "update_task_execution" field.

func UpdateTaskExecutionLTE

func UpdateTaskExecutionLTE(v time.Time) predicate.Agent

UpdateTaskExecutionLTE applies the LTE predicate on the "update_task_execution" field.

func UpdateTaskExecutionNEQ

func UpdateTaskExecutionNEQ(v time.Time) predicate.Agent

UpdateTaskExecutionNEQ applies the NEQ predicate on the "update_task_execution" field.

func UpdateTaskExecutionNotIn

func UpdateTaskExecutionNotIn(vs ...time.Time) predicate.Agent

UpdateTaskExecutionNotIn applies the NotIn predicate on the "update_task_execution" field.

func UpdateTaskExecutionNotNil

func UpdateTaskExecutionNotNil() predicate.Agent

UpdateTaskExecutionNotNil applies the NotNil predicate on the "update_task_execution" field.

func UpdateTaskResult

func UpdateTaskResult(v string) predicate.Agent

UpdateTaskResult applies equality check predicate on the "update_task_result" field. It's identical to UpdateTaskResultEQ.

func UpdateTaskResultContains

func UpdateTaskResultContains(v string) predicate.Agent

UpdateTaskResultContains applies the Contains predicate on the "update_task_result" field.

func UpdateTaskResultContainsFold

func UpdateTaskResultContainsFold(v string) predicate.Agent

UpdateTaskResultContainsFold applies the ContainsFold predicate on the "update_task_result" field.

func UpdateTaskResultEQ

func UpdateTaskResultEQ(v string) predicate.Agent

UpdateTaskResultEQ applies the EQ predicate on the "update_task_result" field.

func UpdateTaskResultEqualFold

func UpdateTaskResultEqualFold(v string) predicate.Agent

UpdateTaskResultEqualFold applies the EqualFold predicate on the "update_task_result" field.

func UpdateTaskResultGT

func UpdateTaskResultGT(v string) predicate.Agent

UpdateTaskResultGT applies the GT predicate on the "update_task_result" field.

func UpdateTaskResultGTE

func UpdateTaskResultGTE(v string) predicate.Agent

UpdateTaskResultGTE applies the GTE predicate on the "update_task_result" field.

func UpdateTaskResultHasPrefix

func UpdateTaskResultHasPrefix(v string) predicate.Agent

UpdateTaskResultHasPrefix applies the HasPrefix predicate on the "update_task_result" field.

func UpdateTaskResultHasSuffix

func UpdateTaskResultHasSuffix(v string) predicate.Agent

UpdateTaskResultHasSuffix applies the HasSuffix predicate on the "update_task_result" field.

func UpdateTaskResultIn

func UpdateTaskResultIn(vs ...string) predicate.Agent

UpdateTaskResultIn applies the In predicate on the "update_task_result" field.

func UpdateTaskResultIsNil

func UpdateTaskResultIsNil() predicate.Agent

UpdateTaskResultIsNil applies the IsNil predicate on the "update_task_result" field.

func UpdateTaskResultLT

func UpdateTaskResultLT(v string) predicate.Agent

UpdateTaskResultLT applies the LT predicate on the "update_task_result" field.

func UpdateTaskResultLTE

func UpdateTaskResultLTE(v string) predicate.Agent

UpdateTaskResultLTE applies the LTE predicate on the "update_task_result" field.

func UpdateTaskResultNEQ

func UpdateTaskResultNEQ(v string) predicate.Agent

UpdateTaskResultNEQ applies the NEQ predicate on the "update_task_result" field.

func UpdateTaskResultNotIn

func UpdateTaskResultNotIn(vs ...string) predicate.Agent

UpdateTaskResultNotIn applies the NotIn predicate on the "update_task_result" field.

func UpdateTaskResultNotNil

func UpdateTaskResultNotNil() predicate.Agent

UpdateTaskResultNotNil applies the NotNil predicate on the "update_task_result" field.

func UpdateTaskStatus

func UpdateTaskStatus(v string) predicate.Agent

UpdateTaskStatus applies equality check predicate on the "update_task_status" field. It's identical to UpdateTaskStatusEQ.

func UpdateTaskStatusContains

func UpdateTaskStatusContains(v string) predicate.Agent

UpdateTaskStatusContains applies the Contains predicate on the "update_task_status" field.

func UpdateTaskStatusContainsFold

func UpdateTaskStatusContainsFold(v string) predicate.Agent

UpdateTaskStatusContainsFold applies the ContainsFold predicate on the "update_task_status" field.

func UpdateTaskStatusEQ

func UpdateTaskStatusEQ(v string) predicate.Agent

UpdateTaskStatusEQ applies the EQ predicate on the "update_task_status" field.

func UpdateTaskStatusEqualFold

func UpdateTaskStatusEqualFold(v string) predicate.Agent

UpdateTaskStatusEqualFold applies the EqualFold predicate on the "update_task_status" field.

func UpdateTaskStatusGT

func UpdateTaskStatusGT(v string) predicate.Agent

UpdateTaskStatusGT applies the GT predicate on the "update_task_status" field.

func UpdateTaskStatusGTE

func UpdateTaskStatusGTE(v string) predicate.Agent

UpdateTaskStatusGTE applies the GTE predicate on the "update_task_status" field.

func UpdateTaskStatusHasPrefix

func UpdateTaskStatusHasPrefix(v string) predicate.Agent

UpdateTaskStatusHasPrefix applies the HasPrefix predicate on the "update_task_status" field.

func UpdateTaskStatusHasSuffix

func UpdateTaskStatusHasSuffix(v string) predicate.Agent

UpdateTaskStatusHasSuffix applies the HasSuffix predicate on the "update_task_status" field.

func UpdateTaskStatusIn

func UpdateTaskStatusIn(vs ...string) predicate.Agent

UpdateTaskStatusIn applies the In predicate on the "update_task_status" field.

func UpdateTaskStatusIsNil

func UpdateTaskStatusIsNil() predicate.Agent

UpdateTaskStatusIsNil applies the IsNil predicate on the "update_task_status" field.

func UpdateTaskStatusLT

func UpdateTaskStatusLT(v string) predicate.Agent

UpdateTaskStatusLT applies the LT predicate on the "update_task_status" field.

func UpdateTaskStatusLTE

func UpdateTaskStatusLTE(v string) predicate.Agent

UpdateTaskStatusLTE applies the LTE predicate on the "update_task_status" field.

func UpdateTaskStatusNEQ

func UpdateTaskStatusNEQ(v string) predicate.Agent

UpdateTaskStatusNEQ applies the NEQ predicate on the "update_task_status" field.

func UpdateTaskStatusNotIn

func UpdateTaskStatusNotIn(vs ...string) predicate.Agent

UpdateTaskStatusNotIn applies the NotIn predicate on the "update_task_status" field.

func UpdateTaskStatusNotNil

func UpdateTaskStatusNotNil() predicate.Agent

UpdateTaskStatusNotNil applies the NotNil predicate on the "update_task_status" field.

func UpdateTaskVersion

func UpdateTaskVersion(v string) predicate.Agent

UpdateTaskVersion applies equality check predicate on the "update_task_version" field. It's identical to UpdateTaskVersionEQ.

func UpdateTaskVersionContains

func UpdateTaskVersionContains(v string) predicate.Agent

UpdateTaskVersionContains applies the Contains predicate on the "update_task_version" field.

func UpdateTaskVersionContainsFold

func UpdateTaskVersionContainsFold(v string) predicate.Agent

UpdateTaskVersionContainsFold applies the ContainsFold predicate on the "update_task_version" field.

func UpdateTaskVersionEQ

func UpdateTaskVersionEQ(v string) predicate.Agent

UpdateTaskVersionEQ applies the EQ predicate on the "update_task_version" field.

func UpdateTaskVersionEqualFold

func UpdateTaskVersionEqualFold(v string) predicate.Agent

UpdateTaskVersionEqualFold applies the EqualFold predicate on the "update_task_version" field.

func UpdateTaskVersionGT

func UpdateTaskVersionGT(v string) predicate.Agent

UpdateTaskVersionGT applies the GT predicate on the "update_task_version" field.

func UpdateTaskVersionGTE

func UpdateTaskVersionGTE(v string) predicate.Agent

UpdateTaskVersionGTE applies the GTE predicate on the "update_task_version" field.

func UpdateTaskVersionHasPrefix

func UpdateTaskVersionHasPrefix(v string) predicate.Agent

UpdateTaskVersionHasPrefix applies the HasPrefix predicate on the "update_task_version" field.

func UpdateTaskVersionHasSuffix

func UpdateTaskVersionHasSuffix(v string) predicate.Agent

UpdateTaskVersionHasSuffix applies the HasSuffix predicate on the "update_task_version" field.

func UpdateTaskVersionIn

func UpdateTaskVersionIn(vs ...string) predicate.Agent

UpdateTaskVersionIn applies the In predicate on the "update_task_version" field.

func UpdateTaskVersionIsNil

func UpdateTaskVersionIsNil() predicate.Agent

UpdateTaskVersionIsNil applies the IsNil predicate on the "update_task_version" field.

func UpdateTaskVersionLT

func UpdateTaskVersionLT(v string) predicate.Agent

UpdateTaskVersionLT applies the LT predicate on the "update_task_version" field.

func UpdateTaskVersionLTE

func UpdateTaskVersionLTE(v string) predicate.Agent

UpdateTaskVersionLTE applies the LTE predicate on the "update_task_version" field.

func UpdateTaskVersionNEQ

func UpdateTaskVersionNEQ(v string) predicate.Agent

UpdateTaskVersionNEQ applies the NEQ predicate on the "update_task_version" field.

func UpdateTaskVersionNotIn

func UpdateTaskVersionNotIn(vs ...string) predicate.Agent

UpdateTaskVersionNotIn applies the NotIn predicate on the "update_task_version" field.

func UpdateTaskVersionNotNil

func UpdateTaskVersionNotNil() predicate.Agent

UpdateTaskVersionNotNil applies the NotNil predicate on the "update_task_version" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func Vnc

func Vnc(v string) predicate.Agent

Vnc applies equality check predicate on the "vnc" field. It's identical to VncEQ.

func VncContains

func VncContains(v string) predicate.Agent

VncContains applies the Contains predicate on the "vnc" field.

func VncContainsFold

func VncContainsFold(v string) predicate.Agent

VncContainsFold applies the ContainsFold predicate on the "vnc" field.

func VncEQ

func VncEQ(v string) predicate.Agent

VncEQ applies the EQ predicate on the "vnc" field.

func VncEqualFold

func VncEqualFold(v string) predicate.Agent

VncEqualFold applies the EqualFold predicate on the "vnc" field.

func VncGT

func VncGT(v string) predicate.Agent

VncGT applies the GT predicate on the "vnc" field.

func VncGTE

func VncGTE(v string) predicate.Agent

VncGTE applies the GTE predicate on the "vnc" field.

func VncHasPrefix

func VncHasPrefix(v string) predicate.Agent

VncHasPrefix applies the HasPrefix predicate on the "vnc" field.

func VncHasSuffix

func VncHasSuffix(v string) predicate.Agent

VncHasSuffix applies the HasSuffix predicate on the "vnc" field.

func VncIn

func VncIn(vs ...string) predicate.Agent

VncIn applies the In predicate on the "vnc" field.

func VncIsNil

func VncIsNil() predicate.Agent

VncIsNil applies the IsNil predicate on the "vnc" field.

func VncLT

func VncLT(v string) predicate.Agent

VncLT applies the LT predicate on the "vnc" field.

func VncLTE

func VncLTE(v string) predicate.Agent

VncLTE applies the LTE predicate on the "vnc" field.

func VncNEQ

func VncNEQ(v string) predicate.Agent

VncNEQ applies the NEQ predicate on the "vnc" field.

func VncNotIn

func VncNotIn(vs ...string) predicate.Agent

VncNotIn applies the NotIn predicate on the "vnc" field.

func VncNotNil

func VncNotNil() predicate.Agent

VncNotNil applies the NotNil predicate on the "vnc" field.

func VncProxyPort

func VncProxyPort(v string) predicate.Agent

VncProxyPort applies equality check predicate on the "vnc_proxy_port" field. It's identical to VncProxyPortEQ.

func VncProxyPortContains

func VncProxyPortContains(v string) predicate.Agent

VncProxyPortContains applies the Contains predicate on the "vnc_proxy_port" field.

func VncProxyPortContainsFold

func VncProxyPortContainsFold(v string) predicate.Agent

VncProxyPortContainsFold applies the ContainsFold predicate on the "vnc_proxy_port" field.

func VncProxyPortEQ

func VncProxyPortEQ(v string) predicate.Agent

VncProxyPortEQ applies the EQ predicate on the "vnc_proxy_port" field.

func VncProxyPortEqualFold

func VncProxyPortEqualFold(v string) predicate.Agent

VncProxyPortEqualFold applies the EqualFold predicate on the "vnc_proxy_port" field.

func VncProxyPortGT

func VncProxyPortGT(v string) predicate.Agent

VncProxyPortGT applies the GT predicate on the "vnc_proxy_port" field.

func VncProxyPortGTE

func VncProxyPortGTE(v string) predicate.Agent

VncProxyPortGTE applies the GTE predicate on the "vnc_proxy_port" field.

func VncProxyPortHasPrefix

func VncProxyPortHasPrefix(v string) predicate.Agent

VncProxyPortHasPrefix applies the HasPrefix predicate on the "vnc_proxy_port" field.

func VncProxyPortHasSuffix

func VncProxyPortHasSuffix(v string) predicate.Agent

VncProxyPortHasSuffix applies the HasSuffix predicate on the "vnc_proxy_port" field.

func VncProxyPortIn

func VncProxyPortIn(vs ...string) predicate.Agent

VncProxyPortIn applies the In predicate on the "vnc_proxy_port" field.

func VncProxyPortIsNil

func VncProxyPortIsNil() predicate.Agent

VncProxyPortIsNil applies the IsNil predicate on the "vnc_proxy_port" field.

func VncProxyPortLT

func VncProxyPortLT(v string) predicate.Agent

VncProxyPortLT applies the LT predicate on the "vnc_proxy_port" field.

func VncProxyPortLTE

func VncProxyPortLTE(v string) predicate.Agent

VncProxyPortLTE applies the LTE predicate on the "vnc_proxy_port" field.

func VncProxyPortNEQ

func VncProxyPortNEQ(v string) predicate.Agent

VncProxyPortNEQ applies the NEQ predicate on the "vnc_proxy_port" field.

func VncProxyPortNotIn

func VncProxyPortNotIn(vs ...string) predicate.Agent

VncProxyPortNotIn applies the NotIn predicate on the "vnc_proxy_port" field.

func VncProxyPortNotNil

func VncProxyPortNotNil() predicate.Agent

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

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL