Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.LogicalDisk) predicate.LogicalDisk
- func BitlockerStatus(v string) predicate.LogicalDisk
- func BitlockerStatusContains(v string) predicate.LogicalDisk
- func BitlockerStatusContainsFold(v string) predicate.LogicalDisk
- func BitlockerStatusEQ(v string) predicate.LogicalDisk
- func BitlockerStatusEqualFold(v string) predicate.LogicalDisk
- func BitlockerStatusGT(v string) predicate.LogicalDisk
- func BitlockerStatusGTE(v string) predicate.LogicalDisk
- func BitlockerStatusHasPrefix(v string) predicate.LogicalDisk
- func BitlockerStatusHasSuffix(v string) predicate.LogicalDisk
- func BitlockerStatusIn(vs ...string) predicate.LogicalDisk
- func BitlockerStatusIsNil() predicate.LogicalDisk
- func BitlockerStatusLT(v string) predicate.LogicalDisk
- func BitlockerStatusLTE(v string) predicate.LogicalDisk
- func BitlockerStatusNEQ(v string) predicate.LogicalDisk
- func BitlockerStatusNotIn(vs ...string) predicate.LogicalDisk
- func BitlockerStatusNotNil() predicate.LogicalDisk
- func Filesystem(v string) predicate.LogicalDisk
- func FilesystemContains(v string) predicate.LogicalDisk
- func FilesystemContainsFold(v string) predicate.LogicalDisk
- func FilesystemEQ(v string) predicate.LogicalDisk
- func FilesystemEqualFold(v string) predicate.LogicalDisk
- func FilesystemGT(v string) predicate.LogicalDisk
- func FilesystemGTE(v string) predicate.LogicalDisk
- func FilesystemHasPrefix(v string) predicate.LogicalDisk
- func FilesystemHasSuffix(v string) predicate.LogicalDisk
- func FilesystemIn(vs ...string) predicate.LogicalDisk
- func FilesystemIsNil() predicate.LogicalDisk
- func FilesystemLT(v string) predicate.LogicalDisk
- func FilesystemLTE(v string) predicate.LogicalDisk
- func FilesystemNEQ(v string) predicate.LogicalDisk
- func FilesystemNotIn(vs ...string) predicate.LogicalDisk
- func FilesystemNotNil() predicate.LogicalDisk
- func HasOwner() predicate.LogicalDisk
- func HasOwnerWith(preds ...predicate.Agent) predicate.LogicalDisk
- func ID(id int) predicate.LogicalDisk
- func IDEQ(id int) predicate.LogicalDisk
- func IDGT(id int) predicate.LogicalDisk
- func IDGTE(id int) predicate.LogicalDisk
- func IDIn(ids ...int) predicate.LogicalDisk
- func IDLT(id int) predicate.LogicalDisk
- func IDLTE(id int) predicate.LogicalDisk
- func IDNEQ(id int) predicate.LogicalDisk
- func IDNotIn(ids ...int) predicate.LogicalDisk
- func LabelContains(v string) predicate.LogicalDisk
- func LabelContainsFold(v string) predicate.LogicalDisk
- func LabelEQ(v string) predicate.LogicalDisk
- func LabelEqualFold(v string) predicate.LogicalDisk
- func LabelGT(v string) predicate.LogicalDisk
- func LabelGTE(v string) predicate.LogicalDisk
- func LabelHasPrefix(v string) predicate.LogicalDisk
- func LabelHasSuffix(v string) predicate.LogicalDisk
- func LabelIn(vs ...string) predicate.LogicalDisk
- func LabelLT(v string) predicate.LogicalDisk
- func LabelLTE(v string) predicate.LogicalDisk
- func LabelNEQ(v string) predicate.LogicalDisk
- func LabelNotIn(vs ...string) predicate.LogicalDisk
- func Not(p predicate.LogicalDisk) predicate.LogicalDisk
- func Or(predicates ...predicate.LogicalDisk) predicate.LogicalDisk
- func RemainingSpaceInUnits(v string) predicate.LogicalDisk
- func RemainingSpaceInUnitsContains(v string) predicate.LogicalDisk
- func RemainingSpaceInUnitsContainsFold(v string) predicate.LogicalDisk
- func RemainingSpaceInUnitsEQ(v string) predicate.LogicalDisk
- func RemainingSpaceInUnitsEqualFold(v string) predicate.LogicalDisk
- func RemainingSpaceInUnitsGT(v string) predicate.LogicalDisk
- func RemainingSpaceInUnitsGTE(v string) predicate.LogicalDisk
- func RemainingSpaceInUnitsHasPrefix(v string) predicate.LogicalDisk
- func RemainingSpaceInUnitsHasSuffix(v string) predicate.LogicalDisk
- func RemainingSpaceInUnitsIn(vs ...string) predicate.LogicalDisk
- func RemainingSpaceInUnitsIsNil() predicate.LogicalDisk
- func RemainingSpaceInUnitsLT(v string) predicate.LogicalDisk
- func RemainingSpaceInUnitsLTE(v string) predicate.LogicalDisk
- func RemainingSpaceInUnitsNEQ(v string) predicate.LogicalDisk
- func RemainingSpaceInUnitsNotIn(vs ...string) predicate.LogicalDisk
- func RemainingSpaceInUnitsNotNil() predicate.LogicalDisk
- func SizeInUnits(v string) predicate.LogicalDisk
- func SizeInUnitsContains(v string) predicate.LogicalDisk
- func SizeInUnitsContainsFold(v string) predicate.LogicalDisk
- func SizeInUnitsEQ(v string) predicate.LogicalDisk
- func SizeInUnitsEqualFold(v string) predicate.LogicalDisk
- func SizeInUnitsGT(v string) predicate.LogicalDisk
- func SizeInUnitsGTE(v string) predicate.LogicalDisk
- func SizeInUnitsHasPrefix(v string) predicate.LogicalDisk
- func SizeInUnitsHasSuffix(v string) predicate.LogicalDisk
- func SizeInUnitsIn(vs ...string) predicate.LogicalDisk
- func SizeInUnitsIsNil() predicate.LogicalDisk
- func SizeInUnitsLT(v string) predicate.LogicalDisk
- func SizeInUnitsLTE(v string) predicate.LogicalDisk
- func SizeInUnitsNEQ(v string) predicate.LogicalDisk
- func SizeInUnitsNotIn(vs ...string) predicate.LogicalDisk
- func SizeInUnitsNotNil() predicate.LogicalDisk
- func Usage(v int8) predicate.LogicalDisk
- func UsageEQ(v int8) predicate.LogicalDisk
- func UsageGT(v int8) predicate.LogicalDisk
- func UsageGTE(v int8) predicate.LogicalDisk
- func UsageIn(vs ...int8) predicate.LogicalDisk
- func UsageLT(v int8) predicate.LogicalDisk
- func UsageLTE(v int8) predicate.LogicalDisk
- func UsageNEQ(v int8) predicate.LogicalDisk
- func UsageNotIn(vs ...int8) predicate.LogicalDisk
- func ValidColumn(column string) bool
- func VolumeName(v string) predicate.LogicalDisk
- func VolumeNameContains(v string) predicate.LogicalDisk
- func VolumeNameContainsFold(v string) predicate.LogicalDisk
- func VolumeNameEQ(v string) predicate.LogicalDisk
- func VolumeNameEqualFold(v string) predicate.LogicalDisk
- func VolumeNameGT(v string) predicate.LogicalDisk
- func VolumeNameGTE(v string) predicate.LogicalDisk
- func VolumeNameHasPrefix(v string) predicate.LogicalDisk
- func VolumeNameHasSuffix(v string) predicate.LogicalDisk
- func VolumeNameIn(vs ...string) predicate.LogicalDisk
- func VolumeNameIsNil() predicate.LogicalDisk
- func VolumeNameLT(v string) predicate.LogicalDisk
- func VolumeNameLTE(v string) predicate.LogicalDisk
- func VolumeNameNEQ(v string) predicate.LogicalDisk
- func VolumeNameNotIn(vs ...string) predicate.LogicalDisk
- func VolumeNameNotNil() predicate.LogicalDisk
- type OrderOption
- func ByBitlockerStatus(opts ...sql.OrderTermOption) OrderOption
- func ByFilesystem(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLabel(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByRemainingSpaceInUnits(opts ...sql.OrderTermOption) OrderOption
- func BySizeInUnits(opts ...sql.OrderTermOption) OrderOption
- func ByUsage(opts ...sql.OrderTermOption) OrderOption
- func ByVolumeName(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the logicaldisk type in the database. Label = "logical_disk" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldLabel holds the string denoting the label field in the database. FieldLabel = "label" // FieldFilesystem holds the string denoting the filesystem field in the database. FieldFilesystem = "filesystem" // FieldUsage holds the string denoting the usage field in the database. FieldUsage = "usage" // FieldSizeInUnits holds the string denoting the size_in_units field in the database. FieldSizeInUnits = "size_in_units" // FieldRemainingSpaceInUnits holds the string denoting the remaining_space_in_units field in the database. FieldRemainingSpaceInUnits = "remaining_space_in_units" // FieldVolumeName holds the string denoting the volume_name field in the database. FieldVolumeName = "volume_name" // FieldBitlockerStatus holds the string denoting the bitlocker_status field in the database. FieldBitlockerStatus = "bitlocker_status" // 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 logicaldisk in the database. Table = "logical_disks" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "logical_disks" // 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_logicaldisks" )
Variables ¶
var Columns = []string{ FieldID, FieldLabel, FieldFilesystem, FieldUsage, FieldSizeInUnits, FieldRemainingSpaceInUnits, FieldVolumeName, FieldBitlockerStatus, }
Columns holds all SQL columns for logicaldisk fields.
var ( // DefaultUsage holds the default value on creation for the "usage" field. DefaultUsage int8 )
var ForeignKeys = []string{
"agent_logicaldisks",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "logical_disks" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.LogicalDisk) predicate.LogicalDisk
And groups predicates with the AND operator between them.
func BitlockerStatus ¶
func BitlockerStatus(v string) predicate.LogicalDisk
BitlockerStatus applies equality check predicate on the "bitlocker_status" field. It's identical to BitlockerStatusEQ.
func BitlockerStatusContains ¶
func BitlockerStatusContains(v string) predicate.LogicalDisk
BitlockerStatusContains applies the Contains predicate on the "bitlocker_status" field.
func BitlockerStatusContainsFold ¶
func BitlockerStatusContainsFold(v string) predicate.LogicalDisk
BitlockerStatusContainsFold applies the ContainsFold predicate on the "bitlocker_status" field.
func BitlockerStatusEQ ¶
func BitlockerStatusEQ(v string) predicate.LogicalDisk
BitlockerStatusEQ applies the EQ predicate on the "bitlocker_status" field.
func BitlockerStatusEqualFold ¶
func BitlockerStatusEqualFold(v string) predicate.LogicalDisk
BitlockerStatusEqualFold applies the EqualFold predicate on the "bitlocker_status" field.
func BitlockerStatusGT ¶
func BitlockerStatusGT(v string) predicate.LogicalDisk
BitlockerStatusGT applies the GT predicate on the "bitlocker_status" field.
func BitlockerStatusGTE ¶
func BitlockerStatusGTE(v string) predicate.LogicalDisk
BitlockerStatusGTE applies the GTE predicate on the "bitlocker_status" field.
func BitlockerStatusHasPrefix ¶
func BitlockerStatusHasPrefix(v string) predicate.LogicalDisk
BitlockerStatusHasPrefix applies the HasPrefix predicate on the "bitlocker_status" field.
func BitlockerStatusHasSuffix ¶
func BitlockerStatusHasSuffix(v string) predicate.LogicalDisk
BitlockerStatusHasSuffix applies the HasSuffix predicate on the "bitlocker_status" field.
func BitlockerStatusIn ¶
func BitlockerStatusIn(vs ...string) predicate.LogicalDisk
BitlockerStatusIn applies the In predicate on the "bitlocker_status" field.
func BitlockerStatusIsNil ¶
func BitlockerStatusIsNil() predicate.LogicalDisk
BitlockerStatusIsNil applies the IsNil predicate on the "bitlocker_status" field.
func BitlockerStatusLT ¶
func BitlockerStatusLT(v string) predicate.LogicalDisk
BitlockerStatusLT applies the LT predicate on the "bitlocker_status" field.
func BitlockerStatusLTE ¶
func BitlockerStatusLTE(v string) predicate.LogicalDisk
BitlockerStatusLTE applies the LTE predicate on the "bitlocker_status" field.
func BitlockerStatusNEQ ¶
func BitlockerStatusNEQ(v string) predicate.LogicalDisk
BitlockerStatusNEQ applies the NEQ predicate on the "bitlocker_status" field.
func BitlockerStatusNotIn ¶
func BitlockerStatusNotIn(vs ...string) predicate.LogicalDisk
BitlockerStatusNotIn applies the NotIn predicate on the "bitlocker_status" field.
func BitlockerStatusNotNil ¶
func BitlockerStatusNotNil() predicate.LogicalDisk
BitlockerStatusNotNil applies the NotNil predicate on the "bitlocker_status" field.
func Filesystem ¶
func Filesystem(v string) predicate.LogicalDisk
Filesystem applies equality check predicate on the "filesystem" field. It's identical to FilesystemEQ.
func FilesystemContains ¶
func FilesystemContains(v string) predicate.LogicalDisk
FilesystemContains applies the Contains predicate on the "filesystem" field.
func FilesystemContainsFold ¶
func FilesystemContainsFold(v string) predicate.LogicalDisk
FilesystemContainsFold applies the ContainsFold predicate on the "filesystem" field.
func FilesystemEQ ¶
func FilesystemEQ(v string) predicate.LogicalDisk
FilesystemEQ applies the EQ predicate on the "filesystem" field.
func FilesystemEqualFold ¶
func FilesystemEqualFold(v string) predicate.LogicalDisk
FilesystemEqualFold applies the EqualFold predicate on the "filesystem" field.
func FilesystemGT ¶
func FilesystemGT(v string) predicate.LogicalDisk
FilesystemGT applies the GT predicate on the "filesystem" field.
func FilesystemGTE ¶
func FilesystemGTE(v string) predicate.LogicalDisk
FilesystemGTE applies the GTE predicate on the "filesystem" field.
func FilesystemHasPrefix ¶
func FilesystemHasPrefix(v string) predicate.LogicalDisk
FilesystemHasPrefix applies the HasPrefix predicate on the "filesystem" field.
func FilesystemHasSuffix ¶
func FilesystemHasSuffix(v string) predicate.LogicalDisk
FilesystemHasSuffix applies the HasSuffix predicate on the "filesystem" field.
func FilesystemIn ¶
func FilesystemIn(vs ...string) predicate.LogicalDisk
FilesystemIn applies the In predicate on the "filesystem" field.
func FilesystemIsNil ¶
func FilesystemIsNil() predicate.LogicalDisk
FilesystemIsNil applies the IsNil predicate on the "filesystem" field.
func FilesystemLT ¶
func FilesystemLT(v string) predicate.LogicalDisk
FilesystemLT applies the LT predicate on the "filesystem" field.
func FilesystemLTE ¶
func FilesystemLTE(v string) predicate.LogicalDisk
FilesystemLTE applies the LTE predicate on the "filesystem" field.
func FilesystemNEQ ¶
func FilesystemNEQ(v string) predicate.LogicalDisk
FilesystemNEQ applies the NEQ predicate on the "filesystem" field.
func FilesystemNotIn ¶
func FilesystemNotIn(vs ...string) predicate.LogicalDisk
FilesystemNotIn applies the NotIn predicate on the "filesystem" field.
func FilesystemNotNil ¶
func FilesystemNotNil() predicate.LogicalDisk
FilesystemNotNil applies the NotNil predicate on the "filesystem" field.
func HasOwner ¶
func HasOwner() predicate.LogicalDisk
HasOwner applies the HasEdge predicate on the "owner" edge.
func HasOwnerWith ¶
func HasOwnerWith(preds ...predicate.Agent) predicate.LogicalDisk
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func IDGTE ¶
func IDGTE(id int) predicate.LogicalDisk
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.LogicalDisk
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.LogicalDisk
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.LogicalDisk
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.LogicalDisk
IDNotIn applies the NotIn predicate on the ID field.
func LabelContains ¶
func LabelContains(v string) predicate.LogicalDisk
LabelContains applies the Contains predicate on the "label" field.
func LabelContainsFold ¶
func LabelContainsFold(v string) predicate.LogicalDisk
LabelContainsFold applies the ContainsFold predicate on the "label" field.
func LabelEQ ¶
func LabelEQ(v string) predicate.LogicalDisk
LabelEQ applies the EQ predicate on the "label" field.
func LabelEqualFold ¶
func LabelEqualFold(v string) predicate.LogicalDisk
LabelEqualFold applies the EqualFold predicate on the "label" field.
func LabelGT ¶
func LabelGT(v string) predicate.LogicalDisk
LabelGT applies the GT predicate on the "label" field.
func LabelGTE ¶
func LabelGTE(v string) predicate.LogicalDisk
LabelGTE applies the GTE predicate on the "label" field.
func LabelHasPrefix ¶
func LabelHasPrefix(v string) predicate.LogicalDisk
LabelHasPrefix applies the HasPrefix predicate on the "label" field.
func LabelHasSuffix ¶
func LabelHasSuffix(v string) predicate.LogicalDisk
LabelHasSuffix applies the HasSuffix predicate on the "label" field.
func LabelIn ¶
func LabelIn(vs ...string) predicate.LogicalDisk
LabelIn applies the In predicate on the "label" field.
func LabelLT ¶
func LabelLT(v string) predicate.LogicalDisk
LabelLT applies the LT predicate on the "label" field.
func LabelLTE ¶
func LabelLTE(v string) predicate.LogicalDisk
LabelLTE applies the LTE predicate on the "label" field.
func LabelNEQ ¶
func LabelNEQ(v string) predicate.LogicalDisk
LabelNEQ applies the NEQ predicate on the "label" field.
func LabelNotIn ¶
func LabelNotIn(vs ...string) predicate.LogicalDisk
LabelNotIn applies the NotIn predicate on the "label" field.
func Not ¶
func Not(p predicate.LogicalDisk) predicate.LogicalDisk
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.LogicalDisk) predicate.LogicalDisk
Or groups predicates with the OR operator between them.
func RemainingSpaceInUnits ¶
func RemainingSpaceInUnits(v string) predicate.LogicalDisk
RemainingSpaceInUnits applies equality check predicate on the "remaining_space_in_units" field. It's identical to RemainingSpaceInUnitsEQ.
func RemainingSpaceInUnitsContains ¶
func RemainingSpaceInUnitsContains(v string) predicate.LogicalDisk
RemainingSpaceInUnitsContains applies the Contains predicate on the "remaining_space_in_units" field.
func RemainingSpaceInUnitsContainsFold ¶
func RemainingSpaceInUnitsContainsFold(v string) predicate.LogicalDisk
RemainingSpaceInUnitsContainsFold applies the ContainsFold predicate on the "remaining_space_in_units" field.
func RemainingSpaceInUnitsEQ ¶
func RemainingSpaceInUnitsEQ(v string) predicate.LogicalDisk
RemainingSpaceInUnitsEQ applies the EQ predicate on the "remaining_space_in_units" field.
func RemainingSpaceInUnitsEqualFold ¶
func RemainingSpaceInUnitsEqualFold(v string) predicate.LogicalDisk
RemainingSpaceInUnitsEqualFold applies the EqualFold predicate on the "remaining_space_in_units" field.
func RemainingSpaceInUnitsGT ¶
func RemainingSpaceInUnitsGT(v string) predicate.LogicalDisk
RemainingSpaceInUnitsGT applies the GT predicate on the "remaining_space_in_units" field.
func RemainingSpaceInUnitsGTE ¶
func RemainingSpaceInUnitsGTE(v string) predicate.LogicalDisk
RemainingSpaceInUnitsGTE applies the GTE predicate on the "remaining_space_in_units" field.
func RemainingSpaceInUnitsHasPrefix ¶
func RemainingSpaceInUnitsHasPrefix(v string) predicate.LogicalDisk
RemainingSpaceInUnitsHasPrefix applies the HasPrefix predicate on the "remaining_space_in_units" field.
func RemainingSpaceInUnitsHasSuffix ¶
func RemainingSpaceInUnitsHasSuffix(v string) predicate.LogicalDisk
RemainingSpaceInUnitsHasSuffix applies the HasSuffix predicate on the "remaining_space_in_units" field.
func RemainingSpaceInUnitsIn ¶
func RemainingSpaceInUnitsIn(vs ...string) predicate.LogicalDisk
RemainingSpaceInUnitsIn applies the In predicate on the "remaining_space_in_units" field.
func RemainingSpaceInUnitsIsNil ¶
func RemainingSpaceInUnitsIsNil() predicate.LogicalDisk
RemainingSpaceInUnitsIsNil applies the IsNil predicate on the "remaining_space_in_units" field.
func RemainingSpaceInUnitsLT ¶
func RemainingSpaceInUnitsLT(v string) predicate.LogicalDisk
RemainingSpaceInUnitsLT applies the LT predicate on the "remaining_space_in_units" field.
func RemainingSpaceInUnitsLTE ¶
func RemainingSpaceInUnitsLTE(v string) predicate.LogicalDisk
RemainingSpaceInUnitsLTE applies the LTE predicate on the "remaining_space_in_units" field.
func RemainingSpaceInUnitsNEQ ¶
func RemainingSpaceInUnitsNEQ(v string) predicate.LogicalDisk
RemainingSpaceInUnitsNEQ applies the NEQ predicate on the "remaining_space_in_units" field.
func RemainingSpaceInUnitsNotIn ¶
func RemainingSpaceInUnitsNotIn(vs ...string) predicate.LogicalDisk
RemainingSpaceInUnitsNotIn applies the NotIn predicate on the "remaining_space_in_units" field.
func RemainingSpaceInUnitsNotNil ¶
func RemainingSpaceInUnitsNotNil() predicate.LogicalDisk
RemainingSpaceInUnitsNotNil applies the NotNil predicate on the "remaining_space_in_units" field.
func SizeInUnits ¶
func SizeInUnits(v string) predicate.LogicalDisk
SizeInUnits applies equality check predicate on the "size_in_units" field. It's identical to SizeInUnitsEQ.
func SizeInUnitsContains ¶
func SizeInUnitsContains(v string) predicate.LogicalDisk
SizeInUnitsContains applies the Contains predicate on the "size_in_units" field.
func SizeInUnitsContainsFold ¶
func SizeInUnitsContainsFold(v string) predicate.LogicalDisk
SizeInUnitsContainsFold applies the ContainsFold predicate on the "size_in_units" field.
func SizeInUnitsEQ ¶
func SizeInUnitsEQ(v string) predicate.LogicalDisk
SizeInUnitsEQ applies the EQ predicate on the "size_in_units" field.
func SizeInUnitsEqualFold ¶
func SizeInUnitsEqualFold(v string) predicate.LogicalDisk
SizeInUnitsEqualFold applies the EqualFold predicate on the "size_in_units" field.
func SizeInUnitsGT ¶
func SizeInUnitsGT(v string) predicate.LogicalDisk
SizeInUnitsGT applies the GT predicate on the "size_in_units" field.
func SizeInUnitsGTE ¶
func SizeInUnitsGTE(v string) predicate.LogicalDisk
SizeInUnitsGTE applies the GTE predicate on the "size_in_units" field.
func SizeInUnitsHasPrefix ¶
func SizeInUnitsHasPrefix(v string) predicate.LogicalDisk
SizeInUnitsHasPrefix applies the HasPrefix predicate on the "size_in_units" field.
func SizeInUnitsHasSuffix ¶
func SizeInUnitsHasSuffix(v string) predicate.LogicalDisk
SizeInUnitsHasSuffix applies the HasSuffix predicate on the "size_in_units" field.
func SizeInUnitsIn ¶
func SizeInUnitsIn(vs ...string) predicate.LogicalDisk
SizeInUnitsIn applies the In predicate on the "size_in_units" field.
func SizeInUnitsIsNil ¶
func SizeInUnitsIsNil() predicate.LogicalDisk
SizeInUnitsIsNil applies the IsNil predicate on the "size_in_units" field.
func SizeInUnitsLT ¶
func SizeInUnitsLT(v string) predicate.LogicalDisk
SizeInUnitsLT applies the LT predicate on the "size_in_units" field.
func SizeInUnitsLTE ¶
func SizeInUnitsLTE(v string) predicate.LogicalDisk
SizeInUnitsLTE applies the LTE predicate on the "size_in_units" field.
func SizeInUnitsNEQ ¶
func SizeInUnitsNEQ(v string) predicate.LogicalDisk
SizeInUnitsNEQ applies the NEQ predicate on the "size_in_units" field.
func SizeInUnitsNotIn ¶
func SizeInUnitsNotIn(vs ...string) predicate.LogicalDisk
SizeInUnitsNotIn applies the NotIn predicate on the "size_in_units" field.
func SizeInUnitsNotNil ¶
func SizeInUnitsNotNil() predicate.LogicalDisk
SizeInUnitsNotNil applies the NotNil predicate on the "size_in_units" field.
func Usage ¶
func Usage(v int8) predicate.LogicalDisk
Usage applies equality check predicate on the "usage" field. It's identical to UsageEQ.
func UsageEQ ¶
func UsageEQ(v int8) predicate.LogicalDisk
UsageEQ applies the EQ predicate on the "usage" field.
func UsageGT ¶
func UsageGT(v int8) predicate.LogicalDisk
UsageGT applies the GT predicate on the "usage" field.
func UsageGTE ¶
func UsageGTE(v int8) predicate.LogicalDisk
UsageGTE applies the GTE predicate on the "usage" field.
func UsageIn ¶
func UsageIn(vs ...int8) predicate.LogicalDisk
UsageIn applies the In predicate on the "usage" field.
func UsageLT ¶
func UsageLT(v int8) predicate.LogicalDisk
UsageLT applies the LT predicate on the "usage" field.
func UsageLTE ¶
func UsageLTE(v int8) predicate.LogicalDisk
UsageLTE applies the LTE predicate on the "usage" field.
func UsageNEQ ¶
func UsageNEQ(v int8) predicate.LogicalDisk
UsageNEQ applies the NEQ predicate on the "usage" field.
func UsageNotIn ¶
func UsageNotIn(vs ...int8) predicate.LogicalDisk
UsageNotIn applies the NotIn predicate on the "usage" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func VolumeName ¶
func VolumeName(v string) predicate.LogicalDisk
VolumeName applies equality check predicate on the "volume_name" field. It's identical to VolumeNameEQ.
func VolumeNameContains ¶
func VolumeNameContains(v string) predicate.LogicalDisk
VolumeNameContains applies the Contains predicate on the "volume_name" field.
func VolumeNameContainsFold ¶
func VolumeNameContainsFold(v string) predicate.LogicalDisk
VolumeNameContainsFold applies the ContainsFold predicate on the "volume_name" field.
func VolumeNameEQ ¶
func VolumeNameEQ(v string) predicate.LogicalDisk
VolumeNameEQ applies the EQ predicate on the "volume_name" field.
func VolumeNameEqualFold ¶
func VolumeNameEqualFold(v string) predicate.LogicalDisk
VolumeNameEqualFold applies the EqualFold predicate on the "volume_name" field.
func VolumeNameGT ¶
func VolumeNameGT(v string) predicate.LogicalDisk
VolumeNameGT applies the GT predicate on the "volume_name" field.
func VolumeNameGTE ¶
func VolumeNameGTE(v string) predicate.LogicalDisk
VolumeNameGTE applies the GTE predicate on the "volume_name" field.
func VolumeNameHasPrefix ¶
func VolumeNameHasPrefix(v string) predicate.LogicalDisk
VolumeNameHasPrefix applies the HasPrefix predicate on the "volume_name" field.
func VolumeNameHasSuffix ¶
func VolumeNameHasSuffix(v string) predicate.LogicalDisk
VolumeNameHasSuffix applies the HasSuffix predicate on the "volume_name" field.
func VolumeNameIn ¶
func VolumeNameIn(vs ...string) predicate.LogicalDisk
VolumeNameIn applies the In predicate on the "volume_name" field.
func VolumeNameIsNil ¶
func VolumeNameIsNil() predicate.LogicalDisk
VolumeNameIsNil applies the IsNil predicate on the "volume_name" field.
func VolumeNameLT ¶
func VolumeNameLT(v string) predicate.LogicalDisk
VolumeNameLT applies the LT predicate on the "volume_name" field.
func VolumeNameLTE ¶
func VolumeNameLTE(v string) predicate.LogicalDisk
VolumeNameLTE applies the LTE predicate on the "volume_name" field.
func VolumeNameNEQ ¶
func VolumeNameNEQ(v string) predicate.LogicalDisk
VolumeNameNEQ applies the NEQ predicate on the "volume_name" field.
func VolumeNameNotIn ¶
func VolumeNameNotIn(vs ...string) predicate.LogicalDisk
VolumeNameNotIn applies the NotIn predicate on the "volume_name" field.
func VolumeNameNotNil ¶
func VolumeNameNotNil() predicate.LogicalDisk
VolumeNameNotNil applies the NotNil predicate on the "volume_name" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the LogicalDisk queries.
func ByBitlockerStatus ¶
func ByBitlockerStatus(opts ...sql.OrderTermOption) OrderOption
ByBitlockerStatus orders the results by the bitlocker_status field.
func ByFilesystem ¶
func ByFilesystem(opts ...sql.OrderTermOption) OrderOption
ByFilesystem orders the results by the filesystem field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLabel ¶
func ByLabel(opts ...sql.OrderTermOption) OrderOption
ByLabel orders the results by the label field.
func ByOwnerField ¶
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByRemainingSpaceInUnits ¶
func ByRemainingSpaceInUnits(opts ...sql.OrderTermOption) OrderOption
ByRemainingSpaceInUnits orders the results by the remaining_space_in_units field.
func BySizeInUnits ¶
func BySizeInUnits(opts ...sql.OrderTermOption) OrderOption
BySizeInUnits orders the results by the size_in_units field.
func ByUsage ¶
func ByUsage(opts ...sql.OrderTermOption) OrderOption
ByUsage orders the results by the usage field.
func ByVolumeName ¶
func ByVolumeName(opts ...sql.OrderTermOption) OrderOption
ByVolumeName orders the results by the volume_name field.