Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Netbird) predicate.Netbird
- func DNSServer(v string) predicate.Netbird
- func DNSServerContains(v string) predicate.Netbird
- func DNSServerContainsFold(v string) predicate.Netbird
- func DNSServerEQ(v string) predicate.Netbird
- func DNSServerEqualFold(v string) predicate.Netbird
- func DNSServerGT(v string) predicate.Netbird
- func DNSServerGTE(v string) predicate.Netbird
- func DNSServerHasPrefix(v string) predicate.Netbird
- func DNSServerHasSuffix(v string) predicate.Netbird
- func DNSServerIn(vs ...string) predicate.Netbird
- func DNSServerIsNil() predicate.Netbird
- func DNSServerLT(v string) predicate.Netbird
- func DNSServerLTE(v string) predicate.Netbird
- func DNSServerNEQ(v string) predicate.Netbird
- func DNSServerNotIn(vs ...string) predicate.Netbird
- func DNSServerNotNil() predicate.Netbird
- func HasOwner() predicate.Netbird
- func HasOwnerWith(preds ...predicate.Agent) predicate.Netbird
- func ID(id int) predicate.Netbird
- func IDEQ(id int) predicate.Netbird
- func IDGT(id int) predicate.Netbird
- func IDGTE(id int) predicate.Netbird
- func IDIn(ids ...int) predicate.Netbird
- func IDLT(id int) predicate.Netbird
- func IDLTE(id int) predicate.Netbird
- func IDNEQ(id int) predicate.Netbird
- func IDNotIn(ids ...int) predicate.Netbird
- func IP(v string) predicate.Netbird
- func IPContains(v string) predicate.Netbird
- func IPContainsFold(v string) predicate.Netbird
- func IPEQ(v string) predicate.Netbird
- func IPEqualFold(v string) predicate.Netbird
- func IPGT(v string) predicate.Netbird
- func IPGTE(v string) predicate.Netbird
- func IPHasPrefix(v string) predicate.Netbird
- func IPHasSuffix(v string) predicate.Netbird
- func IPIn(vs ...string) predicate.Netbird
- func IPIsNil() predicate.Netbird
- func IPLT(v string) predicate.Netbird
- func IPLTE(v string) predicate.Netbird
- func IPNEQ(v string) predicate.Netbird
- func IPNotIn(vs ...string) predicate.Netbird
- func IPNotNil() predicate.Netbird
- func Installed(v bool) predicate.Netbird
- func InstalledEQ(v bool) predicate.Netbird
- func InstalledNEQ(v bool) predicate.Netbird
- func ManagementConnected(v bool) predicate.Netbird
- func ManagementConnectedEQ(v bool) predicate.Netbird
- func ManagementConnectedNEQ(v bool) predicate.Netbird
- func ManagementURL(v string) predicate.Netbird
- func ManagementURLContains(v string) predicate.Netbird
- func ManagementURLContainsFold(v string) predicate.Netbird
- func ManagementURLEQ(v string) predicate.Netbird
- func ManagementURLEqualFold(v string) predicate.Netbird
- func ManagementURLGT(v string) predicate.Netbird
- func ManagementURLGTE(v string) predicate.Netbird
- func ManagementURLHasPrefix(v string) predicate.Netbird
- func ManagementURLHasSuffix(v string) predicate.Netbird
- func ManagementURLIn(vs ...string) predicate.Netbird
- func ManagementURLIsNil() predicate.Netbird
- func ManagementURLLT(v string) predicate.Netbird
- func ManagementURLLTE(v string) predicate.Netbird
- func ManagementURLNEQ(v string) predicate.Netbird
- func ManagementURLNotIn(vs ...string) predicate.Netbird
- func ManagementURLNotNil() predicate.Netbird
- func Not(p predicate.Netbird) predicate.Netbird
- func Or(predicates ...predicate.Netbird) predicate.Netbird
- func PeersConnected(v int) predicate.Netbird
- func PeersConnectedEQ(v int) predicate.Netbird
- func PeersConnectedGT(v int) predicate.Netbird
- func PeersConnectedGTE(v int) predicate.Netbird
- func PeersConnectedIn(vs ...int) predicate.Netbird
- func PeersConnectedIsNil() predicate.Netbird
- func PeersConnectedLT(v int) predicate.Netbird
- func PeersConnectedLTE(v int) predicate.Netbird
- func PeersConnectedNEQ(v int) predicate.Netbird
- func PeersConnectedNotIn(vs ...int) predicate.Netbird
- func PeersConnectedNotNil() predicate.Netbird
- func PeersTotal(v int) predicate.Netbird
- func PeersTotalEQ(v int) predicate.Netbird
- func PeersTotalGT(v int) predicate.Netbird
- func PeersTotalGTE(v int) predicate.Netbird
- func PeersTotalIn(vs ...int) predicate.Netbird
- func PeersTotalIsNil() predicate.Netbird
- func PeersTotalLT(v int) predicate.Netbird
- func PeersTotalLTE(v int) predicate.Netbird
- func PeersTotalNEQ(v int) predicate.Netbird
- func PeersTotalNotIn(vs ...int) predicate.Netbird
- func PeersTotalNotNil() predicate.Netbird
- func Profile(v string) predicate.Netbird
- func ProfileContains(v string) predicate.Netbird
- func ProfileContainsFold(v string) predicate.Netbird
- func ProfileEQ(v string) predicate.Netbird
- func ProfileEqualFold(v string) predicate.Netbird
- func ProfileGT(v string) predicate.Netbird
- func ProfileGTE(v string) predicate.Netbird
- func ProfileHasPrefix(v string) predicate.Netbird
- func ProfileHasSuffix(v string) predicate.Netbird
- func ProfileIn(vs ...string) predicate.Netbird
- func ProfileIsNil() predicate.Netbird
- func ProfileLT(v string) predicate.Netbird
- func ProfileLTE(v string) predicate.Netbird
- func ProfileNEQ(v string) predicate.Netbird
- func ProfileNotIn(vs ...string) predicate.Netbird
- func ProfileNotNil() predicate.Netbird
- func ProfilesAvailable(v string) predicate.Netbird
- func ProfilesAvailableContains(v string) predicate.Netbird
- func ProfilesAvailableContainsFold(v string) predicate.Netbird
- func ProfilesAvailableEQ(v string) predicate.Netbird
- func ProfilesAvailableEqualFold(v string) predicate.Netbird
- func ProfilesAvailableGT(v string) predicate.Netbird
- func ProfilesAvailableGTE(v string) predicate.Netbird
- func ProfilesAvailableHasPrefix(v string) predicate.Netbird
- func ProfilesAvailableHasSuffix(v string) predicate.Netbird
- func ProfilesAvailableIn(vs ...string) predicate.Netbird
- func ProfilesAvailableIsNil() predicate.Netbird
- func ProfilesAvailableLT(v string) predicate.Netbird
- func ProfilesAvailableLTE(v string) predicate.Netbird
- func ProfilesAvailableNEQ(v string) predicate.Netbird
- func ProfilesAvailableNotIn(vs ...string) predicate.Netbird
- func ProfilesAvailableNotNil() predicate.Netbird
- func SSHEnabled(v bool) predicate.Netbird
- func SSHEnabledEQ(v bool) predicate.Netbird
- func SSHEnabledNEQ(v bool) predicate.Netbird
- func ServiceStatus(v string) predicate.Netbird
- func ServiceStatusContains(v string) predicate.Netbird
- func ServiceStatusContainsFold(v string) predicate.Netbird
- func ServiceStatusEQ(v string) predicate.Netbird
- func ServiceStatusEqualFold(v string) predicate.Netbird
- func ServiceStatusGT(v string) predicate.Netbird
- func ServiceStatusGTE(v string) predicate.Netbird
- func ServiceStatusHasPrefix(v string) predicate.Netbird
- func ServiceStatusHasSuffix(v string) predicate.Netbird
- func ServiceStatusIn(vs ...string) predicate.Netbird
- func ServiceStatusLT(v string) predicate.Netbird
- func ServiceStatusLTE(v string) predicate.Netbird
- func ServiceStatusNEQ(v string) predicate.Netbird
- func ServiceStatusNotIn(vs ...string) predicate.Netbird
- func SignalConnected(v bool) predicate.Netbird
- func SignalConnectedEQ(v bool) predicate.Netbird
- func SignalConnectedNEQ(v bool) predicate.Netbird
- func SignalURL(v string) predicate.Netbird
- func SignalURLContains(v string) predicate.Netbird
- func SignalURLContainsFold(v string) predicate.Netbird
- func SignalURLEQ(v string) predicate.Netbird
- func SignalURLEqualFold(v string) predicate.Netbird
- func SignalURLGT(v string) predicate.Netbird
- func SignalURLGTE(v string) predicate.Netbird
- func SignalURLHasPrefix(v string) predicate.Netbird
- func SignalURLHasSuffix(v string) predicate.Netbird
- func SignalURLIn(vs ...string) predicate.Netbird
- func SignalURLIsNil() predicate.Netbird
- func SignalURLLT(v string) predicate.Netbird
- func SignalURLLTE(v string) predicate.Netbird
- func SignalURLNEQ(v string) predicate.Netbird
- func SignalURLNotIn(vs ...string) predicate.Netbird
- func SignalURLNotNil() predicate.Netbird
- func ValidColumn(column string) bool
- func Version(v string) predicate.Netbird
- func VersionContains(v string) predicate.Netbird
- func VersionContainsFold(v string) predicate.Netbird
- func VersionEQ(v string) predicate.Netbird
- func VersionEqualFold(v string) predicate.Netbird
- func VersionGT(v string) predicate.Netbird
- func VersionGTE(v string) predicate.Netbird
- func VersionHasPrefix(v string) predicate.Netbird
- func VersionHasSuffix(v string) predicate.Netbird
- func VersionIn(vs ...string) predicate.Netbird
- func VersionLT(v string) predicate.Netbird
- func VersionLTE(v string) predicate.Netbird
- func VersionNEQ(v string) predicate.Netbird
- func VersionNotIn(vs ...string) predicate.Netbird
- type OrderOption
- func ByDNSServer(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIP(opts ...sql.OrderTermOption) OrderOption
- func ByInstalled(opts ...sql.OrderTermOption) OrderOption
- func ByManagementConnected(opts ...sql.OrderTermOption) OrderOption
- func ByManagementURL(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByPeersConnected(opts ...sql.OrderTermOption) OrderOption
- func ByPeersTotal(opts ...sql.OrderTermOption) OrderOption
- func ByProfile(opts ...sql.OrderTermOption) OrderOption
- func ByProfilesAvailable(opts ...sql.OrderTermOption) OrderOption
- func BySSHEnabled(opts ...sql.OrderTermOption) OrderOption
- func ByServiceStatus(opts ...sql.OrderTermOption) OrderOption
- func BySignalConnected(opts ...sql.OrderTermOption) OrderOption
- func BySignalURL(opts ...sql.OrderTermOption) OrderOption
- func ByVersion(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the netbird type in the database. Label = "netbird" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldVersion holds the string denoting the version field in the database. FieldVersion = "version" // FieldInstalled holds the string denoting the installed field in the database. FieldInstalled = "installed" // FieldServiceStatus holds the string denoting the service_status field in the database. FieldServiceStatus = "service_status" // FieldIP holds the string denoting the ip field in the database. FieldIP = "ip" // FieldProfile holds the string denoting the profile field in the database. FieldProfile = "profile" // FieldManagementURL holds the string denoting the management_url field in the database. FieldManagementURL = "management_url" // FieldManagementConnected holds the string denoting the management_connected field in the database. FieldManagementConnected = "management_connected" // FieldSignalURL holds the string denoting the signal_url field in the database. FieldSignalURL = "signal_url" // FieldSignalConnected holds the string denoting the signal_connected field in the database. FieldSignalConnected = "signal_connected" // FieldSSHEnabled holds the string denoting the ssh_enabled field in the database. FieldSSHEnabled = "ssh_enabled" // FieldPeersTotal holds the string denoting the peers_total field in the database. FieldPeersTotal = "peers_total" // FieldPeersConnected holds the string denoting the peers_connected field in the database. FieldPeersConnected = "peers_connected" // FieldProfilesAvailable holds the string denoting the profiles_available field in the database. FieldProfilesAvailable = "profiles_available" // FieldDNSServer holds the string denoting the dns_server field in the database. FieldDNSServer = "dns_server" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // AgentFieldID holds the string denoting the ID field of the Agent. AgentFieldID = "oid" // Table holds the table name of the netbird in the database. Table = "netbirds" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "netbirds" // OwnerInverseTable is the table name for the Agent entity. // It exists in this package in order to avoid circular dependency with the "agent" package. OwnerInverseTable = "agents" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "agent_netbird" )
Variables ¶
var ( // DefaultVersion holds the default value on creation for the "version" field. DefaultVersion string // DefaultInstalled holds the default value on creation for the "installed" field. DefaultInstalled bool // DefaultServiceStatus holds the default value on creation for the "service_status" field. DefaultServiceStatus string // DefaultIP holds the default value on creation for the "ip" field. DefaultIP string // DefaultProfile holds the default value on creation for the "profile" field. DefaultProfile string // DefaultManagementURL holds the default value on creation for the "management_url" field. DefaultManagementURL string // DefaultManagementConnected holds the default value on creation for the "management_connected" field. DefaultManagementConnected bool // DefaultSignalURL holds the default value on creation for the "signal_url" field. DefaultSignalURL string // DefaultSignalConnected holds the default value on creation for the "signal_connected" field. DefaultSignalConnected bool // DefaultSSHEnabled holds the default value on creation for the "ssh_enabled" field. DefaultSSHEnabled bool // DefaultPeersTotal holds the default value on creation for the "peers_total" field. DefaultPeersTotal int // DefaultPeersConnected holds the default value on creation for the "peers_connected" field. DefaultPeersConnected int // DefaultProfilesAvailable holds the default value on creation for the "profiles_available" field. DefaultProfilesAvailable string // DefaultDNSServer holds the default value on creation for the "dns_server" field. DefaultDNSServer string )
var Columns = []string{ FieldID, FieldVersion, FieldInstalled, FieldServiceStatus, FieldIP, FieldProfile, FieldManagementURL, FieldManagementConnected, FieldSignalURL, FieldSignalConnected, FieldSSHEnabled, FieldPeersTotal, FieldPeersConnected, FieldProfilesAvailable, FieldDNSServer, }
Columns holds all SQL columns for netbird fields.
var ForeignKeys = []string{
"agent_netbird",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "netbirds" table and are not defined as standalone fields in the schema.
Functions ¶
func DNSServer ¶
DNSServer applies equality check predicate on the "dns_server" field. It's identical to DNSServerEQ.
func DNSServerContains ¶
DNSServerContains applies the Contains predicate on the "dns_server" field.
func DNSServerContainsFold ¶
DNSServerContainsFold applies the ContainsFold predicate on the "dns_server" field.
func DNSServerEQ ¶
DNSServerEQ applies the EQ predicate on the "dns_server" field.
func DNSServerEqualFold ¶
DNSServerEqualFold applies the EqualFold predicate on the "dns_server" field.
func DNSServerGT ¶
DNSServerGT applies the GT predicate on the "dns_server" field.
func DNSServerGTE ¶
DNSServerGTE applies the GTE predicate on the "dns_server" field.
func DNSServerHasPrefix ¶
DNSServerHasPrefix applies the HasPrefix predicate on the "dns_server" field.
func DNSServerHasSuffix ¶
DNSServerHasSuffix applies the HasSuffix predicate on the "dns_server" field.
func DNSServerIn ¶
DNSServerIn applies the In predicate on the "dns_server" field.
func DNSServerIsNil ¶
DNSServerIsNil applies the IsNil predicate on the "dns_server" field.
func DNSServerLT ¶
DNSServerLT applies the LT predicate on the "dns_server" field.
func DNSServerLTE ¶
DNSServerLTE applies the LTE predicate on the "dns_server" field.
func DNSServerNEQ ¶
DNSServerNEQ applies the NEQ predicate on the "dns_server" field.
func DNSServerNotIn ¶
DNSServerNotIn applies the NotIn predicate on the "dns_server" field.
func DNSServerNotNil ¶
DNSServerNotNil applies the NotNil predicate on the "dns_server" field.
func HasOwnerWith ¶
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
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 Installed ¶
Installed applies equality check predicate on the "installed" field. It's identical to InstalledEQ.
func InstalledEQ ¶
InstalledEQ applies the EQ predicate on the "installed" field.
func InstalledNEQ ¶
InstalledNEQ applies the NEQ predicate on the "installed" field.
func ManagementConnected ¶
ManagementConnected applies equality check predicate on the "management_connected" field. It's identical to ManagementConnectedEQ.
func ManagementConnectedEQ ¶
ManagementConnectedEQ applies the EQ predicate on the "management_connected" field.
func ManagementConnectedNEQ ¶
ManagementConnectedNEQ applies the NEQ predicate on the "management_connected" field.
func ManagementURL ¶
ManagementURL applies equality check predicate on the "management_url" field. It's identical to ManagementURLEQ.
func ManagementURLContains ¶
ManagementURLContains applies the Contains predicate on the "management_url" field.
func ManagementURLContainsFold ¶
ManagementURLContainsFold applies the ContainsFold predicate on the "management_url" field.
func ManagementURLEQ ¶
ManagementURLEQ applies the EQ predicate on the "management_url" field.
func ManagementURLEqualFold ¶
ManagementURLEqualFold applies the EqualFold predicate on the "management_url" field.
func ManagementURLGT ¶
ManagementURLGT applies the GT predicate on the "management_url" field.
func ManagementURLGTE ¶
ManagementURLGTE applies the GTE predicate on the "management_url" field.
func ManagementURLHasPrefix ¶
ManagementURLHasPrefix applies the HasPrefix predicate on the "management_url" field.
func ManagementURLHasSuffix ¶
ManagementURLHasSuffix applies the HasSuffix predicate on the "management_url" field.
func ManagementURLIn ¶
ManagementURLIn applies the In predicate on the "management_url" field.
func ManagementURLIsNil ¶
ManagementURLIsNil applies the IsNil predicate on the "management_url" field.
func ManagementURLLT ¶
ManagementURLLT applies the LT predicate on the "management_url" field.
func ManagementURLLTE ¶
ManagementURLLTE applies the LTE predicate on the "management_url" field.
func ManagementURLNEQ ¶
ManagementURLNEQ applies the NEQ predicate on the "management_url" field.
func ManagementURLNotIn ¶
ManagementURLNotIn applies the NotIn predicate on the "management_url" field.
func ManagementURLNotNil ¶
ManagementURLNotNil applies the NotNil predicate on the "management_url" field.
func PeersConnected ¶
PeersConnected applies equality check predicate on the "peers_connected" field. It's identical to PeersConnectedEQ.
func PeersConnectedEQ ¶
PeersConnectedEQ applies the EQ predicate on the "peers_connected" field.
func PeersConnectedGT ¶
PeersConnectedGT applies the GT predicate on the "peers_connected" field.
func PeersConnectedGTE ¶
PeersConnectedGTE applies the GTE predicate on the "peers_connected" field.
func PeersConnectedIn ¶
PeersConnectedIn applies the In predicate on the "peers_connected" field.
func PeersConnectedIsNil ¶
PeersConnectedIsNil applies the IsNil predicate on the "peers_connected" field.
func PeersConnectedLT ¶
PeersConnectedLT applies the LT predicate on the "peers_connected" field.
func PeersConnectedLTE ¶
PeersConnectedLTE applies the LTE predicate on the "peers_connected" field.
func PeersConnectedNEQ ¶
PeersConnectedNEQ applies the NEQ predicate on the "peers_connected" field.
func PeersConnectedNotIn ¶
PeersConnectedNotIn applies the NotIn predicate on the "peers_connected" field.
func PeersConnectedNotNil ¶
PeersConnectedNotNil applies the NotNil predicate on the "peers_connected" field.
func PeersTotal ¶
PeersTotal applies equality check predicate on the "peers_total" field. It's identical to PeersTotalEQ.
func PeersTotalEQ ¶
PeersTotalEQ applies the EQ predicate on the "peers_total" field.
func PeersTotalGT ¶
PeersTotalGT applies the GT predicate on the "peers_total" field.
func PeersTotalGTE ¶
PeersTotalGTE applies the GTE predicate on the "peers_total" field.
func PeersTotalIn ¶
PeersTotalIn applies the In predicate on the "peers_total" field.
func PeersTotalIsNil ¶
PeersTotalIsNil applies the IsNil predicate on the "peers_total" field.
func PeersTotalLT ¶
PeersTotalLT applies the LT predicate on the "peers_total" field.
func PeersTotalLTE ¶
PeersTotalLTE applies the LTE predicate on the "peers_total" field.
func PeersTotalNEQ ¶
PeersTotalNEQ applies the NEQ predicate on the "peers_total" field.
func PeersTotalNotIn ¶
PeersTotalNotIn applies the NotIn predicate on the "peers_total" field.
func PeersTotalNotNil ¶
PeersTotalNotNil applies the NotNil predicate on the "peers_total" field.
func Profile ¶
Profile applies equality check predicate on the "profile" field. It's identical to ProfileEQ.
func ProfileContains ¶
ProfileContains applies the Contains predicate on the "profile" field.
func ProfileContainsFold ¶
ProfileContainsFold applies the ContainsFold predicate on the "profile" field.
func ProfileEqualFold ¶
ProfileEqualFold applies the EqualFold predicate on the "profile" field.
func ProfileGTE ¶
ProfileGTE applies the GTE predicate on the "profile" field.
func ProfileHasPrefix ¶
ProfileHasPrefix applies the HasPrefix predicate on the "profile" field.
func ProfileHasSuffix ¶
ProfileHasSuffix applies the HasSuffix predicate on the "profile" field.
func ProfileIsNil ¶
ProfileIsNil applies the IsNil predicate on the "profile" field.
func ProfileLTE ¶
ProfileLTE applies the LTE predicate on the "profile" field.
func ProfileNEQ ¶
ProfileNEQ applies the NEQ predicate on the "profile" field.
func ProfileNotIn ¶
ProfileNotIn applies the NotIn predicate on the "profile" field.
func ProfileNotNil ¶
ProfileNotNil applies the NotNil predicate on the "profile" field.
func ProfilesAvailable ¶
ProfilesAvailable applies equality check predicate on the "profiles_available" field. It's identical to ProfilesAvailableEQ.
func ProfilesAvailableContains ¶
ProfilesAvailableContains applies the Contains predicate on the "profiles_available" field.
func ProfilesAvailableContainsFold ¶
ProfilesAvailableContainsFold applies the ContainsFold predicate on the "profiles_available" field.
func ProfilesAvailableEQ ¶
ProfilesAvailableEQ applies the EQ predicate on the "profiles_available" field.
func ProfilesAvailableEqualFold ¶
ProfilesAvailableEqualFold applies the EqualFold predicate on the "profiles_available" field.
func ProfilesAvailableGT ¶
ProfilesAvailableGT applies the GT predicate on the "profiles_available" field.
func ProfilesAvailableGTE ¶
ProfilesAvailableGTE applies the GTE predicate on the "profiles_available" field.
func ProfilesAvailableHasPrefix ¶
ProfilesAvailableHasPrefix applies the HasPrefix predicate on the "profiles_available" field.
func ProfilesAvailableHasSuffix ¶
ProfilesAvailableHasSuffix applies the HasSuffix predicate on the "profiles_available" field.
func ProfilesAvailableIn ¶
ProfilesAvailableIn applies the In predicate on the "profiles_available" field.
func ProfilesAvailableIsNil ¶
ProfilesAvailableIsNil applies the IsNil predicate on the "profiles_available" field.
func ProfilesAvailableLT ¶
ProfilesAvailableLT applies the LT predicate on the "profiles_available" field.
func ProfilesAvailableLTE ¶
ProfilesAvailableLTE applies the LTE predicate on the "profiles_available" field.
func ProfilesAvailableNEQ ¶
ProfilesAvailableNEQ applies the NEQ predicate on the "profiles_available" field.
func ProfilesAvailableNotIn ¶
ProfilesAvailableNotIn applies the NotIn predicate on the "profiles_available" field.
func ProfilesAvailableNotNil ¶
ProfilesAvailableNotNil applies the NotNil predicate on the "profiles_available" field.
func SSHEnabled ¶
SSHEnabled applies equality check predicate on the "ssh_enabled" field. It's identical to SSHEnabledEQ.
func SSHEnabledEQ ¶
SSHEnabledEQ applies the EQ predicate on the "ssh_enabled" field.
func SSHEnabledNEQ ¶
SSHEnabledNEQ applies the NEQ predicate on the "ssh_enabled" field.
func ServiceStatus ¶
ServiceStatus applies equality check predicate on the "service_status" field. It's identical to ServiceStatusEQ.
func ServiceStatusContains ¶
ServiceStatusContains applies the Contains predicate on the "service_status" field.
func ServiceStatusContainsFold ¶
ServiceStatusContainsFold applies the ContainsFold predicate on the "service_status" field.
func ServiceStatusEQ ¶
ServiceStatusEQ applies the EQ predicate on the "service_status" field.
func ServiceStatusEqualFold ¶
ServiceStatusEqualFold applies the EqualFold predicate on the "service_status" field.
func ServiceStatusGT ¶
ServiceStatusGT applies the GT predicate on the "service_status" field.
func ServiceStatusGTE ¶
ServiceStatusGTE applies the GTE predicate on the "service_status" field.
func ServiceStatusHasPrefix ¶
ServiceStatusHasPrefix applies the HasPrefix predicate on the "service_status" field.
func ServiceStatusHasSuffix ¶
ServiceStatusHasSuffix applies the HasSuffix predicate on the "service_status" field.
func ServiceStatusIn ¶
ServiceStatusIn applies the In predicate on the "service_status" field.
func ServiceStatusLT ¶
ServiceStatusLT applies the LT predicate on the "service_status" field.
func ServiceStatusLTE ¶
ServiceStatusLTE applies the LTE predicate on the "service_status" field.
func ServiceStatusNEQ ¶
ServiceStatusNEQ applies the NEQ predicate on the "service_status" field.
func ServiceStatusNotIn ¶
ServiceStatusNotIn applies the NotIn predicate on the "service_status" field.
func SignalConnected ¶
SignalConnected applies equality check predicate on the "signal_connected" field. It's identical to SignalConnectedEQ.
func SignalConnectedEQ ¶
SignalConnectedEQ applies the EQ predicate on the "signal_connected" field.
func SignalConnectedNEQ ¶
SignalConnectedNEQ applies the NEQ predicate on the "signal_connected" field.
func SignalURL ¶
SignalURL applies equality check predicate on the "signal_url" field. It's identical to SignalURLEQ.
func SignalURLContains ¶
SignalURLContains applies the Contains predicate on the "signal_url" field.
func SignalURLContainsFold ¶
SignalURLContainsFold applies the ContainsFold predicate on the "signal_url" field.
func SignalURLEQ ¶
SignalURLEQ applies the EQ predicate on the "signal_url" field.
func SignalURLEqualFold ¶
SignalURLEqualFold applies the EqualFold predicate on the "signal_url" field.
func SignalURLGT ¶
SignalURLGT applies the GT predicate on the "signal_url" field.
func SignalURLGTE ¶
SignalURLGTE applies the GTE predicate on the "signal_url" field.
func SignalURLHasPrefix ¶
SignalURLHasPrefix applies the HasPrefix predicate on the "signal_url" field.
func SignalURLHasSuffix ¶
SignalURLHasSuffix applies the HasSuffix predicate on the "signal_url" field.
func SignalURLIn ¶
SignalURLIn applies the In predicate on the "signal_url" field.
func SignalURLIsNil ¶
SignalURLIsNil applies the IsNil predicate on the "signal_url" field.
func SignalURLLT ¶
SignalURLLT applies the LT predicate on the "signal_url" field.
func SignalURLLTE ¶
SignalURLLTE applies the LTE predicate on the "signal_url" field.
func SignalURLNEQ ¶
SignalURLNEQ applies the NEQ predicate on the "signal_url" field.
func SignalURLNotIn ¶
SignalURLNotIn applies the NotIn predicate on the "signal_url" field.
func SignalURLNotNil ¶
SignalURLNotNil applies the NotNil predicate on the "signal_url" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Version ¶
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionContains ¶
VersionContains applies the Contains predicate on the "version" field.
func VersionContainsFold ¶
VersionContainsFold applies the ContainsFold predicate on the "version" field.
func VersionEqualFold ¶
VersionEqualFold applies the EqualFold predicate on the "version" field.
func VersionGTE ¶
VersionGTE applies the GTE predicate on the "version" field.
func VersionHasPrefix ¶
VersionHasPrefix applies the HasPrefix predicate on the "version" field.
func VersionHasSuffix ¶
VersionHasSuffix applies the HasSuffix predicate on the "version" field.
func VersionLTE ¶
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
VersionNotIn applies the NotIn predicate on the "version" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Netbird queries.
func ByDNSServer ¶
func ByDNSServer(opts ...sql.OrderTermOption) OrderOption
ByDNSServer orders the results by the dns_server 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 ByInstalled ¶
func ByInstalled(opts ...sql.OrderTermOption) OrderOption
ByInstalled orders the results by the installed field.
func ByManagementConnected ¶
func ByManagementConnected(opts ...sql.OrderTermOption) OrderOption
ByManagementConnected orders the results by the management_connected field.
func ByManagementURL ¶
func ByManagementURL(opts ...sql.OrderTermOption) OrderOption
ByManagementURL orders the results by the management_url field.
func ByOwnerField ¶
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByPeersConnected ¶
func ByPeersConnected(opts ...sql.OrderTermOption) OrderOption
ByPeersConnected orders the results by the peers_connected field.
func ByPeersTotal ¶
func ByPeersTotal(opts ...sql.OrderTermOption) OrderOption
ByPeersTotal orders the results by the peers_total field.
func ByProfile ¶
func ByProfile(opts ...sql.OrderTermOption) OrderOption
ByProfile orders the results by the profile field.
func ByProfilesAvailable ¶
func ByProfilesAvailable(opts ...sql.OrderTermOption) OrderOption
ByProfilesAvailable orders the results by the profiles_available field.
func BySSHEnabled ¶
func BySSHEnabled(opts ...sql.OrderTermOption) OrderOption
BySSHEnabled orders the results by the ssh_enabled field.
func ByServiceStatus ¶
func ByServiceStatus(opts ...sql.OrderTermOption) OrderOption
ByServiceStatus orders the results by the service_status field.
func BySignalConnected ¶
func BySignalConnected(opts ...sql.OrderTermOption) OrderOption
BySignalConnected orders the results by the signal_connected field.
func BySignalURL ¶
func BySignalURL(opts ...sql.OrderTermOption) OrderOption
BySignalURL orders the results by the signal_url field.
func ByVersion ¶
func ByVersion(opts ...sql.OrderTermOption) OrderOption
ByVersion orders the results by the version field.