hoststorageresource

package
v2.30.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

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

Columns holds all SQL columns for hoststorageresource fields.

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

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

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

HasHost applies the HasEdge predicate on the "host" edge.

func HasHostWith

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

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

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

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

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

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

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

KindGT applies the GT predicate on the "kind" field.

func KindGTE

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

KindLT applies the LT predicate on the "kind" field.

func KindLTE

KindLTE applies the LTE predicate on the "kind" field.

func KindNEQ

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

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

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

ModelGT applies the GT predicate on the "model" field.

func ModelGTE

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

ModelLT applies the LT predicate on the "model" field.

func ModelLTE

ModelLTE applies the LTE predicate on the "model" field.

func ModelNEQ

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

Not applies the not operator on the given predicate.

func Or

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

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

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

SerialGT applies the GT predicate on the "serial" field.

func SerialGTE

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

SerialLT applies the LT predicate on the "serial" field.

func SerialLTE

SerialLTE applies the LTE predicate on the "serial" field.

func SerialNEQ

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

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

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

func ValidColumn(column string) bool

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

func Vendor

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

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

VendorGT applies the GT predicate on the "vendor" field.

func VendorGTE

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

VendorLT applies the LT predicate on the "vendor" field.

func VendorLTE

VendorLTE applies the LTE predicate on the "vendor" field.

func VendorNEQ

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

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

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

WwidGT applies the GT predicate on the "wwid" field.

func WwidGTE

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

WwidLT applies the LT predicate on the "wwid" field.

func WwidLTE

WwidLTE applies the LTE predicate on the "wwid" field.

func WwidNEQ

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

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

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