operatingsystem

package
v0.0.0-...-d46c51b Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the operatingsystem type in the database.
	Label = "operating_system"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldEdition holds the string denoting the edition field in the database.
	FieldEdition = "edition"
	// FieldInstallDate holds the string denoting the install_date field in the database.
	FieldInstallDate = "install_date"
	// FieldArch holds the string denoting the arch field in the database.
	FieldArch = "arch"
	// FieldUsername holds the string denoting the username field in the database.
	FieldUsername = "username"
	// FieldLastBootupTime holds the string denoting the last_bootup_time field in the database.
	FieldLastBootupTime = "last_bootup_time"
	// 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 operatingsystem in the database.
	Table = "operating_systems"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "operating_systems"
	// 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_operatingsystem"
)

Variables

Columns holds all SQL columns for operatingsystem fields.

View Source
var ForeignKeys = []string{
	"agent_operatingsystem",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "operating_systems" table and are not defined as standalone fields in the schema.

Functions

func And

And groups predicates with the AND operator between them.

func Arch

Arch applies equality check predicate on the "arch" field. It's identical to ArchEQ.

func ArchContains

func ArchContains(v string) predicate.OperatingSystem

ArchContains applies the Contains predicate on the "arch" field.

func ArchContainsFold

func ArchContainsFold(v string) predicate.OperatingSystem

ArchContainsFold applies the ContainsFold predicate on the "arch" field.

func ArchEQ

ArchEQ applies the EQ predicate on the "arch" field.

func ArchEqualFold

func ArchEqualFold(v string) predicate.OperatingSystem

ArchEqualFold applies the EqualFold predicate on the "arch" field.

func ArchGT

ArchGT applies the GT predicate on the "arch" field.

func ArchGTE

func ArchGTE(v string) predicate.OperatingSystem

ArchGTE applies the GTE predicate on the "arch" field.

func ArchHasPrefix

func ArchHasPrefix(v string) predicate.OperatingSystem

ArchHasPrefix applies the HasPrefix predicate on the "arch" field.

func ArchHasSuffix

func ArchHasSuffix(v string) predicate.OperatingSystem

ArchHasSuffix applies the HasSuffix predicate on the "arch" field.

func ArchIn

func ArchIn(vs ...string) predicate.OperatingSystem

ArchIn applies the In predicate on the "arch" field.

func ArchIsNil

func ArchIsNil() predicate.OperatingSystem

ArchIsNil applies the IsNil predicate on the "arch" field.

func ArchLT

ArchLT applies the LT predicate on the "arch" field.

func ArchLTE

func ArchLTE(v string) predicate.OperatingSystem

ArchLTE applies the LTE predicate on the "arch" field.

func ArchNEQ

func ArchNEQ(v string) predicate.OperatingSystem

ArchNEQ applies the NEQ predicate on the "arch" field.

func ArchNotIn

func ArchNotIn(vs ...string) predicate.OperatingSystem

ArchNotIn applies the NotIn predicate on the "arch" field.

func ArchNotNil

func ArchNotNil() predicate.OperatingSystem

ArchNotNil applies the NotNil predicate on the "arch" field.

func Description

func Description(v string) predicate.OperatingSystem

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.OperatingSystem

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.OperatingSystem

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.OperatingSystem

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.OperatingSystem

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.OperatingSystem

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.OperatingSystem

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.OperatingSystem

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.OperatingSystem

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.OperatingSystem

DescriptionIn applies the In predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.OperatingSystem

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.OperatingSystem

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.OperatingSystem

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.OperatingSystem

DescriptionNotIn applies the NotIn predicate on the "description" field.

func Edition

func Edition(v string) predicate.OperatingSystem

Edition applies equality check predicate on the "edition" field. It's identical to EditionEQ.

func EditionContains

func EditionContains(v string) predicate.OperatingSystem

EditionContains applies the Contains predicate on the "edition" field.

func EditionContainsFold

func EditionContainsFold(v string) predicate.OperatingSystem

EditionContainsFold applies the ContainsFold predicate on the "edition" field.

func EditionEQ

func EditionEQ(v string) predicate.OperatingSystem

EditionEQ applies the EQ predicate on the "edition" field.

func EditionEqualFold

func EditionEqualFold(v string) predicate.OperatingSystem

EditionEqualFold applies the EqualFold predicate on the "edition" field.

func EditionGT

func EditionGT(v string) predicate.OperatingSystem

EditionGT applies the GT predicate on the "edition" field.

func EditionGTE

func EditionGTE(v string) predicate.OperatingSystem

EditionGTE applies the GTE predicate on the "edition" field.

func EditionHasPrefix

func EditionHasPrefix(v string) predicate.OperatingSystem

EditionHasPrefix applies the HasPrefix predicate on the "edition" field.

func EditionHasSuffix

func EditionHasSuffix(v string) predicate.OperatingSystem

EditionHasSuffix applies the HasSuffix predicate on the "edition" field.

func EditionIn

func EditionIn(vs ...string) predicate.OperatingSystem

EditionIn applies the In predicate on the "edition" field.

func EditionIsNil

func EditionIsNil() predicate.OperatingSystem

EditionIsNil applies the IsNil predicate on the "edition" field.

func EditionLT

func EditionLT(v string) predicate.OperatingSystem

EditionLT applies the LT predicate on the "edition" field.

func EditionLTE

func EditionLTE(v string) predicate.OperatingSystem

EditionLTE applies the LTE predicate on the "edition" field.

func EditionNEQ

func EditionNEQ(v string) predicate.OperatingSystem

EditionNEQ applies the NEQ predicate on the "edition" field.

func EditionNotIn

func EditionNotIn(vs ...string) predicate.OperatingSystem

EditionNotIn applies the NotIn predicate on the "edition" field.

func EditionNotNil

func EditionNotNil() predicate.OperatingSystem

EditionNotNil applies the NotNil predicate on the "edition" field.

func HasOwner

func HasOwner() predicate.OperatingSystem

HasOwner applies the HasEdge predicate on the "owner" edge.

func HasOwnerWith

func HasOwnerWith(preds ...predicate.Agent) predicate.OperatingSystem

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.OperatingSystem

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.OperatingSystem

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.OperatingSystem

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.OperatingSystem

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.OperatingSystem

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.OperatingSystem

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.OperatingSystem

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.OperatingSystem

IDNotIn applies the NotIn predicate on the ID field.

func InstallDate

func InstallDate(v time.Time) predicate.OperatingSystem

InstallDate applies equality check predicate on the "install_date" field. It's identical to InstallDateEQ.

func InstallDateEQ

func InstallDateEQ(v time.Time) predicate.OperatingSystem

InstallDateEQ applies the EQ predicate on the "install_date" field.

func InstallDateGT

func InstallDateGT(v time.Time) predicate.OperatingSystem

InstallDateGT applies the GT predicate on the "install_date" field.

func InstallDateGTE

func InstallDateGTE(v time.Time) predicate.OperatingSystem

InstallDateGTE applies the GTE predicate on the "install_date" field.

func InstallDateIn

func InstallDateIn(vs ...time.Time) predicate.OperatingSystem

InstallDateIn applies the In predicate on the "install_date" field.

func InstallDateIsNil

func InstallDateIsNil() predicate.OperatingSystem

InstallDateIsNil applies the IsNil predicate on the "install_date" field.

func InstallDateLT

func InstallDateLT(v time.Time) predicate.OperatingSystem

InstallDateLT applies the LT predicate on the "install_date" field.

func InstallDateLTE

func InstallDateLTE(v time.Time) predicate.OperatingSystem

InstallDateLTE applies the LTE predicate on the "install_date" field.

func InstallDateNEQ

func InstallDateNEQ(v time.Time) predicate.OperatingSystem

InstallDateNEQ applies the NEQ predicate on the "install_date" field.

func InstallDateNotIn

func InstallDateNotIn(vs ...time.Time) predicate.OperatingSystem

InstallDateNotIn applies the NotIn predicate on the "install_date" field.

func InstallDateNotNil

func InstallDateNotNil() predicate.OperatingSystem

InstallDateNotNil applies the NotNil predicate on the "install_date" field.

func LastBootupTime

func LastBootupTime(v time.Time) predicate.OperatingSystem

LastBootupTime applies equality check predicate on the "last_bootup_time" field. It's identical to LastBootupTimeEQ.

func LastBootupTimeEQ

func LastBootupTimeEQ(v time.Time) predicate.OperatingSystem

LastBootupTimeEQ applies the EQ predicate on the "last_bootup_time" field.

func LastBootupTimeGT

func LastBootupTimeGT(v time.Time) predicate.OperatingSystem

LastBootupTimeGT applies the GT predicate on the "last_bootup_time" field.

func LastBootupTimeGTE

func LastBootupTimeGTE(v time.Time) predicate.OperatingSystem

LastBootupTimeGTE applies the GTE predicate on the "last_bootup_time" field.

func LastBootupTimeIn

func LastBootupTimeIn(vs ...time.Time) predicate.OperatingSystem

LastBootupTimeIn applies the In predicate on the "last_bootup_time" field.

func LastBootupTimeIsNil

func LastBootupTimeIsNil() predicate.OperatingSystem

LastBootupTimeIsNil applies the IsNil predicate on the "last_bootup_time" field.

func LastBootupTimeLT

func LastBootupTimeLT(v time.Time) predicate.OperatingSystem

LastBootupTimeLT applies the LT predicate on the "last_bootup_time" field.

func LastBootupTimeLTE

func LastBootupTimeLTE(v time.Time) predicate.OperatingSystem

LastBootupTimeLTE applies the LTE predicate on the "last_bootup_time" field.

func LastBootupTimeNEQ

func LastBootupTimeNEQ(v time.Time) predicate.OperatingSystem

LastBootupTimeNEQ applies the NEQ predicate on the "last_bootup_time" field.

func LastBootupTimeNotIn

func LastBootupTimeNotIn(vs ...time.Time) predicate.OperatingSystem

LastBootupTimeNotIn applies the NotIn predicate on the "last_bootup_time" field.

func LastBootupTimeNotNil

func LastBootupTimeNotNil() predicate.OperatingSystem

LastBootupTimeNotNil applies the NotNil predicate on the "last_bootup_time" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Type

Type applies equality check predicate on the "type" field. It's identical to TypeEQ.

func TypeContains

func TypeContains(v string) predicate.OperatingSystem

TypeContains applies the Contains predicate on the "type" field.

func TypeContainsFold

func TypeContainsFold(v string) predicate.OperatingSystem

TypeContainsFold applies the ContainsFold predicate on the "type" field.

func TypeEQ

TypeEQ applies the EQ predicate on the "type" field.

func TypeEqualFold

func TypeEqualFold(v string) predicate.OperatingSystem

TypeEqualFold applies the EqualFold predicate on the "type" field.

func TypeGT

TypeGT applies the GT predicate on the "type" field.

func TypeGTE

func TypeGTE(v string) predicate.OperatingSystem

TypeGTE applies the GTE predicate on the "type" field.

func TypeHasPrefix

func TypeHasPrefix(v string) predicate.OperatingSystem

TypeHasPrefix applies the HasPrefix predicate on the "type" field.

func TypeHasSuffix

func TypeHasSuffix(v string) predicate.OperatingSystem

TypeHasSuffix applies the HasSuffix predicate on the "type" field.

func TypeIn

func TypeIn(vs ...string) predicate.OperatingSystem

TypeIn applies the In predicate on the "type" field.

func TypeIsNil

func TypeIsNil() predicate.OperatingSystem

TypeIsNil applies the IsNil predicate on the "type" field.

func TypeLT

TypeLT applies the LT predicate on the "type" field.

func TypeLTE

func TypeLTE(v string) predicate.OperatingSystem

TypeLTE applies the LTE predicate on the "type" field.

func TypeNEQ

func TypeNEQ(v string) predicate.OperatingSystem

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

func TypeNotIn(vs ...string) predicate.OperatingSystem

TypeNotIn applies the NotIn predicate on the "type" field.

func TypeNotNil

func TypeNotNil() predicate.OperatingSystem

TypeNotNil applies the NotNil predicate on the "type" field.

func Username

func Username(v string) predicate.OperatingSystem

Username applies equality check predicate on the "username" field. It's identical to UsernameEQ.

func UsernameContains

func UsernameContains(v string) predicate.OperatingSystem

UsernameContains applies the Contains predicate on the "username" field.

func UsernameContainsFold

func UsernameContainsFold(v string) predicate.OperatingSystem

UsernameContainsFold applies the ContainsFold predicate on the "username" field.

func UsernameEQ

func UsernameEQ(v string) predicate.OperatingSystem

UsernameEQ applies the EQ predicate on the "username" field.

func UsernameEqualFold

func UsernameEqualFold(v string) predicate.OperatingSystem

UsernameEqualFold applies the EqualFold predicate on the "username" field.

func UsernameGT

func UsernameGT(v string) predicate.OperatingSystem

UsernameGT applies the GT predicate on the "username" field.

func UsernameGTE

func UsernameGTE(v string) predicate.OperatingSystem

UsernameGTE applies the GTE predicate on the "username" field.

func UsernameHasPrefix

func UsernameHasPrefix(v string) predicate.OperatingSystem

UsernameHasPrefix applies the HasPrefix predicate on the "username" field.

func UsernameHasSuffix

func UsernameHasSuffix(v string) predicate.OperatingSystem

UsernameHasSuffix applies the HasSuffix predicate on the "username" field.

func UsernameIn

func UsernameIn(vs ...string) predicate.OperatingSystem

UsernameIn applies the In predicate on the "username" field.

func UsernameLT

func UsernameLT(v string) predicate.OperatingSystem

UsernameLT applies the LT predicate on the "username" field.

func UsernameLTE

func UsernameLTE(v string) predicate.OperatingSystem

UsernameLTE applies the LTE predicate on the "username" field.

func UsernameNEQ

func UsernameNEQ(v string) predicate.OperatingSystem

UsernameNEQ applies the NEQ predicate on the "username" field.

func UsernameNotIn

func UsernameNotIn(vs ...string) predicate.OperatingSystem

UsernameNotIn applies the NotIn predicate on the "username" field.

func ValidColumn

func ValidColumn(column string) bool

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

func Version

func Version(v string) predicate.OperatingSystem

Version applies equality check predicate on the "version" field. It's identical to VersionEQ.

func VersionContains

func VersionContains(v string) predicate.OperatingSystem

VersionContains applies the Contains predicate on the "version" field.

func VersionContainsFold

func VersionContainsFold(v string) predicate.OperatingSystem

VersionContainsFold applies the ContainsFold predicate on the "version" field.

func VersionEQ

func VersionEQ(v string) predicate.OperatingSystem

VersionEQ applies the EQ predicate on the "version" field.

func VersionEqualFold

func VersionEqualFold(v string) predicate.OperatingSystem

VersionEqualFold applies the EqualFold predicate on the "version" field.

func VersionGT

func VersionGT(v string) predicate.OperatingSystem

VersionGT applies the GT predicate on the "version" field.

func VersionGTE

func VersionGTE(v string) predicate.OperatingSystem

VersionGTE applies the GTE predicate on the "version" field.

func VersionHasPrefix

func VersionHasPrefix(v string) predicate.OperatingSystem

VersionHasPrefix applies the HasPrefix predicate on the "version" field.

func VersionHasSuffix

func VersionHasSuffix(v string) predicate.OperatingSystem

VersionHasSuffix applies the HasSuffix predicate on the "version" field.

func VersionIn

func VersionIn(vs ...string) predicate.OperatingSystem

VersionIn applies the In predicate on the "version" field.

func VersionLT

func VersionLT(v string) predicate.OperatingSystem

VersionLT applies the LT predicate on the "version" field.

func VersionLTE

func VersionLTE(v string) predicate.OperatingSystem

VersionLTE applies the LTE predicate on the "version" field.

func VersionNEQ

func VersionNEQ(v string) predicate.OperatingSystem

VersionNEQ applies the NEQ predicate on the "version" field.

func VersionNotIn

func VersionNotIn(vs ...string) predicate.OperatingSystem

VersionNotIn applies the NotIn predicate on the "version" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the OperatingSystem queries.

func ByArch

func ByArch(opts ...sql.OrderTermOption) OrderOption

ByArch orders the results by the arch field.

func ByDescription

func ByDescription(opts ...sql.OrderTermOption) OrderOption

ByDescription orders the results by the description field.

func ByEdition

func ByEdition(opts ...sql.OrderTermOption) OrderOption

ByEdition orders the results by the edition field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByInstallDate

func ByInstallDate(opts ...sql.OrderTermOption) OrderOption

ByInstallDate orders the results by the install_date field.

func ByLastBootupTime

func ByLastBootupTime(opts ...sql.OrderTermOption) OrderOption

ByLastBootupTime orders the results by the last_bootup_time field.

func ByOwnerField

func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption

ByOwnerField orders the results by owner field.

func ByType

func ByType(opts ...sql.OrderTermOption) OrderOption

ByType orders the results by the type field.

func ByUsername

func ByUsername(opts ...sql.OrderTermOption) OrderOption

ByUsername orders the results by the username field.

func ByVersion

func ByVersion(opts ...sql.OrderTermOption) OrderOption

ByVersion orders the results by the version field.

Jump to

Keyboard shortcuts

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