Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.HoststorageResource) predicate.HoststorageResource
- func CapacityBytes(v uint64) predicate.HoststorageResource
- func CapacityBytesEQ(v uint64) predicate.HoststorageResource
- func CapacityBytesGT(v uint64) predicate.HoststorageResource
- func CapacityBytesGTE(v uint64) predicate.HoststorageResource
- func CapacityBytesIn(vs ...uint64) predicate.HoststorageResource
- func CapacityBytesIsNil() predicate.HoststorageResource
- func CapacityBytesLT(v uint64) predicate.HoststorageResource
- func CapacityBytesLTE(v uint64) predicate.HoststorageResource
- func CapacityBytesNEQ(v uint64) predicate.HoststorageResource
- func CapacityBytesNotIn(vs ...uint64) predicate.HoststorageResource
- func CapacityBytesNotNil() predicate.HoststorageResource
- func CreatedAt(v string) predicate.HoststorageResource
- func CreatedAtContains(v string) predicate.HoststorageResource
- func CreatedAtContainsFold(v string) predicate.HoststorageResource
- func CreatedAtEQ(v string) predicate.HoststorageResource
- func CreatedAtEqualFold(v string) predicate.HoststorageResource
- func CreatedAtGT(v string) predicate.HoststorageResource
- func CreatedAtGTE(v string) predicate.HoststorageResource
- func CreatedAtHasPrefix(v string) predicate.HoststorageResource
- func CreatedAtHasSuffix(v string) predicate.HoststorageResource
- func CreatedAtIn(vs ...string) predicate.HoststorageResource
- func CreatedAtLT(v string) predicate.HoststorageResource
- func CreatedAtLTE(v string) predicate.HoststorageResource
- func CreatedAtNEQ(v string) predicate.HoststorageResource
- func CreatedAtNotIn(vs ...string) predicate.HoststorageResource
- func DeviceName(v string) predicate.HoststorageResource
- func DeviceNameContains(v string) predicate.HoststorageResource
- func DeviceNameContainsFold(v string) predicate.HoststorageResource
- func DeviceNameEQ(v string) predicate.HoststorageResource
- func DeviceNameEqualFold(v string) predicate.HoststorageResource
- func DeviceNameGT(v string) predicate.HoststorageResource
- func DeviceNameGTE(v string) predicate.HoststorageResource
- func DeviceNameHasPrefix(v string) predicate.HoststorageResource
- func DeviceNameHasSuffix(v string) predicate.HoststorageResource
- func DeviceNameIn(vs ...string) predicate.HoststorageResource
- func DeviceNameIsNil() predicate.HoststorageResource
- func DeviceNameLT(v string) predicate.HoststorageResource
- func DeviceNameLTE(v string) predicate.HoststorageResource
- func DeviceNameNEQ(v string) predicate.HoststorageResource
- func DeviceNameNotIn(vs ...string) predicate.HoststorageResource
- func DeviceNameNotNil() predicate.HoststorageResource
- func HasHost() predicate.HoststorageResource
- func HasHostWith(preds ...predicate.HostResource) predicate.HoststorageResource
- func ID(id int) predicate.HoststorageResource
- func IDEQ(id int) predicate.HoststorageResource
- func IDGT(id int) predicate.HoststorageResource
- func IDGTE(id int) predicate.HoststorageResource
- func IDIn(ids ...int) predicate.HoststorageResource
- func IDLT(id int) predicate.HoststorageResource
- func IDLTE(id int) predicate.HoststorageResource
- func IDNEQ(id int) predicate.HoststorageResource
- func IDNotIn(ids ...int) predicate.HoststorageResource
- func Kind(v string) predicate.HoststorageResource
- func KindContains(v string) predicate.HoststorageResource
- func KindContainsFold(v string) predicate.HoststorageResource
- func KindEQ(v string) predicate.HoststorageResource
- func KindEqualFold(v string) predicate.HoststorageResource
- func KindGT(v string) predicate.HoststorageResource
- func KindGTE(v string) predicate.HoststorageResource
- func KindHasPrefix(v string) predicate.HoststorageResource
- func KindHasSuffix(v string) predicate.HoststorageResource
- func KindIn(vs ...string) predicate.HoststorageResource
- func KindIsNil() predicate.HoststorageResource
- func KindLT(v string) predicate.HoststorageResource
- func KindLTE(v string) predicate.HoststorageResource
- func KindNEQ(v string) predicate.HoststorageResource
- func KindNotIn(vs ...string) predicate.HoststorageResource
- func KindNotNil() predicate.HoststorageResource
- func Model(v string) predicate.HoststorageResource
- func ModelContains(v string) predicate.HoststorageResource
- func ModelContainsFold(v string) predicate.HoststorageResource
- func ModelEQ(v string) predicate.HoststorageResource
- func ModelEqualFold(v string) predicate.HoststorageResource
- func ModelGT(v string) predicate.HoststorageResource
- func ModelGTE(v string) predicate.HoststorageResource
- func ModelHasPrefix(v string) predicate.HoststorageResource
- func ModelHasSuffix(v string) predicate.HoststorageResource
- func ModelIn(vs ...string) predicate.HoststorageResource
- func ModelIsNil() predicate.HoststorageResource
- func ModelLT(v string) predicate.HoststorageResource
- func ModelLTE(v string) predicate.HoststorageResource
- func ModelNEQ(v string) predicate.HoststorageResource
- func ModelNotIn(vs ...string) predicate.HoststorageResource
- func ModelNotNil() predicate.HoststorageResource
- func Not(p predicate.HoststorageResource) predicate.HoststorageResource
- func Or(predicates ...predicate.HoststorageResource) predicate.HoststorageResource
- func ProviderStatus(v string) predicate.HoststorageResource
- func ProviderStatusContains(v string) predicate.HoststorageResource
- func ProviderStatusContainsFold(v string) predicate.HoststorageResource
- func ProviderStatusEQ(v string) predicate.HoststorageResource
- func ProviderStatusEqualFold(v string) predicate.HoststorageResource
- func ProviderStatusGT(v string) predicate.HoststorageResource
- func ProviderStatusGTE(v string) predicate.HoststorageResource
- func ProviderStatusHasPrefix(v string) predicate.HoststorageResource
- func ProviderStatusHasSuffix(v string) predicate.HoststorageResource
- func ProviderStatusIn(vs ...string) predicate.HoststorageResource
- func ProviderStatusIsNil() predicate.HoststorageResource
- func ProviderStatusLT(v string) predicate.HoststorageResource
- func ProviderStatusLTE(v string) predicate.HoststorageResource
- func ProviderStatusNEQ(v string) predicate.HoststorageResource
- func ProviderStatusNotIn(vs ...string) predicate.HoststorageResource
- func ProviderStatusNotNil() predicate.HoststorageResource
- func ResourceID(v string) predicate.HoststorageResource
- func ResourceIDContains(v string) predicate.HoststorageResource
- func ResourceIDContainsFold(v string) predicate.HoststorageResource
- func ResourceIDEQ(v string) predicate.HoststorageResource
- func ResourceIDEqualFold(v string) predicate.HoststorageResource
- func ResourceIDGT(v string) predicate.HoststorageResource
- func ResourceIDGTE(v string) predicate.HoststorageResource
- func ResourceIDHasPrefix(v string) predicate.HoststorageResource
- func ResourceIDHasSuffix(v string) predicate.HoststorageResource
- func ResourceIDIn(vs ...string) predicate.HoststorageResource
- func ResourceIDLT(v string) predicate.HoststorageResource
- func ResourceIDLTE(v string) predicate.HoststorageResource
- func ResourceIDNEQ(v string) predicate.HoststorageResource
- func ResourceIDNotIn(vs ...string) predicate.HoststorageResource
- func Serial(v string) predicate.HoststorageResource
- func SerialContains(v string) predicate.HoststorageResource
- func SerialContainsFold(v string) predicate.HoststorageResource
- func SerialEQ(v string) predicate.HoststorageResource
- func SerialEqualFold(v string) predicate.HoststorageResource
- func SerialGT(v string) predicate.HoststorageResource
- func SerialGTE(v string) predicate.HoststorageResource
- func SerialHasPrefix(v string) predicate.HoststorageResource
- func SerialHasSuffix(v string) predicate.HoststorageResource
- func SerialIn(vs ...string) predicate.HoststorageResource
- func SerialIsNil() predicate.HoststorageResource
- func SerialLT(v string) predicate.HoststorageResource
- func SerialLTE(v string) predicate.HoststorageResource
- func SerialNEQ(v string) predicate.HoststorageResource
- func SerialNotIn(vs ...string) predicate.HoststorageResource
- func SerialNotNil() predicate.HoststorageResource
- func TenantID(v string) predicate.HoststorageResource
- func TenantIDContains(v string) predicate.HoststorageResource
- func TenantIDContainsFold(v string) predicate.HoststorageResource
- func TenantIDEQ(v string) predicate.HoststorageResource
- func TenantIDEqualFold(v string) predicate.HoststorageResource
- func TenantIDGT(v string) predicate.HoststorageResource
- func TenantIDGTE(v string) predicate.HoststorageResource
- func TenantIDHasPrefix(v string) predicate.HoststorageResource
- func TenantIDHasSuffix(v string) predicate.HoststorageResource
- func TenantIDIn(vs ...string) predicate.HoststorageResource
- func TenantIDLT(v string) predicate.HoststorageResource
- func TenantIDLTE(v string) predicate.HoststorageResource
- func TenantIDNEQ(v string) predicate.HoststorageResource
- func TenantIDNotIn(vs ...string) predicate.HoststorageResource
- func UpdatedAt(v string) predicate.HoststorageResource
- func UpdatedAtContains(v string) predicate.HoststorageResource
- func UpdatedAtContainsFold(v string) predicate.HoststorageResource
- func UpdatedAtEQ(v string) predicate.HoststorageResource
- func UpdatedAtEqualFold(v string) predicate.HoststorageResource
- func UpdatedAtGT(v string) predicate.HoststorageResource
- func UpdatedAtGTE(v string) predicate.HoststorageResource
- func UpdatedAtHasPrefix(v string) predicate.HoststorageResource
- func UpdatedAtHasSuffix(v string) predicate.HoststorageResource
- func UpdatedAtIn(vs ...string) predicate.HoststorageResource
- func UpdatedAtLT(v string) predicate.HoststorageResource
- func UpdatedAtLTE(v string) predicate.HoststorageResource
- func UpdatedAtNEQ(v string) predicate.HoststorageResource
- func UpdatedAtNotIn(vs ...string) predicate.HoststorageResource
- func ValidColumn(column string) bool
- func Vendor(v string) predicate.HoststorageResource
- func VendorContains(v string) predicate.HoststorageResource
- func VendorContainsFold(v string) predicate.HoststorageResource
- func VendorEQ(v string) predicate.HoststorageResource
- func VendorEqualFold(v string) predicate.HoststorageResource
- func VendorGT(v string) predicate.HoststorageResource
- func VendorGTE(v string) predicate.HoststorageResource
- func VendorHasPrefix(v string) predicate.HoststorageResource
- func VendorHasSuffix(v string) predicate.HoststorageResource
- func VendorIn(vs ...string) predicate.HoststorageResource
- func VendorIsNil() predicate.HoststorageResource
- func VendorLT(v string) predicate.HoststorageResource
- func VendorLTE(v string) predicate.HoststorageResource
- func VendorNEQ(v string) predicate.HoststorageResource
- func VendorNotIn(vs ...string) predicate.HoststorageResource
- func VendorNotNil() predicate.HoststorageResource
- func Wwid(v string) predicate.HoststorageResource
- func WwidContains(v string) predicate.HoststorageResource
- func WwidContainsFold(v string) predicate.HoststorageResource
- func WwidEQ(v string) predicate.HoststorageResource
- func WwidEqualFold(v string) predicate.HoststorageResource
- func WwidGT(v string) predicate.HoststorageResource
- func WwidGTE(v string) predicate.HoststorageResource
- func WwidHasPrefix(v string) predicate.HoststorageResource
- func WwidHasSuffix(v string) predicate.HoststorageResource
- func WwidIn(vs ...string) predicate.HoststorageResource
- func WwidIsNil() predicate.HoststorageResource
- func WwidLT(v string) predicate.HoststorageResource
- func WwidLTE(v string) predicate.HoststorageResource
- func WwidNEQ(v string) predicate.HoststorageResource
- func WwidNotIn(vs ...string) predicate.HoststorageResource
- func WwidNotNil() predicate.HoststorageResource
- type OrderOption
- func ByCapacityBytes(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeviceName(opts ...sql.OrderTermOption) OrderOption
- func ByHostField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByKind(opts ...sql.OrderTermOption) OrderOption
- func ByModel(opts ...sql.OrderTermOption) OrderOption
- func ByProviderStatus(opts ...sql.OrderTermOption) OrderOption
- func ByResourceID(opts ...sql.OrderTermOption) OrderOption
- func BySerial(opts ...sql.OrderTermOption) OrderOption
- func ByTenantID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByVendor(opts ...sql.OrderTermOption) OrderOption
- func ByWwid(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the hoststorageresource type in the database. Label = "hoststorage_resource" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldResourceID holds the string denoting the resource_id field in the database. FieldResourceID = "resource_id" // FieldKind holds the string denoting the kind field in the database. FieldKind = "kind" // FieldProviderStatus holds the string denoting the provider_status field in the database. FieldProviderStatus = "provider_status" // FieldWwid holds the string denoting the wwid field in the database. FieldWwid = "wwid" // FieldSerial holds the string denoting the serial field in the database. FieldSerial = "serial" // FieldVendor holds the string denoting the vendor field in the database. FieldVendor = "vendor" // FieldModel holds the string denoting the model field in the database. FieldModel = "model" // FieldCapacityBytes holds the string denoting the capacity_bytes field in the database. FieldCapacityBytes = "capacity_bytes" // FieldDeviceName holds the string denoting the device_name field in the database. FieldDeviceName = "device_name" // FieldTenantID holds the string denoting the tenant_id field in the database. FieldTenantID = "tenant_id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // EdgeHost holds the string denoting the host edge name in mutations. EdgeHost = "host" // Table holds the table name of the hoststorageresource in the database. Table = "hoststorage_resources" // HostTable is the table that holds the host relation/edge. HostTable = "hoststorage_resources" // HostInverseTable is the table name for the HostResource entity. // It exists in this package in order to avoid circular dependency with the "hostresource" package. HostInverseTable = "host_resources" // HostColumn is the table column denoting the host relation/edge. HostColumn = "hoststorage_resource_host" )
Variables ¶
var Columns = []string{ FieldID, FieldResourceID, FieldKind, FieldProviderStatus, FieldWwid, FieldSerial, FieldVendor, FieldModel, FieldCapacityBytes, FieldDeviceName, FieldTenantID, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for hoststorageresource fields.
var ForeignKeys = []string{
"hoststorage_resource_host",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "hoststorage_resources" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.HoststorageResource) predicate.HoststorageResource
And groups predicates with the AND operator between them.
func CapacityBytes ¶
func CapacityBytes(v uint64) predicate.HoststorageResource
CapacityBytes applies equality check predicate on the "capacity_bytes" field. It's identical to CapacityBytesEQ.
func CapacityBytesEQ ¶
func CapacityBytesEQ(v uint64) predicate.HoststorageResource
CapacityBytesEQ applies the EQ predicate on the "capacity_bytes" field.
func CapacityBytesGT ¶
func CapacityBytesGT(v uint64) predicate.HoststorageResource
CapacityBytesGT applies the GT predicate on the "capacity_bytes" field.
func CapacityBytesGTE ¶
func CapacityBytesGTE(v uint64) predicate.HoststorageResource
CapacityBytesGTE applies the GTE predicate on the "capacity_bytes" field.
func CapacityBytesIn ¶
func CapacityBytesIn(vs ...uint64) predicate.HoststorageResource
CapacityBytesIn applies the In predicate on the "capacity_bytes" field.
func CapacityBytesIsNil ¶
func CapacityBytesIsNil() predicate.HoststorageResource
CapacityBytesIsNil applies the IsNil predicate on the "capacity_bytes" field.
func CapacityBytesLT ¶
func CapacityBytesLT(v uint64) predicate.HoststorageResource
CapacityBytesLT applies the LT predicate on the "capacity_bytes" field.
func CapacityBytesLTE ¶
func CapacityBytesLTE(v uint64) predicate.HoststorageResource
CapacityBytesLTE applies the LTE predicate on the "capacity_bytes" field.
func CapacityBytesNEQ ¶
func CapacityBytesNEQ(v uint64) predicate.HoststorageResource
CapacityBytesNEQ applies the NEQ predicate on the "capacity_bytes" field.
func CapacityBytesNotIn ¶
func CapacityBytesNotIn(vs ...uint64) predicate.HoststorageResource
CapacityBytesNotIn applies the NotIn predicate on the "capacity_bytes" field.
func CapacityBytesNotNil ¶
func CapacityBytesNotNil() predicate.HoststorageResource
CapacityBytesNotNil applies the NotNil predicate on the "capacity_bytes" field.
func CreatedAt ¶
func CreatedAt(v string) predicate.HoststorageResource
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtContains ¶
func CreatedAtContains(v string) predicate.HoststorageResource
CreatedAtContains applies the Contains predicate on the "created_at" field.
func CreatedAtContainsFold ¶
func CreatedAtContainsFold(v string) predicate.HoststorageResource
CreatedAtContainsFold applies the ContainsFold predicate on the "created_at" field.
func CreatedAtEQ ¶
func CreatedAtEQ(v string) predicate.HoststorageResource
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtEqualFold ¶
func CreatedAtEqualFold(v string) predicate.HoststorageResource
CreatedAtEqualFold applies the EqualFold predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v string) predicate.HoststorageResource
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v string) predicate.HoststorageResource
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtHasPrefix ¶
func CreatedAtHasPrefix(v string) predicate.HoststorageResource
CreatedAtHasPrefix applies the HasPrefix predicate on the "created_at" field.
func CreatedAtHasSuffix ¶
func CreatedAtHasSuffix(v string) predicate.HoststorageResource
CreatedAtHasSuffix applies the HasSuffix predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...string) predicate.HoststorageResource
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v string) predicate.HoststorageResource
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v string) predicate.HoststorageResource
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v string) predicate.HoststorageResource
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...string) predicate.HoststorageResource
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeviceName ¶
func DeviceName(v string) predicate.HoststorageResource
DeviceName applies equality check predicate on the "device_name" field. It's identical to DeviceNameEQ.
func DeviceNameContains ¶
func DeviceNameContains(v string) predicate.HoststorageResource
DeviceNameContains applies the Contains predicate on the "device_name" field.
func DeviceNameContainsFold ¶
func DeviceNameContainsFold(v string) predicate.HoststorageResource
DeviceNameContainsFold applies the ContainsFold predicate on the "device_name" field.
func DeviceNameEQ ¶
func DeviceNameEQ(v string) predicate.HoststorageResource
DeviceNameEQ applies the EQ predicate on the "device_name" field.
func DeviceNameEqualFold ¶
func DeviceNameEqualFold(v string) predicate.HoststorageResource
DeviceNameEqualFold applies the EqualFold predicate on the "device_name" field.
func DeviceNameGT ¶
func DeviceNameGT(v string) predicate.HoststorageResource
DeviceNameGT applies the GT predicate on the "device_name" field.
func DeviceNameGTE ¶
func DeviceNameGTE(v string) predicate.HoststorageResource
DeviceNameGTE applies the GTE predicate on the "device_name" field.
func DeviceNameHasPrefix ¶
func DeviceNameHasPrefix(v string) predicate.HoststorageResource
DeviceNameHasPrefix applies the HasPrefix predicate on the "device_name" field.
func DeviceNameHasSuffix ¶
func DeviceNameHasSuffix(v string) predicate.HoststorageResource
DeviceNameHasSuffix applies the HasSuffix predicate on the "device_name" field.
func DeviceNameIn ¶
func DeviceNameIn(vs ...string) predicate.HoststorageResource
DeviceNameIn applies the In predicate on the "device_name" field.
func DeviceNameIsNil ¶
func DeviceNameIsNil() predicate.HoststorageResource
DeviceNameIsNil applies the IsNil predicate on the "device_name" field.
func DeviceNameLT ¶
func DeviceNameLT(v string) predicate.HoststorageResource
DeviceNameLT applies the LT predicate on the "device_name" field.
func DeviceNameLTE ¶
func DeviceNameLTE(v string) predicate.HoststorageResource
DeviceNameLTE applies the LTE predicate on the "device_name" field.
func DeviceNameNEQ ¶
func DeviceNameNEQ(v string) predicate.HoststorageResource
DeviceNameNEQ applies the NEQ predicate on the "device_name" field.
func DeviceNameNotIn ¶
func DeviceNameNotIn(vs ...string) predicate.HoststorageResource
DeviceNameNotIn applies the NotIn predicate on the "device_name" field.
func DeviceNameNotNil ¶
func DeviceNameNotNil() predicate.HoststorageResource
DeviceNameNotNil applies the NotNil predicate on the "device_name" field.
func HasHost ¶
func HasHost() predicate.HoststorageResource
HasHost applies the HasEdge predicate on the "host" edge.
func HasHostWith ¶
func HasHostWith(preds ...predicate.HostResource) predicate.HoststorageResource
HasHostWith applies the HasEdge predicate on the "host" edge with a given conditions (other predicates).
func ID ¶
func ID(id int) predicate.HoststorageResource
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int) predicate.HoststorageResource
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.HoststorageResource
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.HoststorageResource
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.HoststorageResource
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.HoststorageResource
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.HoststorageResource
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.HoststorageResource
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.HoststorageResource
IDNotIn applies the NotIn predicate on the ID field.
func Kind ¶
func Kind(v string) predicate.HoststorageResource
Kind applies equality check predicate on the "kind" field. It's identical to KindEQ.
func KindContains ¶
func KindContains(v string) predicate.HoststorageResource
KindContains applies the Contains predicate on the "kind" field.
func KindContainsFold ¶
func KindContainsFold(v string) predicate.HoststorageResource
KindContainsFold applies the ContainsFold predicate on the "kind" field.
func KindEQ ¶
func KindEQ(v string) predicate.HoststorageResource
KindEQ applies the EQ predicate on the "kind" field.
func KindEqualFold ¶
func KindEqualFold(v string) predicate.HoststorageResource
KindEqualFold applies the EqualFold predicate on the "kind" field.
func KindGT ¶
func KindGT(v string) predicate.HoststorageResource
KindGT applies the GT predicate on the "kind" field.
func KindGTE ¶
func KindGTE(v string) predicate.HoststorageResource
KindGTE applies the GTE predicate on the "kind" field.
func KindHasPrefix ¶
func KindHasPrefix(v string) predicate.HoststorageResource
KindHasPrefix applies the HasPrefix predicate on the "kind" field.
func KindHasSuffix ¶
func KindHasSuffix(v string) predicate.HoststorageResource
KindHasSuffix applies the HasSuffix predicate on the "kind" field.
func KindIn ¶
func KindIn(vs ...string) predicate.HoststorageResource
KindIn applies the In predicate on the "kind" field.
func KindIsNil ¶
func KindIsNil() predicate.HoststorageResource
KindIsNil applies the IsNil predicate on the "kind" field.
func KindLT ¶
func KindLT(v string) predicate.HoststorageResource
KindLT applies the LT predicate on the "kind" field.
func KindLTE ¶
func KindLTE(v string) predicate.HoststorageResource
KindLTE applies the LTE predicate on the "kind" field.
func KindNEQ ¶
func KindNEQ(v string) predicate.HoststorageResource
KindNEQ applies the NEQ predicate on the "kind" field.
func KindNotIn ¶
func KindNotIn(vs ...string) predicate.HoststorageResource
KindNotIn applies the NotIn predicate on the "kind" field.
func KindNotNil ¶
func KindNotNil() predicate.HoststorageResource
KindNotNil applies the NotNil predicate on the "kind" field.
func Model ¶
func Model(v string) predicate.HoststorageResource
Model applies equality check predicate on the "model" field. It's identical to ModelEQ.
func ModelContains ¶
func ModelContains(v string) predicate.HoststorageResource
ModelContains applies the Contains predicate on the "model" field.
func ModelContainsFold ¶
func ModelContainsFold(v string) predicate.HoststorageResource
ModelContainsFold applies the ContainsFold predicate on the "model" field.
func ModelEQ ¶
func ModelEQ(v string) predicate.HoststorageResource
ModelEQ applies the EQ predicate on the "model" field.
func ModelEqualFold ¶
func ModelEqualFold(v string) predicate.HoststorageResource
ModelEqualFold applies the EqualFold predicate on the "model" field.
func ModelGT ¶
func ModelGT(v string) predicate.HoststorageResource
ModelGT applies the GT predicate on the "model" field.
func ModelGTE ¶
func ModelGTE(v string) predicate.HoststorageResource
ModelGTE applies the GTE predicate on the "model" field.
func ModelHasPrefix ¶
func ModelHasPrefix(v string) predicate.HoststorageResource
ModelHasPrefix applies the HasPrefix predicate on the "model" field.
func ModelHasSuffix ¶
func ModelHasSuffix(v string) predicate.HoststorageResource
ModelHasSuffix applies the HasSuffix predicate on the "model" field.
func ModelIn ¶
func ModelIn(vs ...string) predicate.HoststorageResource
ModelIn applies the In predicate on the "model" field.
func ModelIsNil ¶
func ModelIsNil() predicate.HoststorageResource
ModelIsNil applies the IsNil predicate on the "model" field.
func ModelLT ¶
func ModelLT(v string) predicate.HoststorageResource
ModelLT applies the LT predicate on the "model" field.
func ModelLTE ¶
func ModelLTE(v string) predicate.HoststorageResource
ModelLTE applies the LTE predicate on the "model" field.
func ModelNEQ ¶
func ModelNEQ(v string) predicate.HoststorageResource
ModelNEQ applies the NEQ predicate on the "model" field.
func ModelNotIn ¶
func ModelNotIn(vs ...string) predicate.HoststorageResource
ModelNotIn applies the NotIn predicate on the "model" field.
func ModelNotNil ¶
func ModelNotNil() predicate.HoststorageResource
ModelNotNil applies the NotNil predicate on the "model" field.
func Not ¶
func Not(p predicate.HoststorageResource) predicate.HoststorageResource
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.HoststorageResource) predicate.HoststorageResource
Or groups predicates with the OR operator between them.
func ProviderStatus ¶
func ProviderStatus(v string) predicate.HoststorageResource
ProviderStatus applies equality check predicate on the "provider_status" field. It's identical to ProviderStatusEQ.
func ProviderStatusContains ¶
func ProviderStatusContains(v string) predicate.HoststorageResource
ProviderStatusContains applies the Contains predicate on the "provider_status" field.
func ProviderStatusContainsFold ¶
func ProviderStatusContainsFold(v string) predicate.HoststorageResource
ProviderStatusContainsFold applies the ContainsFold predicate on the "provider_status" field.
func ProviderStatusEQ ¶
func ProviderStatusEQ(v string) predicate.HoststorageResource
ProviderStatusEQ applies the EQ predicate on the "provider_status" field.
func ProviderStatusEqualFold ¶
func ProviderStatusEqualFold(v string) predicate.HoststorageResource
ProviderStatusEqualFold applies the EqualFold predicate on the "provider_status" field.
func ProviderStatusGT ¶
func ProviderStatusGT(v string) predicate.HoststorageResource
ProviderStatusGT applies the GT predicate on the "provider_status" field.
func ProviderStatusGTE ¶
func ProviderStatusGTE(v string) predicate.HoststorageResource
ProviderStatusGTE applies the GTE predicate on the "provider_status" field.
func ProviderStatusHasPrefix ¶
func ProviderStatusHasPrefix(v string) predicate.HoststorageResource
ProviderStatusHasPrefix applies the HasPrefix predicate on the "provider_status" field.
func ProviderStatusHasSuffix ¶
func ProviderStatusHasSuffix(v string) predicate.HoststorageResource
ProviderStatusHasSuffix applies the HasSuffix predicate on the "provider_status" field.
func ProviderStatusIn ¶
func ProviderStatusIn(vs ...string) predicate.HoststorageResource
ProviderStatusIn applies the In predicate on the "provider_status" field.
func ProviderStatusIsNil ¶
func ProviderStatusIsNil() predicate.HoststorageResource
ProviderStatusIsNil applies the IsNil predicate on the "provider_status" field.
func ProviderStatusLT ¶
func ProviderStatusLT(v string) predicate.HoststorageResource
ProviderStatusLT applies the LT predicate on the "provider_status" field.
func ProviderStatusLTE ¶
func ProviderStatusLTE(v string) predicate.HoststorageResource
ProviderStatusLTE applies the LTE predicate on the "provider_status" field.
func ProviderStatusNEQ ¶
func ProviderStatusNEQ(v string) predicate.HoststorageResource
ProviderStatusNEQ applies the NEQ predicate on the "provider_status" field.
func ProviderStatusNotIn ¶
func ProviderStatusNotIn(vs ...string) predicate.HoststorageResource
ProviderStatusNotIn applies the NotIn predicate on the "provider_status" field.
func ProviderStatusNotNil ¶
func ProviderStatusNotNil() predicate.HoststorageResource
ProviderStatusNotNil applies the NotNil predicate on the "provider_status" field.
func ResourceID ¶
func ResourceID(v string) predicate.HoststorageResource
ResourceID applies equality check predicate on the "resource_id" field. It's identical to ResourceIDEQ.
func ResourceIDContains ¶
func ResourceIDContains(v string) predicate.HoststorageResource
ResourceIDContains applies the Contains predicate on the "resource_id" field.
func ResourceIDContainsFold ¶
func ResourceIDContainsFold(v string) predicate.HoststorageResource
ResourceIDContainsFold applies the ContainsFold predicate on the "resource_id" field.
func ResourceIDEQ ¶
func ResourceIDEQ(v string) predicate.HoststorageResource
ResourceIDEQ applies the EQ predicate on the "resource_id" field.
func ResourceIDEqualFold ¶
func ResourceIDEqualFold(v string) predicate.HoststorageResource
ResourceIDEqualFold applies the EqualFold predicate on the "resource_id" field.
func ResourceIDGT ¶
func ResourceIDGT(v string) predicate.HoststorageResource
ResourceIDGT applies the GT predicate on the "resource_id" field.
func ResourceIDGTE ¶
func ResourceIDGTE(v string) predicate.HoststorageResource
ResourceIDGTE applies the GTE predicate on the "resource_id" field.
func ResourceIDHasPrefix ¶
func ResourceIDHasPrefix(v string) predicate.HoststorageResource
ResourceIDHasPrefix applies the HasPrefix predicate on the "resource_id" field.
func ResourceIDHasSuffix ¶
func ResourceIDHasSuffix(v string) predicate.HoststorageResource
ResourceIDHasSuffix applies the HasSuffix predicate on the "resource_id" field.
func ResourceIDIn ¶
func ResourceIDIn(vs ...string) predicate.HoststorageResource
ResourceIDIn applies the In predicate on the "resource_id" field.
func ResourceIDLT ¶
func ResourceIDLT(v string) predicate.HoststorageResource
ResourceIDLT applies the LT predicate on the "resource_id" field.
func ResourceIDLTE ¶
func ResourceIDLTE(v string) predicate.HoststorageResource
ResourceIDLTE applies the LTE predicate on the "resource_id" field.
func ResourceIDNEQ ¶
func ResourceIDNEQ(v string) predicate.HoststorageResource
ResourceIDNEQ applies the NEQ predicate on the "resource_id" field.
func ResourceIDNotIn ¶
func ResourceIDNotIn(vs ...string) predicate.HoststorageResource
ResourceIDNotIn applies the NotIn predicate on the "resource_id" field.
func Serial ¶
func Serial(v string) predicate.HoststorageResource
Serial applies equality check predicate on the "serial" field. It's identical to SerialEQ.
func SerialContains ¶
func SerialContains(v string) predicate.HoststorageResource
SerialContains applies the Contains predicate on the "serial" field.
func SerialContainsFold ¶
func SerialContainsFold(v string) predicate.HoststorageResource
SerialContainsFold applies the ContainsFold predicate on the "serial" field.
func SerialEQ ¶
func SerialEQ(v string) predicate.HoststorageResource
SerialEQ applies the EQ predicate on the "serial" field.
func SerialEqualFold ¶
func SerialEqualFold(v string) predicate.HoststorageResource
SerialEqualFold applies the EqualFold predicate on the "serial" field.
func SerialGT ¶
func SerialGT(v string) predicate.HoststorageResource
SerialGT applies the GT predicate on the "serial" field.
func SerialGTE ¶
func SerialGTE(v string) predicate.HoststorageResource
SerialGTE applies the GTE predicate on the "serial" field.
func SerialHasPrefix ¶
func SerialHasPrefix(v string) predicate.HoststorageResource
SerialHasPrefix applies the HasPrefix predicate on the "serial" field.
func SerialHasSuffix ¶
func SerialHasSuffix(v string) predicate.HoststorageResource
SerialHasSuffix applies the HasSuffix predicate on the "serial" field.
func SerialIn ¶
func SerialIn(vs ...string) predicate.HoststorageResource
SerialIn applies the In predicate on the "serial" field.
func SerialIsNil ¶
func SerialIsNil() predicate.HoststorageResource
SerialIsNil applies the IsNil predicate on the "serial" field.
func SerialLT ¶
func SerialLT(v string) predicate.HoststorageResource
SerialLT applies the LT predicate on the "serial" field.
func SerialLTE ¶
func SerialLTE(v string) predicate.HoststorageResource
SerialLTE applies the LTE predicate on the "serial" field.
func SerialNEQ ¶
func SerialNEQ(v string) predicate.HoststorageResource
SerialNEQ applies the NEQ predicate on the "serial" field.
func SerialNotIn ¶
func SerialNotIn(vs ...string) predicate.HoststorageResource
SerialNotIn applies the NotIn predicate on the "serial" field.
func SerialNotNil ¶
func SerialNotNil() predicate.HoststorageResource
SerialNotNil applies the NotNil predicate on the "serial" field.
func TenantID ¶
func TenantID(v string) predicate.HoststorageResource
TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.
func TenantIDContains ¶
func TenantIDContains(v string) predicate.HoststorageResource
TenantIDContains applies the Contains predicate on the "tenant_id" field.
func TenantIDContainsFold ¶
func TenantIDContainsFold(v string) predicate.HoststorageResource
TenantIDContainsFold applies the ContainsFold predicate on the "tenant_id" field.
func TenantIDEQ ¶
func TenantIDEQ(v string) predicate.HoststorageResource
TenantIDEQ applies the EQ predicate on the "tenant_id" field.
func TenantIDEqualFold ¶
func TenantIDEqualFold(v string) predicate.HoststorageResource
TenantIDEqualFold applies the EqualFold predicate on the "tenant_id" field.
func TenantIDGT ¶
func TenantIDGT(v string) predicate.HoststorageResource
TenantIDGT applies the GT predicate on the "tenant_id" field.
func TenantIDGTE ¶
func TenantIDGTE(v string) predicate.HoststorageResource
TenantIDGTE applies the GTE predicate on the "tenant_id" field.
func TenantIDHasPrefix ¶
func TenantIDHasPrefix(v string) predicate.HoststorageResource
TenantIDHasPrefix applies the HasPrefix predicate on the "tenant_id" field.
func TenantIDHasSuffix ¶
func TenantIDHasSuffix(v string) predicate.HoststorageResource
TenantIDHasSuffix applies the HasSuffix predicate on the "tenant_id" field.
func TenantIDIn ¶
func TenantIDIn(vs ...string) predicate.HoststorageResource
TenantIDIn applies the In predicate on the "tenant_id" field.
func TenantIDLT ¶
func TenantIDLT(v string) predicate.HoststorageResource
TenantIDLT applies the LT predicate on the "tenant_id" field.
func TenantIDLTE ¶
func TenantIDLTE(v string) predicate.HoststorageResource
TenantIDLTE applies the LTE predicate on the "tenant_id" field.
func TenantIDNEQ ¶
func TenantIDNEQ(v string) predicate.HoststorageResource
TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.
func TenantIDNotIn ¶
func TenantIDNotIn(vs ...string) predicate.HoststorageResource
TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.
func UpdatedAt ¶
func UpdatedAt(v string) predicate.HoststorageResource
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtContains ¶
func UpdatedAtContains(v string) predicate.HoststorageResource
UpdatedAtContains applies the Contains predicate on the "updated_at" field.
func UpdatedAtContainsFold ¶
func UpdatedAtContainsFold(v string) predicate.HoststorageResource
UpdatedAtContainsFold applies the ContainsFold predicate on the "updated_at" field.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v string) predicate.HoststorageResource
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtEqualFold ¶
func UpdatedAtEqualFold(v string) predicate.HoststorageResource
UpdatedAtEqualFold applies the EqualFold predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v string) predicate.HoststorageResource
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v string) predicate.HoststorageResource
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtHasPrefix ¶
func UpdatedAtHasPrefix(v string) predicate.HoststorageResource
UpdatedAtHasPrefix applies the HasPrefix predicate on the "updated_at" field.
func UpdatedAtHasSuffix ¶
func UpdatedAtHasSuffix(v string) predicate.HoststorageResource
UpdatedAtHasSuffix applies the HasSuffix predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...string) predicate.HoststorageResource
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v string) predicate.HoststorageResource
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v string) predicate.HoststorageResource
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v string) predicate.HoststorageResource
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...string) predicate.HoststorageResource
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Vendor ¶
func Vendor(v string) predicate.HoststorageResource
Vendor applies equality check predicate on the "vendor" field. It's identical to VendorEQ.
func VendorContains ¶
func VendorContains(v string) predicate.HoststorageResource
VendorContains applies the Contains predicate on the "vendor" field.
func VendorContainsFold ¶
func VendorContainsFold(v string) predicate.HoststorageResource
VendorContainsFold applies the ContainsFold predicate on the "vendor" field.
func VendorEQ ¶
func VendorEQ(v string) predicate.HoststorageResource
VendorEQ applies the EQ predicate on the "vendor" field.
func VendorEqualFold ¶
func VendorEqualFold(v string) predicate.HoststorageResource
VendorEqualFold applies the EqualFold predicate on the "vendor" field.
func VendorGT ¶
func VendorGT(v string) predicate.HoststorageResource
VendorGT applies the GT predicate on the "vendor" field.
func VendorGTE ¶
func VendorGTE(v string) predicate.HoststorageResource
VendorGTE applies the GTE predicate on the "vendor" field.
func VendorHasPrefix ¶
func VendorHasPrefix(v string) predicate.HoststorageResource
VendorHasPrefix applies the HasPrefix predicate on the "vendor" field.
func VendorHasSuffix ¶
func VendorHasSuffix(v string) predicate.HoststorageResource
VendorHasSuffix applies the HasSuffix predicate on the "vendor" field.
func VendorIn ¶
func VendorIn(vs ...string) predicate.HoststorageResource
VendorIn applies the In predicate on the "vendor" field.
func VendorIsNil ¶
func VendorIsNil() predicate.HoststorageResource
VendorIsNil applies the IsNil predicate on the "vendor" field.
func VendorLT ¶
func VendorLT(v string) predicate.HoststorageResource
VendorLT applies the LT predicate on the "vendor" field.
func VendorLTE ¶
func VendorLTE(v string) predicate.HoststorageResource
VendorLTE applies the LTE predicate on the "vendor" field.
func VendorNEQ ¶
func VendorNEQ(v string) predicate.HoststorageResource
VendorNEQ applies the NEQ predicate on the "vendor" field.
func VendorNotIn ¶
func VendorNotIn(vs ...string) predicate.HoststorageResource
VendorNotIn applies the NotIn predicate on the "vendor" field.
func VendorNotNil ¶
func VendorNotNil() predicate.HoststorageResource
VendorNotNil applies the NotNil predicate on the "vendor" field.
func Wwid ¶
func Wwid(v string) predicate.HoststorageResource
Wwid applies equality check predicate on the "wwid" field. It's identical to WwidEQ.
func WwidContains ¶
func WwidContains(v string) predicate.HoststorageResource
WwidContains applies the Contains predicate on the "wwid" field.
func WwidContainsFold ¶
func WwidContainsFold(v string) predicate.HoststorageResource
WwidContainsFold applies the ContainsFold predicate on the "wwid" field.
func WwidEQ ¶
func WwidEQ(v string) predicate.HoststorageResource
WwidEQ applies the EQ predicate on the "wwid" field.
func WwidEqualFold ¶
func WwidEqualFold(v string) predicate.HoststorageResource
WwidEqualFold applies the EqualFold predicate on the "wwid" field.
func WwidGT ¶
func WwidGT(v string) predicate.HoststorageResource
WwidGT applies the GT predicate on the "wwid" field.
func WwidGTE ¶
func WwidGTE(v string) predicate.HoststorageResource
WwidGTE applies the GTE predicate on the "wwid" field.
func WwidHasPrefix ¶
func WwidHasPrefix(v string) predicate.HoststorageResource
WwidHasPrefix applies the HasPrefix predicate on the "wwid" field.
func WwidHasSuffix ¶
func WwidHasSuffix(v string) predicate.HoststorageResource
WwidHasSuffix applies the HasSuffix predicate on the "wwid" field.
func WwidIn ¶
func WwidIn(vs ...string) predicate.HoststorageResource
WwidIn applies the In predicate on the "wwid" field.
func WwidIsNil ¶
func WwidIsNil() predicate.HoststorageResource
WwidIsNil applies the IsNil predicate on the "wwid" field.
func WwidLT ¶
func WwidLT(v string) predicate.HoststorageResource
WwidLT applies the LT predicate on the "wwid" field.
func WwidLTE ¶
func WwidLTE(v string) predicate.HoststorageResource
WwidLTE applies the LTE predicate on the "wwid" field.
func WwidNEQ ¶
func WwidNEQ(v string) predicate.HoststorageResource
WwidNEQ applies the NEQ predicate on the "wwid" field.
func WwidNotIn ¶
func WwidNotIn(vs ...string) predicate.HoststorageResource
WwidNotIn applies the NotIn predicate on the "wwid" field.
func WwidNotNil ¶
func WwidNotNil() predicate.HoststorageResource
WwidNotNil applies the NotNil predicate on the "wwid" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the HoststorageResource queries.
func ByCapacityBytes ¶
func ByCapacityBytes(opts ...sql.OrderTermOption) OrderOption
ByCapacityBytes orders the results by the capacity_bytes field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDeviceName ¶
func ByDeviceName(opts ...sql.OrderTermOption) OrderOption
ByDeviceName orders the results by the device_name field.
func ByHostField ¶
func ByHostField(field string, opts ...sql.OrderTermOption) OrderOption
ByHostField orders the results by host field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByKind ¶
func ByKind(opts ...sql.OrderTermOption) OrderOption
ByKind orders the results by the kind field.
func ByModel ¶
func ByModel(opts ...sql.OrderTermOption) OrderOption
ByModel orders the results by the model field.
func ByProviderStatus ¶
func ByProviderStatus(opts ...sql.OrderTermOption) OrderOption
ByProviderStatus orders the results by the provider_status field.
func ByResourceID ¶
func ByResourceID(opts ...sql.OrderTermOption) OrderOption
ByResourceID orders the results by the resource_id field.
func BySerial ¶
func BySerial(opts ...sql.OrderTermOption) OrderOption
BySerial orders the results by the serial field.
func ByTenantID ¶
func ByTenantID(opts ...sql.OrderTermOption) OrderOption
ByTenantID orders the results by the tenant_id field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByVendor ¶
func ByVendor(opts ...sql.OrderTermOption) OrderOption
ByVendor orders the results by the vendor field.
func ByWwid ¶
func ByWwid(opts ...sql.OrderTermOption) OrderOption
ByWwid orders the results by the wwid field.