models

package
v0.17.3 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AocMacAddressColumns = struct {
	AocMacAddress string
	SerialNum     string
}{
	AocMacAddress: "aoc_mac_address",
	SerialNum:     "serial_num",
}
View Source
var AocMacAddressRels = struct {
	SerialNumBomInfo string
}{
	SerialNumBomInfo: "SerialNumBomInfo",
}

AocMacAddressRels is where relationship names are stored.

View Source
var AocMacAddressTableColumns = struct {
	AocMacAddress string
	SerialNum     string
}{
	AocMacAddress: "aoc_mac_address.aoc_mac_address",
	SerialNum:     "aoc_mac_address.serial_num",
}
View Source
var AocMacAddressWhere = struct {
	AocMacAddress whereHelperstring
	SerialNum     whereHelperstring
}{
	AocMacAddress: whereHelperstring{/* contains filtered or unexported fields */},
	SerialNum:     whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var AttributeColumns = struct {
	ID                string
	ServerID          string
	ServerComponentID string
	Namespace         string
	Data              string
	CreatedAt         string
	UpdatedAt         string
}{
	ID:                "id",
	ServerID:          "server_id",
	ServerComponentID: "server_component_id",
	Namespace:         "namespace",
	Data:              "data",
	CreatedAt:         "created_at",
	UpdatedAt:         "updated_at",
}
View Source
var AttributeRels = struct {
	Server          string
	ServerComponent string
}{
	Server:          "Server",
	ServerComponent: "ServerComponent",
}

AttributeRels is where relationship names are stored.

View Source
var AttributeTableColumns = struct {
	ID                string
	ServerID          string
	ServerComponentID string
	Namespace         string
	Data              string
	CreatedAt         string
	UpdatedAt         string
}{
	ID:                "attributes.id",
	ServerID:          "attributes.server_id",
	ServerComponentID: "attributes.server_component_id",
	Namespace:         "attributes.namespace",
	Data:              "attributes.data",
	CreatedAt:         "attributes.created_at",
	UpdatedAt:         "attributes.updated_at",
}
View Source
var AttributeWhere = struct {
	ID                whereHelperstring
	ServerID          whereHelpernull_String
	ServerComponentID whereHelpernull_String
	Namespace         whereHelperstring
	Data              whereHelpertypes_JSON
	CreatedAt         whereHelpernull_Time
	UpdatedAt         whereHelpernull_Time
}{
	ID:                whereHelperstring{/* contains filtered or unexported fields */},
	ServerID:          whereHelpernull_String{/* contains filtered or unexported fields */},
	ServerComponentID: whereHelpernull_String{/* contains filtered or unexported fields */},
	Namespace:         whereHelperstring{/* contains filtered or unexported fields */},
	Data:              whereHelpertypes_JSON{/* contains filtered or unexported fields */},
	CreatedAt:         whereHelpernull_Time{/* contains filtered or unexported fields */},
	UpdatedAt:         whereHelpernull_Time{/* contains filtered or unexported fields */},
}
View Source
var AttributesFirmwareSetColumns = struct {
	ID            string
	FirmwareSetID string
	Namespace     string
	Data          string
	CreatedAt     string
	UpdatedAt     string
}{
	ID:            "id",
	FirmwareSetID: "firmware_set_id",
	Namespace:     "namespace",
	Data:          "data",
	CreatedAt:     "created_at",
	UpdatedAt:     "updated_at",
}
View Source
var AttributesFirmwareSetRels = struct {
	FirmwareSet string
}{
	FirmwareSet: "FirmwareSet",
}

AttributesFirmwareSetRels is where relationship names are stored.

View Source
var AttributesFirmwareSetTableColumns = struct {
	ID            string
	FirmwareSetID string
	Namespace     string
	Data          string
	CreatedAt     string
	UpdatedAt     string
}{
	ID:            "attributes_firmware_set.id",
	FirmwareSetID: "attributes_firmware_set.firmware_set_id",
	Namespace:     "attributes_firmware_set.namespace",
	Data:          "attributes_firmware_set.data",
	CreatedAt:     "attributes_firmware_set.created_at",
	UpdatedAt:     "attributes_firmware_set.updated_at",
}
View Source
var AttributesFirmwareSetWhere = struct {
	ID            whereHelperstring
	FirmwareSetID whereHelpernull_String
	Namespace     whereHelperstring
	Data          whereHelpertypes_JSON
	CreatedAt     whereHelpernull_Time
	UpdatedAt     whereHelpernull_Time
}{
	ID:            whereHelperstring{/* contains filtered or unexported fields */},
	FirmwareSetID: whereHelpernull_String{/* contains filtered or unexported fields */},
	Namespace:     whereHelperstring{/* contains filtered or unexported fields */},
	Data:          whereHelpertypes_JSON{/* contains filtered or unexported fields */},
	CreatedAt:     whereHelpernull_Time{/* contains filtered or unexported fields */},
	UpdatedAt:     whereHelpernull_Time{/* contains filtered or unexported fields */},
}
View Source
var BMCMacAddressColumns = struct {
	BMCMacAddress string
	SerialNum     string
}{
	BMCMacAddress: "bmc_mac_address",
	SerialNum:     "serial_num",
}
View Source
var BMCMacAddressRels = struct {
	SerialNumBomInfo string
}{
	SerialNumBomInfo: "SerialNumBomInfo",
}

BMCMacAddressRels is where relationship names are stored.

View Source
var BMCMacAddressTableColumns = struct {
	BMCMacAddress string
	SerialNum     string
}{
	BMCMacAddress: "bmc_mac_address.bmc_mac_address",
	SerialNum:     "bmc_mac_address.serial_num",
}
View Source
var BMCMacAddressWhere = struct {
	BMCMacAddress whereHelperstring
	SerialNum     whereHelperstring
}{
	BMCMacAddress: whereHelperstring{/* contains filtered or unexported fields */},
	SerialNum:     whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var BomInfoColumns = struct {
	SerialNum     string
	AocMacAddress string
	BMCMacAddress string
	NumDefiPmi    string
	NumDefPWD     string
	Metro         string
}{
	SerialNum:     "serial_num",
	AocMacAddress: "aoc_mac_address",
	BMCMacAddress: "bmc_mac_address",
	NumDefiPmi:    "num_defi_pmi",
	NumDefPWD:     "num_def_pwd",
	Metro:         "metro",
}
View Source
var BomInfoRels = struct {
	SerialNumAocMacAddresses string
	SerialNumBMCMacAddresses string
}{
	SerialNumAocMacAddresses: "SerialNumAocMacAddresses",
	SerialNumBMCMacAddresses: "SerialNumBMCMacAddresses",
}

BomInfoRels is where relationship names are stored.

View Source
var BomInfoTableColumns = struct {
	SerialNum     string
	AocMacAddress string
	BMCMacAddress string
	NumDefiPmi    string
	NumDefPWD     string
	Metro         string
}{
	SerialNum:     "bom_info.serial_num",
	AocMacAddress: "bom_info.aoc_mac_address",
	BMCMacAddress: "bom_info.bmc_mac_address",
	NumDefiPmi:    "bom_info.num_defi_pmi",
	NumDefPWD:     "bom_info.num_def_pwd",
	Metro:         "bom_info.metro",
}
View Source
var BomInfoWhere = struct {
	SerialNum     whereHelperstring
	AocMacAddress whereHelpernull_String
	BMCMacAddress whereHelpernull_String
	NumDefiPmi    whereHelpernull_String
	NumDefPWD     whereHelpernull_String
	Metro         whereHelpernull_String
}{
	SerialNum:     whereHelperstring{/* contains filtered or unexported fields */},
	AocMacAddress: whereHelpernull_String{/* contains filtered or unexported fields */},
	BMCMacAddress: whereHelpernull_String{/* contains filtered or unexported fields */},
	NumDefiPmi:    whereHelpernull_String{/* contains filtered or unexported fields */},
	NumDefPWD:     whereHelpernull_String{/* contains filtered or unexported fields */},
	Metro:         whereHelpernull_String{/* contains filtered or unexported fields */},
}
View Source
var ComponentFirmwareSetColumns = struct {
	ID        string
	Name      string
	CreatedAt string
	UpdatedAt string
}{
	ID:        "id",
	Name:      "name",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
}
View Source
var ComponentFirmwareSetMapColumns = struct {
	ID            string
	FirmwareSetID string
	FirmwareID    string
}{
	ID:            "id",
	FirmwareSetID: "firmware_set_id",
	FirmwareID:    "firmware_id",
}
View Source
var ComponentFirmwareSetMapRels = struct {
	FirmwareSet string
	Firmware    string
}{
	FirmwareSet: "FirmwareSet",
	Firmware:    "Firmware",
}

ComponentFirmwareSetMapRels is where relationship names are stored.

View Source
var ComponentFirmwareSetMapTableColumns = struct {
	ID            string
	FirmwareSetID string
	FirmwareID    string
}{
	ID:            "component_firmware_set_map.id",
	FirmwareSetID: "component_firmware_set_map.firmware_set_id",
	FirmwareID:    "component_firmware_set_map.firmware_id",
}
View Source
var ComponentFirmwareSetMapWhere = struct {
	ID            whereHelperstring
	FirmwareSetID whereHelperstring
	FirmwareID    whereHelperstring
}{
	ID:            whereHelperstring{/* contains filtered or unexported fields */},
	FirmwareSetID: whereHelperstring{/* contains filtered or unexported fields */},
	FirmwareID:    whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var ComponentFirmwareSetRels = struct {
	FirmwareSetAttributesFirmwareSets   string
	FirmwareSetComponentFirmwareSetMaps string
}{
	FirmwareSetAttributesFirmwareSets:   "FirmwareSetAttributesFirmwareSets",
	FirmwareSetComponentFirmwareSetMaps: "FirmwareSetComponentFirmwareSetMaps",
}

ComponentFirmwareSetRels is where relationship names are stored.

View Source
var ComponentFirmwareSetTableColumns = struct {
	ID        string
	Name      string
	CreatedAt string
	UpdatedAt string
}{
	ID:        "component_firmware_set.id",
	Name:      "component_firmware_set.name",
	CreatedAt: "component_firmware_set.created_at",
	UpdatedAt: "component_firmware_set.updated_at",
}
View Source
var ComponentFirmwareSetWhere = struct {
	ID        whereHelperstring
	Name      whereHelperstring
	CreatedAt whereHelpernull_Time
	UpdatedAt whereHelpernull_Time
}{
	ID:        whereHelperstring{/* contains filtered or unexported fields */},
	Name:      whereHelperstring{/* contains filtered or unexported fields */},
	CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */},
	UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */},
}
View Source
var ComponentFirmwareVersionColumns = struct {
	ID            string
	Component     string
	Vendor        string
	Model         string
	Filename      string
	Version       string
	Checksum      string
	UpstreamURL   string
	RepositoryURL string
	CreatedAt     string
	UpdatedAt     string
}{
	ID:            "id",
	Component:     "component",
	Vendor:        "vendor",
	Model:         "model",
	Filename:      "filename",
	Version:       "version",
	Checksum:      "checksum",
	UpstreamURL:   "upstream_url",
	RepositoryURL: "repository_url",
	CreatedAt:     "created_at",
	UpdatedAt:     "updated_at",
}
View Source
var ComponentFirmwareVersionRels = struct {
	FirmwareComponentFirmwareSetMaps string
}{
	FirmwareComponentFirmwareSetMaps: "FirmwareComponentFirmwareSetMaps",
}

ComponentFirmwareVersionRels is where relationship names are stored.

View Source
var ComponentFirmwareVersionTableColumns = struct {
	ID            string
	Component     string
	Vendor        string
	Model         string
	Filename      string
	Version       string
	Checksum      string
	UpstreamURL   string
	RepositoryURL string
	CreatedAt     string
	UpdatedAt     string
}{
	ID:            "component_firmware_version.id",
	Component:     "component_firmware_version.component",
	Vendor:        "component_firmware_version.vendor",
	Model:         "component_firmware_version.model",
	Filename:      "component_firmware_version.filename",
	Version:       "component_firmware_version.version",
	Checksum:      "component_firmware_version.checksum",
	UpstreamURL:   "component_firmware_version.upstream_url",
	RepositoryURL: "component_firmware_version.repository_url",
	CreatedAt:     "component_firmware_version.created_at",
	UpdatedAt:     "component_firmware_version.updated_at",
}
View Source
var ComponentFirmwareVersionWhere = struct {
	ID            whereHelperstring
	Component     whereHelperstring
	Vendor        whereHelperstring
	Model         whereHelpertypes_StringArray
	Filename      whereHelperstring
	Version       whereHelperstring
	Checksum      whereHelperstring
	UpstreamURL   whereHelperstring
	RepositoryURL whereHelperstring
	CreatedAt     whereHelpernull_Time
	UpdatedAt     whereHelpernull_Time
}{
	ID:            whereHelperstring{/* contains filtered or unexported fields */},
	Component:     whereHelperstring{/* contains filtered or unexported fields */},
	Vendor:        whereHelperstring{/* contains filtered or unexported fields */},
	Model:         whereHelpertypes_StringArray{/* contains filtered or unexported fields */},
	Filename:      whereHelperstring{/* contains filtered or unexported fields */},
	Version:       whereHelperstring{/* contains filtered or unexported fields */},
	Checksum:      whereHelperstring{/* contains filtered or unexported fields */},
	UpstreamURL:   whereHelperstring{/* contains filtered or unexported fields */},
	RepositoryURL: whereHelperstring{/* contains filtered or unexported fields */},
	CreatedAt:     whereHelpernull_Time{/* contains filtered or unexported fields */},
	UpdatedAt:     whereHelpernull_Time{/* contains filtered or unexported fields */},
}
View Source
var ErrSyncFail = errors.New("models: failed to synchronize data after insert")

ErrSyncFail occurs during insert when the record could not be retrieved in order to populate default value information. This usually happens when LastInsertId fails or there was a primary key configuration that was not resolvable.

View Source
var ServerColumns = struct {
	ID           string
	Name         string
	FacilityCode string
	CreatedAt    string
	UpdatedAt    string
	DeletedAt    string
}{
	ID:           "id",
	Name:         "name",
	FacilityCode: "facility_code",
	CreatedAt:    "created_at",
	UpdatedAt:    "updated_at",
	DeletedAt:    "deleted_at",
}
View Source
var ServerComponentColumns = struct {
	ID                    string
	Name                  string
	Vendor                string
	Model                 string
	Serial                string
	ServerComponentTypeID string
	ServerID              string
	CreatedAt             string
	UpdatedAt             string
}{
	ID:                    "id",
	Name:                  "name",
	Vendor:                "vendor",
	Model:                 "model",
	Serial:                "serial",
	ServerComponentTypeID: "server_component_type_id",
	ServerID:              "server_id",
	CreatedAt:             "created_at",
	UpdatedAt:             "updated_at",
}
View Source
var ServerComponentRels = struct {
	Server              string
	ServerComponentType string
	Attributes          string
	VersionedAttributes string
}{
	Server:              "Server",
	ServerComponentType: "ServerComponentType",
	Attributes:          "Attributes",
	VersionedAttributes: "VersionedAttributes",
}

ServerComponentRels is where relationship names are stored.

View Source
var ServerComponentTableColumns = struct {
	ID                    string
	Name                  string
	Vendor                string
	Model                 string
	Serial                string
	ServerComponentTypeID string
	ServerID              string
	CreatedAt             string
	UpdatedAt             string
}{
	ID:                    "server_components.id",
	Name:                  "server_components.name",
	Vendor:                "server_components.vendor",
	Model:                 "server_components.model",
	Serial:                "server_components.serial",
	ServerComponentTypeID: "server_components.server_component_type_id",
	ServerID:              "server_components.server_id",
	CreatedAt:             "server_components.created_at",
	UpdatedAt:             "server_components.updated_at",
}
View Source
var ServerComponentTypeColumns = struct {
	ID        string
	Name      string
	CreatedAt string
	UpdatedAt string
	Slug      string
}{
	ID:        "id",
	Name:      "name",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
	Slug:      "slug",
}
View Source
var ServerComponentTypeRels = struct {
	ServerComponents string
}{
	ServerComponents: "ServerComponents",
}

ServerComponentTypeRels is where relationship names are stored.

View Source
var ServerComponentTypeTableColumns = struct {
	ID        string
	Name      string
	CreatedAt string
	UpdatedAt string
	Slug      string
}{
	ID:        "server_component_types.id",
	Name:      "server_component_types.name",
	CreatedAt: "server_component_types.created_at",
	UpdatedAt: "server_component_types.updated_at",
	Slug:      "server_component_types.slug",
}
View Source
var ServerComponentTypeWhere = struct {
	ID        whereHelperstring
	Name      whereHelperstring
	CreatedAt whereHelpernull_Time
	UpdatedAt whereHelpernull_Time
	Slug      whereHelperstring
}{
	ID:        whereHelperstring{/* contains filtered or unexported fields */},
	Name:      whereHelperstring{/* contains filtered or unexported fields */},
	CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */},
	UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */},
	Slug:      whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var ServerComponentWhere = struct {
	ID                    whereHelperstring
	Name                  whereHelpernull_String
	Vendor                whereHelpernull_String
	Model                 whereHelpernull_String
	Serial                whereHelpernull_String
	ServerComponentTypeID whereHelperstring
	ServerID              whereHelperstring
	CreatedAt             whereHelpernull_Time
	UpdatedAt             whereHelpernull_Time
}{
	ID:                    whereHelperstring{/* contains filtered or unexported fields */},
	Name:                  whereHelpernull_String{/* contains filtered or unexported fields */},
	Vendor:                whereHelpernull_String{/* contains filtered or unexported fields */},
	Model:                 whereHelpernull_String{/* contains filtered or unexported fields */},
	Serial:                whereHelpernull_String{/* contains filtered or unexported fields */},
	ServerComponentTypeID: whereHelperstring{/* contains filtered or unexported fields */},
	ServerID:              whereHelperstring{/* contains filtered or unexported fields */},
	CreatedAt:             whereHelpernull_Time{/* contains filtered or unexported fields */},
	UpdatedAt:             whereHelpernull_Time{/* contains filtered or unexported fields */},
}
View Source
var ServerCredentialColumns = struct {
	ID                     string
	ServerID               string
	ServerCredentialTypeID string
	Password               string
	CreatedAt              string
	UpdatedAt              string
	Username               string
}{
	ID:                     "id",
	ServerID:               "server_id",
	ServerCredentialTypeID: "server_credential_type_id",
	Password:               "password",
	CreatedAt:              "created_at",
	UpdatedAt:              "updated_at",
	Username:               "username",
}
View Source
var ServerCredentialRels = struct {
	ServerCredentialType string
	Server               string
}{
	ServerCredentialType: "ServerCredentialType",
	Server:               "Server",
}

ServerCredentialRels is where relationship names are stored.

View Source
var ServerCredentialTableColumns = struct {
	ID                     string
	ServerID               string
	ServerCredentialTypeID string
	Password               string
	CreatedAt              string
	UpdatedAt              string
	Username               string
}{
	ID:                     "server_credentials.id",
	ServerID:               "server_credentials.server_id",
	ServerCredentialTypeID: "server_credentials.server_credential_type_id",
	Password:               "server_credentials.password",
	CreatedAt:              "server_credentials.created_at",
	UpdatedAt:              "server_credentials.updated_at",
	Username:               "server_credentials.username",
}
View Source
var ServerCredentialTypeColumns = struct {
	ID        string
	Name      string
	Slug      string
	Builtin   string
	CreatedAt string
	UpdatedAt string
}{
	ID:        "id",
	Name:      "name",
	Slug:      "slug",
	Builtin:   "builtin",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
}
View Source
var ServerCredentialTypeRels = struct {
	ServerCredentials string
}{
	ServerCredentials: "ServerCredentials",
}

ServerCredentialTypeRels is where relationship names are stored.

View Source
var ServerCredentialTypeTableColumns = struct {
	ID        string
	Name      string
	Slug      string
	Builtin   string
	CreatedAt string
	UpdatedAt string
}{
	ID:        "server_credential_types.id",
	Name:      "server_credential_types.name",
	Slug:      "server_credential_types.slug",
	Builtin:   "server_credential_types.builtin",
	CreatedAt: "server_credential_types.created_at",
	UpdatedAt: "server_credential_types.updated_at",
}
View Source
var ServerCredentialTypeWhere = struct {
	ID        whereHelperstring
	Name      whereHelperstring
	Slug      whereHelperstring
	Builtin   whereHelperbool
	CreatedAt whereHelpertime_Time
	UpdatedAt whereHelpertime_Time
}{
	ID:        whereHelperstring{/* contains filtered or unexported fields */},
	Name:      whereHelperstring{/* contains filtered or unexported fields */},
	Slug:      whereHelperstring{/* contains filtered or unexported fields */},
	Builtin:   whereHelperbool{/* contains filtered or unexported fields */},
	CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
}
View Source
var ServerCredentialWhere = struct {
	ID                     whereHelperstring
	ServerID               whereHelperstring
	ServerCredentialTypeID whereHelperstring
	Password               whereHelperstring
	CreatedAt              whereHelpertime_Time
	UpdatedAt              whereHelpertime_Time
	Username               whereHelperstring
}{
	ID:                     whereHelperstring{/* contains filtered or unexported fields */},
	ServerID:               whereHelperstring{/* contains filtered or unexported fields */},
	ServerCredentialTypeID: whereHelperstring{/* contains filtered or unexported fields */},
	Password:               whereHelperstring{/* contains filtered or unexported fields */},
	CreatedAt:              whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt:              whereHelpertime_Time{/* contains filtered or unexported fields */},
	Username:               whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var ServerRels = struct {
	Attributes          string
	ServerComponents    string
	ServerCredentials   string
	VersionedAttributes string
}{
	Attributes:          "Attributes",
	ServerComponents:    "ServerComponents",
	ServerCredentials:   "ServerCredentials",
	VersionedAttributes: "VersionedAttributes",
}

ServerRels is where relationship names are stored.

View Source
var ServerTableColumns = struct {
	ID           string
	Name         string
	FacilityCode string
	CreatedAt    string
	UpdatedAt    string
	DeletedAt    string
}{
	ID:           "servers.id",
	Name:         "servers.name",
	FacilityCode: "servers.facility_code",
	CreatedAt:    "servers.created_at",
	UpdatedAt:    "servers.updated_at",
	DeletedAt:    "servers.deleted_at",
}
View Source
var ServerWhere = struct {
	ID           whereHelperstring
	Name         whereHelpernull_String
	FacilityCode whereHelpernull_String
	CreatedAt    whereHelpernull_Time
	UpdatedAt    whereHelpernull_Time
	DeletedAt    whereHelpernull_Time
}{
	ID:           whereHelperstring{/* contains filtered or unexported fields */},
	Name:         whereHelpernull_String{/* contains filtered or unexported fields */},
	FacilityCode: whereHelpernull_String{/* contains filtered or unexported fields */},
	CreatedAt:    whereHelpernull_Time{/* contains filtered or unexported fields */},
	UpdatedAt:    whereHelpernull_Time{/* contains filtered or unexported fields */},
	DeletedAt:    whereHelpernull_Time{/* contains filtered or unexported fields */},
}
View Source
var TableNames = struct {
	AocMacAddress            string
	Attributes               string
	AttributesFirmwareSet    string
	BMCMacAddress            string
	BomInfo                  string
	ComponentFirmwareSet     string
	ComponentFirmwareSetMap  string
	ComponentFirmwareVersion string
	ServerComponentTypes     string
	ServerComponents         string
	ServerCredentialTypes    string
	ServerCredentials        string
	Servers                  string
	VersionedAttributes      string
}{
	AocMacAddress:            "aoc_mac_address",
	Attributes:               "attributes",
	AttributesFirmwareSet:    "attributes_firmware_set",
	BMCMacAddress:            "bmc_mac_address",
	BomInfo:                  "bom_info",
	ComponentFirmwareSet:     "component_firmware_set",
	ComponentFirmwareSetMap:  "component_firmware_set_map",
	ComponentFirmwareVersion: "component_firmware_version",
	ServerComponentTypes:     "server_component_types",
	ServerComponents:         "server_components",
	ServerCredentialTypes:    "server_credential_types",
	ServerCredentials:        "server_credentials",
	Servers:                  "servers",
	VersionedAttributes:      "versioned_attributes",
}
View Source
var VersionedAttributeColumns = struct {
	ID                string
	ServerID          string
	Namespace         string
	Data              string
	CreatedAt         string
	UpdatedAt         string
	ServerComponentID string
	Tally             string
}{
	ID:                "id",
	ServerID:          "server_id",
	Namespace:         "namespace",
	Data:              "data",
	CreatedAt:         "created_at",
	UpdatedAt:         "updated_at",
	ServerComponentID: "server_component_id",
	Tally:             "tally",
}
View Source
var VersionedAttributeRels = struct {
	Server          string
	ServerComponent string
}{
	Server:          "Server",
	ServerComponent: "ServerComponent",
}

VersionedAttributeRels is where relationship names are stored.

View Source
var VersionedAttributeTableColumns = struct {
	ID                string
	ServerID          string
	Namespace         string
	Data              string
	CreatedAt         string
	UpdatedAt         string
	ServerComponentID string
	Tally             string
}{
	ID:                "versioned_attributes.id",
	ServerID:          "versioned_attributes.server_id",
	Namespace:         "versioned_attributes.namespace",
	Data:              "versioned_attributes.data",
	CreatedAt:         "versioned_attributes.created_at",
	UpdatedAt:         "versioned_attributes.updated_at",
	ServerComponentID: "versioned_attributes.server_component_id",
	Tally:             "versioned_attributes.tally",
}
View Source
var VersionedAttributeWhere = struct {
	ID                whereHelperstring
	ServerID          whereHelpernull_String
	Namespace         whereHelperstring
	Data              whereHelpertypes_JSON
	CreatedAt         whereHelpernull_Time
	UpdatedAt         whereHelpernull_Time
	ServerComponentID whereHelpernull_String
	Tally             whereHelperint64
}{
	ID:                whereHelperstring{/* contains filtered or unexported fields */},
	ServerID:          whereHelpernull_String{/* contains filtered or unexported fields */},
	Namespace:         whereHelperstring{/* contains filtered or unexported fields */},
	Data:              whereHelpertypes_JSON{/* contains filtered or unexported fields */},
	CreatedAt:         whereHelpernull_Time{/* contains filtered or unexported fields */},
	UpdatedAt:         whereHelpernull_Time{/* contains filtered or unexported fields */},
	ServerComponentID: whereHelpernull_String{/* contains filtered or unexported fields */},
	Tally:             whereHelperint64{/* contains filtered or unexported fields */},
}
View Source
var ViewNames = struct {
}{}

Functions

func AddAocMacAddressHook

func AddAocMacAddressHook(hookPoint boil.HookPoint, aocMacAddressHook AocMacAddressHook)

AddAocMacAddressHook registers your hook function for all future operations.

func AddAttributeHook

func AddAttributeHook(hookPoint boil.HookPoint, attributeHook AttributeHook)

AddAttributeHook registers your hook function for all future operations.

func AddAttributesFirmwareSetHook

func AddAttributesFirmwareSetHook(hookPoint boil.HookPoint, attributesFirmwareSetHook AttributesFirmwareSetHook)

AddAttributesFirmwareSetHook registers your hook function for all future operations.

func AddBMCMacAddressHook

func AddBMCMacAddressHook(hookPoint boil.HookPoint, bmcMacAddressHook BMCMacAddressHook)

AddBMCMacAddressHook registers your hook function for all future operations.

func AddBomInfoHook

func AddBomInfoHook(hookPoint boil.HookPoint, bomInfoHook BomInfoHook)

AddBomInfoHook registers your hook function for all future operations.

func AddComponentFirmwareSetHook

func AddComponentFirmwareSetHook(hookPoint boil.HookPoint, componentFirmwareSetHook ComponentFirmwareSetHook)

AddComponentFirmwareSetHook registers your hook function for all future operations.

func AddComponentFirmwareSetMapHook

func AddComponentFirmwareSetMapHook(hookPoint boil.HookPoint, componentFirmwareSetMapHook ComponentFirmwareSetMapHook)

AddComponentFirmwareSetMapHook registers your hook function for all future operations.

func AddComponentFirmwareVersionHook

func AddComponentFirmwareVersionHook(hookPoint boil.HookPoint, componentFirmwareVersionHook ComponentFirmwareVersionHook)

AddComponentFirmwareVersionHook registers your hook function for all future operations.

func AddServerComponentHook

func AddServerComponentHook(hookPoint boil.HookPoint, serverComponentHook ServerComponentHook)

AddServerComponentHook registers your hook function for all future operations.

func AddServerComponentTypeHook

func AddServerComponentTypeHook(hookPoint boil.HookPoint, serverComponentTypeHook ServerComponentTypeHook)

AddServerComponentTypeHook registers your hook function for all future operations.

func AddServerCredentialHook

func AddServerCredentialHook(hookPoint boil.HookPoint, serverCredentialHook ServerCredentialHook)

AddServerCredentialHook registers your hook function for all future operations.

func AddServerCredentialTypeHook

func AddServerCredentialTypeHook(hookPoint boil.HookPoint, serverCredentialTypeHook ServerCredentialTypeHook)

AddServerCredentialTypeHook registers your hook function for all future operations.

func AddServerHook

func AddServerHook(hookPoint boil.HookPoint, serverHook ServerHook)

AddServerHook registers your hook function for all future operations.

func AddVersionedAttributeHook

func AddVersionedAttributeHook(hookPoint boil.HookPoint, versionedAttributeHook VersionedAttributeHook)

AddVersionedAttributeHook registers your hook function for all future operations.

func AocMacAddressExists

func AocMacAddressExists(ctx context.Context, exec boil.ContextExecutor, aocMacAddress string) (bool, error)

AocMacAddressExists checks if the AocMacAddress row exists.

func AocMacAddresses

func AocMacAddresses(mods ...qm.QueryMod) aocMacAddressQuery

AocMacAddresses retrieves all the records using an executor.

func AttributeExists

func AttributeExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)

AttributeExists checks if the Attribute row exists.

func Attributes

func Attributes(mods ...qm.QueryMod) attributeQuery

Attributes retrieves all the records using an executor.

func AttributesFirmwareSetExists

func AttributesFirmwareSetExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)

AttributesFirmwareSetExists checks if the AttributesFirmwareSet row exists.

func AttributesFirmwareSets

func AttributesFirmwareSets(mods ...qm.QueryMod) attributesFirmwareSetQuery

AttributesFirmwareSets retrieves all the records using an executor.

func BMCMacAddressExists

func BMCMacAddressExists(ctx context.Context, exec boil.ContextExecutor, bMCMacAddress string) (bool, error)

BMCMacAddressExists checks if the BMCMacAddress row exists.

func BMCMacAddresses

func BMCMacAddresses(mods ...qm.QueryMod) bmcMacAddressQuery

BMCMacAddresses retrieves all the records using an executor.

func BomInfoExists

func BomInfoExists(ctx context.Context, exec boil.ContextExecutor, serialNum string) (bool, error)

BomInfoExists checks if the BomInfo row exists.

func BomInfos

func BomInfos(mods ...qm.QueryMod) bomInfoQuery

BomInfos retrieves all the records using an executor.

func ComponentFirmwareSetExists

func ComponentFirmwareSetExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)

ComponentFirmwareSetExists checks if the ComponentFirmwareSet row exists.

func ComponentFirmwareSetMapExists

func ComponentFirmwareSetMapExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)

ComponentFirmwareSetMapExists checks if the ComponentFirmwareSetMap row exists.

func ComponentFirmwareSetMaps

func ComponentFirmwareSetMaps(mods ...qm.QueryMod) componentFirmwareSetMapQuery

ComponentFirmwareSetMaps retrieves all the records using an executor.

func ComponentFirmwareSets

func ComponentFirmwareSets(mods ...qm.QueryMod) componentFirmwareSetQuery

ComponentFirmwareSets retrieves all the records using an executor.

func ComponentFirmwareVersionExists

func ComponentFirmwareVersionExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)

ComponentFirmwareVersionExists checks if the ComponentFirmwareVersion row exists.

func ComponentFirmwareVersions

func ComponentFirmwareVersions(mods ...qm.QueryMod) componentFirmwareVersionQuery

ComponentFirmwareVersions retrieves all the records using an executor.

func NewQuery

func NewQuery(mods ...qm.QueryMod) *queries.Query

NewQuery initializes a new Query using the passed in QueryMods

func ServerComponentExists

func ServerComponentExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)

ServerComponentExists checks if the ServerComponent row exists.

func ServerComponentTypeExists

func ServerComponentTypeExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)

ServerComponentTypeExists checks if the ServerComponentType row exists.

func ServerComponentTypes

func ServerComponentTypes(mods ...qm.QueryMod) serverComponentTypeQuery

ServerComponentTypes retrieves all the records using an executor.

func ServerComponents

func ServerComponents(mods ...qm.QueryMod) serverComponentQuery

ServerComponents retrieves all the records using an executor.

func ServerCredentialExists

func ServerCredentialExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)

ServerCredentialExists checks if the ServerCredential row exists.

func ServerCredentialTypeExists

func ServerCredentialTypeExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)

ServerCredentialTypeExists checks if the ServerCredentialType row exists.

func ServerCredentialTypes

func ServerCredentialTypes(mods ...qm.QueryMod) serverCredentialTypeQuery

ServerCredentialTypes retrieves all the records using an executor.

func ServerCredentials

func ServerCredentials(mods ...qm.QueryMod) serverCredentialQuery

ServerCredentials retrieves all the records using an executor.

func ServerExists

func ServerExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)

ServerExists checks if the Server row exists.

func Servers

func Servers(mods ...qm.QueryMod) serverQuery

Servers retrieves all the records using an executor.

func VersionedAttributeExists

func VersionedAttributeExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)

VersionedAttributeExists checks if the VersionedAttribute row exists.

func VersionedAttributes

func VersionedAttributes(mods ...qm.QueryMod) versionedAttributeQuery

VersionedAttributes retrieves all the records using an executor.

Types

type AocMacAddress

type AocMacAddress struct {
	AocMacAddress string `boil:"aoc_mac_address" json:"aoc_mac_address" toml:"aoc_mac_address" yaml:"aoc_mac_address"`
	SerialNum     string `boil:"serial_num" json:"serial_num" toml:"serial_num" yaml:"serial_num"`

	R *aocMacAddressR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L aocMacAddressL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

AocMacAddress is an object representing the database table.

func FindAocMacAddress

func FindAocMacAddress(ctx context.Context, exec boil.ContextExecutor, aocMacAddress string, selectCols ...string) (*AocMacAddress, error)

FindAocMacAddress retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*AocMacAddress) Delete

func (o *AocMacAddress) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single AocMacAddress record with an executor. Delete will match against the primary key column to find the record to delete.

func (*AocMacAddress) Exists

func (o *AocMacAddress) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the AocMacAddress row exists.

func (*AocMacAddress) Insert

func (o *AocMacAddress) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*AocMacAddress) Reload

func (o *AocMacAddress) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*AocMacAddress) SerialNumBomInfo

func (o *AocMacAddress) SerialNumBomInfo(mods ...qm.QueryMod) bomInfoQuery

SerialNumBomInfo pointed to by the foreign key.

func (*AocMacAddress) SetSerialNumBomInfo

func (o *AocMacAddress) SetSerialNumBomInfo(ctx context.Context, exec boil.ContextExecutor, insert bool, related *BomInfo) error

SetSerialNumBomInfo of the aocMacAddress to the related item. Sets o.R.SerialNumBomInfo to related. Adds o to related.R.SerialNumAocMacAddresses.

func (*AocMacAddress) Update

func (o *AocMacAddress) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the AocMacAddress. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*AocMacAddress) Upsert

func (o *AocMacAddress) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type AocMacAddressHook

type AocMacAddressHook func(context.Context, boil.ContextExecutor, *AocMacAddress) error

AocMacAddressHook is the signature for custom AocMacAddress hook methods

type AocMacAddressSlice

type AocMacAddressSlice []*AocMacAddress

AocMacAddressSlice is an alias for a slice of pointers to AocMacAddress. This should almost always be used instead of []AocMacAddress.

func (AocMacAddressSlice) DeleteAll

func (o AocMacAddressSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*AocMacAddressSlice) ReloadAll

func (o *AocMacAddressSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (AocMacAddressSlice) UpdateAll

func (o AocMacAddressSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type Attribute

type Attribute struct {
	ID                string      `boil:"id" json:"id" toml:"id" yaml:"id"`
	ServerID          null.String `boil:"server_id" json:"server_id,omitempty" toml:"server_id" yaml:"server_id,omitempty"`
	ServerComponentID null.String `` /* 127-byte string literal not displayed */
	Namespace         string      `boil:"namespace" json:"namespace" toml:"namespace" yaml:"namespace"`
	Data              types.JSON  `boil:"data" json:"data" toml:"data" yaml:"data"`
	CreatedAt         null.Time   `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"`
	UpdatedAt         null.Time   `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"`

	R *attributeR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L attributeL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Attribute is an object representing the database table.

func FindAttribute

func FindAttribute(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Attribute, error)

FindAttribute retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*Attribute) Delete

func (o *Attribute) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single Attribute record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Attribute) Exists

func (o *Attribute) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the Attribute row exists.

func (*Attribute) Insert

func (o *Attribute) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Attribute) Reload

func (o *Attribute) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Attribute) RemoveServer

func (o *Attribute) RemoveServer(ctx context.Context, exec boil.ContextExecutor, related *Server) error

RemoveServer relationship. Sets o.R.Server to nil. Removes o from all passed in related items' relationships struct.

func (*Attribute) RemoveServerComponent

func (o *Attribute) RemoveServerComponent(ctx context.Context, exec boil.ContextExecutor, related *ServerComponent) error

RemoveServerComponent relationship. Sets o.R.ServerComponent to nil. Removes o from all passed in related items' relationships struct.

func (*Attribute) Server

func (o *Attribute) Server(mods ...qm.QueryMod) serverQuery

Server pointed to by the foreign key.

func (*Attribute) ServerComponent

func (o *Attribute) ServerComponent(mods ...qm.QueryMod) serverComponentQuery

ServerComponent pointed to by the foreign key.

func (*Attribute) SetServer

func (o *Attribute) SetServer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Server) error

SetServer of the attribute to the related item. Sets o.R.Server to related. Adds o to related.R.Attributes.

func (*Attribute) SetServerComponent

func (o *Attribute) SetServerComponent(ctx context.Context, exec boil.ContextExecutor, insert bool, related *ServerComponent) error

SetServerComponent of the attribute to the related item. Sets o.R.ServerComponent to related. Adds o to related.R.Attributes.

func (*Attribute) Update

func (o *Attribute) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Attribute. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Attribute) Upsert

func (o *Attribute) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type AttributeHook

type AttributeHook func(context.Context, boil.ContextExecutor, *Attribute) error

AttributeHook is the signature for custom Attribute hook methods

type AttributeSlice

type AttributeSlice []*Attribute

AttributeSlice is an alias for a slice of pointers to Attribute. This should almost always be used instead of []Attribute.

func (AttributeSlice) DeleteAll

func (o AttributeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*AttributeSlice) ReloadAll

func (o *AttributeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (AttributeSlice) UpdateAll

func (o AttributeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type AttributesFirmwareSet

type AttributesFirmwareSet struct {
	ID            string      `boil:"id" json:"id" toml:"id" yaml:"id"`
	FirmwareSetID null.String `boil:"firmware_set_id" json:"firmware_set_id,omitempty" toml:"firmware_set_id" yaml:"firmware_set_id,omitempty"`
	Namespace     string      `boil:"namespace" json:"namespace" toml:"namespace" yaml:"namespace"`
	Data          types.JSON  `boil:"data" json:"data" toml:"data" yaml:"data"`
	CreatedAt     null.Time   `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"`
	UpdatedAt     null.Time   `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"`

	R *attributesFirmwareSetR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L attributesFirmwareSetL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

AttributesFirmwareSet is an object representing the database table.

func FindAttributesFirmwareSet

func FindAttributesFirmwareSet(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*AttributesFirmwareSet, error)

FindAttributesFirmwareSet retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*AttributesFirmwareSet) Delete

Delete deletes a single AttributesFirmwareSet record with an executor. Delete will match against the primary key column to find the record to delete.

func (*AttributesFirmwareSet) Exists

Exists checks if the AttributesFirmwareSet row exists.

func (*AttributesFirmwareSet) FirmwareSet

func (o *AttributesFirmwareSet) FirmwareSet(mods ...qm.QueryMod) componentFirmwareSetQuery

FirmwareSet pointed to by the foreign key.

func (*AttributesFirmwareSet) Insert

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*AttributesFirmwareSet) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*AttributesFirmwareSet) RemoveFirmwareSet

func (o *AttributesFirmwareSet) RemoveFirmwareSet(ctx context.Context, exec boil.ContextExecutor, related *ComponentFirmwareSet) error

RemoveFirmwareSet relationship. Sets o.R.FirmwareSet to nil. Removes o from all passed in related items' relationships struct.

func (*AttributesFirmwareSet) SetFirmwareSet

func (o *AttributesFirmwareSet) SetFirmwareSet(ctx context.Context, exec boil.ContextExecutor, insert bool, related *ComponentFirmwareSet) error

SetFirmwareSet of the attributesFirmwareSet to the related item. Sets o.R.FirmwareSet to related. Adds o to related.R.FirmwareSetAttributesFirmwareSets.

func (*AttributesFirmwareSet) Update

func (o *AttributesFirmwareSet) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the AttributesFirmwareSet. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*AttributesFirmwareSet) Upsert

func (o *AttributesFirmwareSet) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type AttributesFirmwareSetHook

type AttributesFirmwareSetHook func(context.Context, boil.ContextExecutor, *AttributesFirmwareSet) error

AttributesFirmwareSetHook is the signature for custom AttributesFirmwareSet hook methods

type AttributesFirmwareSetSlice

type AttributesFirmwareSetSlice []*AttributesFirmwareSet

AttributesFirmwareSetSlice is an alias for a slice of pointers to AttributesFirmwareSet. This should almost always be used instead of []AttributesFirmwareSet.

func (AttributesFirmwareSetSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*AttributesFirmwareSetSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (AttributesFirmwareSetSlice) UpdateAll

func (o AttributesFirmwareSetSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type BMCMacAddress

type BMCMacAddress struct {
	BMCMacAddress string `boil:"bmc_mac_address" json:"bmc_mac_address" toml:"bmc_mac_address" yaml:"bmc_mac_address"`
	SerialNum     string `boil:"serial_num" json:"serial_num" toml:"serial_num" yaml:"serial_num"`

	R *bmcMacAddressR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L bmcMacAddressL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

BMCMacAddress is an object representing the database table.

func FindBMCMacAddress

func FindBMCMacAddress(ctx context.Context, exec boil.ContextExecutor, bMCMacAddress string, selectCols ...string) (*BMCMacAddress, error)

FindBMCMacAddress retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*BMCMacAddress) Delete

func (o *BMCMacAddress) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single BMCMacAddress record with an executor. Delete will match against the primary key column to find the record to delete.

func (*BMCMacAddress) Exists

func (o *BMCMacAddress) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the BMCMacAddress row exists.

func (*BMCMacAddress) Insert

func (o *BMCMacAddress) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*BMCMacAddress) Reload

func (o *BMCMacAddress) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*BMCMacAddress) SerialNumBomInfo

func (o *BMCMacAddress) SerialNumBomInfo(mods ...qm.QueryMod) bomInfoQuery

SerialNumBomInfo pointed to by the foreign key.

func (*BMCMacAddress) SetSerialNumBomInfo

func (o *BMCMacAddress) SetSerialNumBomInfo(ctx context.Context, exec boil.ContextExecutor, insert bool, related *BomInfo) error

SetSerialNumBomInfo of the bmcMacAddress to the related item. Sets o.R.SerialNumBomInfo to related. Adds o to related.R.SerialNumBMCMacAddresses.

func (*BMCMacAddress) Update

func (o *BMCMacAddress) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the BMCMacAddress. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*BMCMacAddress) Upsert

func (o *BMCMacAddress) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type BMCMacAddressHook

type BMCMacAddressHook func(context.Context, boil.ContextExecutor, *BMCMacAddress) error

BMCMacAddressHook is the signature for custom BMCMacAddress hook methods

type BMCMacAddressSlice

type BMCMacAddressSlice []*BMCMacAddress

BMCMacAddressSlice is an alias for a slice of pointers to BMCMacAddress. This should almost always be used instead of []BMCMacAddress.

func (BMCMacAddressSlice) DeleteAll

func (o BMCMacAddressSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*BMCMacAddressSlice) ReloadAll

func (o *BMCMacAddressSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (BMCMacAddressSlice) UpdateAll

func (o BMCMacAddressSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type BomInfo

type BomInfo struct {
	SerialNum     string      `boil:"serial_num" json:"serial_num" toml:"serial_num" yaml:"serial_num"`
	AocMacAddress null.String `boil:"aoc_mac_address" json:"aoc_mac_address,omitempty" toml:"aoc_mac_address" yaml:"aoc_mac_address,omitempty"`
	BMCMacAddress null.String `boil:"bmc_mac_address" json:"bmc_mac_address,omitempty" toml:"bmc_mac_address" yaml:"bmc_mac_address,omitempty"`
	NumDefiPmi    null.String `boil:"num_defi_pmi" json:"num_defi_pmi,omitempty" toml:"num_defi_pmi" yaml:"num_defi_pmi,omitempty"`
	NumDefPWD     null.String `boil:"num_def_pwd" json:"num_def_pwd,omitempty" toml:"num_def_pwd" yaml:"num_def_pwd,omitempty"`
	Metro         null.String `boil:"metro" json:"metro,omitempty" toml:"metro" yaml:"metro,omitempty"`

	R *bomInfoR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L bomInfoL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

BomInfo is an object representing the database table.

func FindBomInfo

func FindBomInfo(ctx context.Context, exec boil.ContextExecutor, serialNum string, selectCols ...string) (*BomInfo, error)

FindBomInfo retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*BomInfo) AddSerialNumAocMacAddresses

func (o *BomInfo) AddSerialNumAocMacAddresses(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*AocMacAddress) error

AddSerialNumAocMacAddresses adds the given related objects to the existing relationships of the bom_info, optionally inserting them as new records. Appends related to o.R.SerialNumAocMacAddresses. Sets related.R.SerialNumBomInfo appropriately.

func (*BomInfo) AddSerialNumBMCMacAddresses

func (o *BomInfo) AddSerialNumBMCMacAddresses(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*BMCMacAddress) error

AddSerialNumBMCMacAddresses adds the given related objects to the existing relationships of the bom_info, optionally inserting them as new records. Appends related to o.R.SerialNumBMCMacAddresses. Sets related.R.SerialNumBomInfo appropriately.

func (*BomInfo) Delete

func (o *BomInfo) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single BomInfo record with an executor. Delete will match against the primary key column to find the record to delete.

func (*BomInfo) Exists

func (o *BomInfo) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the BomInfo row exists.

func (*BomInfo) Insert

func (o *BomInfo) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*BomInfo) Reload

func (o *BomInfo) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*BomInfo) SerialNumAocMacAddresses

func (o *BomInfo) SerialNumAocMacAddresses(mods ...qm.QueryMod) aocMacAddressQuery

SerialNumAocMacAddresses retrieves all the aoc_mac_address's AocMacAddresses with an executor via serial_num column.

func (*BomInfo) SerialNumBMCMacAddresses

func (o *BomInfo) SerialNumBMCMacAddresses(mods ...qm.QueryMod) bmcMacAddressQuery

SerialNumBMCMacAddresses retrieves all the bmc_mac_address's BMCMacAddresses with an executor via serial_num column.

func (*BomInfo) Update

func (o *BomInfo) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the BomInfo. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*BomInfo) Upsert

func (o *BomInfo) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type BomInfoHook

type BomInfoHook func(context.Context, boil.ContextExecutor, *BomInfo) error

BomInfoHook is the signature for custom BomInfo hook methods

type BomInfoSlice

type BomInfoSlice []*BomInfo

BomInfoSlice is an alias for a slice of pointers to BomInfo. This should almost always be used instead of []BomInfo.

func (BomInfoSlice) DeleteAll

func (o BomInfoSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*BomInfoSlice) ReloadAll

func (o *BomInfoSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (BomInfoSlice) UpdateAll

func (o BomInfoSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type ComponentFirmwareSet

type ComponentFirmwareSet struct {
	ID        string    `boil:"id" json:"id" toml:"id" yaml:"id"`
	Name      string    `boil:"name" json:"name" toml:"name" yaml:"name"`
	CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"`
	UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"`

	R *componentFirmwareSetR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L componentFirmwareSetL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

ComponentFirmwareSet is an object representing the database table.

func FindComponentFirmwareSet

func FindComponentFirmwareSet(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*ComponentFirmwareSet, error)

FindComponentFirmwareSet retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*ComponentFirmwareSet) AddFirmwareSetAttributesFirmwareSets

func (o *ComponentFirmwareSet) AddFirmwareSetAttributesFirmwareSets(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*AttributesFirmwareSet) error

AddFirmwareSetAttributesFirmwareSets adds the given related objects to the existing relationships of the component_firmware_set, optionally inserting them as new records. Appends related to o.R.FirmwareSetAttributesFirmwareSets. Sets related.R.FirmwareSet appropriately.

func (*ComponentFirmwareSet) AddFirmwareSetComponentFirmwareSetMaps

func (o *ComponentFirmwareSet) AddFirmwareSetComponentFirmwareSetMaps(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*ComponentFirmwareSetMap) error

AddFirmwareSetComponentFirmwareSetMaps adds the given related objects to the existing relationships of the component_firmware_set, optionally inserting them as new records. Appends related to o.R.FirmwareSetComponentFirmwareSetMaps. Sets related.R.FirmwareSet appropriately.

func (*ComponentFirmwareSet) Delete

Delete deletes a single ComponentFirmwareSet record with an executor. Delete will match against the primary key column to find the record to delete.

func (*ComponentFirmwareSet) Exists

Exists checks if the ComponentFirmwareSet row exists.

func (*ComponentFirmwareSet) FirmwareSetAttributesFirmwareSets

func (o *ComponentFirmwareSet) FirmwareSetAttributesFirmwareSets(mods ...qm.QueryMod) attributesFirmwareSetQuery

FirmwareSetAttributesFirmwareSets retrieves all the attributes_firmware_set's AttributesFirmwareSets with an executor via firmware_set_id column.

func (*ComponentFirmwareSet) FirmwareSetComponentFirmwareSetMaps

func (o *ComponentFirmwareSet) FirmwareSetComponentFirmwareSetMaps(mods ...qm.QueryMod) componentFirmwareSetMapQuery

FirmwareSetComponentFirmwareSetMaps retrieves all the component_firmware_set_map's ComponentFirmwareSetMaps with an executor via firmware_set_id column.

func (*ComponentFirmwareSet) Insert

func (o *ComponentFirmwareSet) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*ComponentFirmwareSet) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*ComponentFirmwareSet) RemoveFirmwareSetAttributesFirmwareSets

func (o *ComponentFirmwareSet) RemoveFirmwareSetAttributesFirmwareSets(ctx context.Context, exec boil.ContextExecutor, related ...*AttributesFirmwareSet) error

RemoveFirmwareSetAttributesFirmwareSets relationships from objects passed in. Removes related items from R.FirmwareSetAttributesFirmwareSets (uses pointer comparison, removal does not keep order) Sets related.R.FirmwareSet.

func (*ComponentFirmwareSet) SetFirmwareSetAttributesFirmwareSets

func (o *ComponentFirmwareSet) SetFirmwareSetAttributesFirmwareSets(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*AttributesFirmwareSet) error

SetFirmwareSetAttributesFirmwareSets removes all previously related items of the component_firmware_set replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.FirmwareSet's FirmwareSetAttributesFirmwareSets accordingly. Replaces o.R.FirmwareSetAttributesFirmwareSets with related. Sets related.R.FirmwareSet's FirmwareSetAttributesFirmwareSets accordingly.

func (*ComponentFirmwareSet) Update

func (o *ComponentFirmwareSet) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the ComponentFirmwareSet. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*ComponentFirmwareSet) Upsert

func (o *ComponentFirmwareSet) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type ComponentFirmwareSetHook

type ComponentFirmwareSetHook func(context.Context, boil.ContextExecutor, *ComponentFirmwareSet) error

ComponentFirmwareSetHook is the signature for custom ComponentFirmwareSet hook methods

type ComponentFirmwareSetMap

type ComponentFirmwareSetMap struct {
	ID            string `boil:"id" json:"id" toml:"id" yaml:"id"`
	FirmwareSetID string `boil:"firmware_set_id" json:"firmware_set_id" toml:"firmware_set_id" yaml:"firmware_set_id"`
	FirmwareID    string `boil:"firmware_id" json:"firmware_id" toml:"firmware_id" yaml:"firmware_id"`

	R *componentFirmwareSetMapR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L componentFirmwareSetMapL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

ComponentFirmwareSetMap is an object representing the database table.

func FindComponentFirmwareSetMap

func FindComponentFirmwareSetMap(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*ComponentFirmwareSetMap, error)

FindComponentFirmwareSetMap retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*ComponentFirmwareSetMap) Delete

Delete deletes a single ComponentFirmwareSetMap record with an executor. Delete will match against the primary key column to find the record to delete.

func (*ComponentFirmwareSetMap) Exists

Exists checks if the ComponentFirmwareSetMap row exists.

func (*ComponentFirmwareSetMap) Firmware

func (o *ComponentFirmwareSetMap) Firmware(mods ...qm.QueryMod) componentFirmwareVersionQuery

Firmware pointed to by the foreign key.

func (*ComponentFirmwareSetMap) FirmwareSet

func (o *ComponentFirmwareSetMap) FirmwareSet(mods ...qm.QueryMod) componentFirmwareSetQuery

FirmwareSet pointed to by the foreign key.

func (*ComponentFirmwareSetMap) Insert

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*ComponentFirmwareSetMap) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*ComponentFirmwareSetMap) SetFirmware

func (o *ComponentFirmwareSetMap) SetFirmware(ctx context.Context, exec boil.ContextExecutor, insert bool, related *ComponentFirmwareVersion) error

SetFirmware of the componentFirmwareSetMap to the related item. Sets o.R.Firmware to related. Adds o to related.R.FirmwareComponentFirmwareSetMaps.

func (*ComponentFirmwareSetMap) SetFirmwareSet

func (o *ComponentFirmwareSetMap) SetFirmwareSet(ctx context.Context, exec boil.ContextExecutor, insert bool, related *ComponentFirmwareSet) error

SetFirmwareSet of the componentFirmwareSetMap to the related item. Sets o.R.FirmwareSet to related. Adds o to related.R.FirmwareSetComponentFirmwareSetMaps.

func (*ComponentFirmwareSetMap) Update

Update uses an executor to update the ComponentFirmwareSetMap. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*ComponentFirmwareSetMap) Upsert

func (o *ComponentFirmwareSetMap) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type ComponentFirmwareSetMapHook

type ComponentFirmwareSetMapHook func(context.Context, boil.ContextExecutor, *ComponentFirmwareSetMap) error

ComponentFirmwareSetMapHook is the signature for custom ComponentFirmwareSetMap hook methods

type ComponentFirmwareSetMapSlice

type ComponentFirmwareSetMapSlice []*ComponentFirmwareSetMap

ComponentFirmwareSetMapSlice is an alias for a slice of pointers to ComponentFirmwareSetMap. This should almost always be used instead of []ComponentFirmwareSetMap.

func (ComponentFirmwareSetMapSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*ComponentFirmwareSetMapSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (ComponentFirmwareSetMapSlice) UpdateAll

func (o ComponentFirmwareSetMapSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type ComponentFirmwareSetSlice

type ComponentFirmwareSetSlice []*ComponentFirmwareSet

ComponentFirmwareSetSlice is an alias for a slice of pointers to ComponentFirmwareSet. This should almost always be used instead of []ComponentFirmwareSet.

func (ComponentFirmwareSetSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*ComponentFirmwareSetSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (ComponentFirmwareSetSlice) UpdateAll

func (o ComponentFirmwareSetSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type ComponentFirmwareVersion

type ComponentFirmwareVersion struct {
	ID            string            `boil:"id" json:"id" toml:"id" yaml:"id"`
	Component     string            `boil:"component" json:"component" toml:"component" yaml:"component"`
	Vendor        string            `boil:"vendor" json:"vendor" toml:"vendor" yaml:"vendor"`
	Model         types.StringArray `boil:"model" json:"model" toml:"model" yaml:"model"`
	Filename      string            `boil:"filename" json:"filename" toml:"filename" yaml:"filename"`
	Version       string            `boil:"version" json:"version" toml:"version" yaml:"version"`
	Checksum      string            `boil:"checksum" json:"checksum" toml:"checksum" yaml:"checksum"`
	UpstreamURL   string            `boil:"upstream_url" json:"upstream_url" toml:"upstream_url" yaml:"upstream_url"`
	RepositoryURL string            `boil:"repository_url" json:"repository_url" toml:"repository_url" yaml:"repository_url"`
	CreatedAt     null.Time         `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"`
	UpdatedAt     null.Time         `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"`

	R *componentFirmwareVersionR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L componentFirmwareVersionL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

ComponentFirmwareVersion is an object representing the database table.

func FindComponentFirmwareVersion

func FindComponentFirmwareVersion(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*ComponentFirmwareVersion, error)

FindComponentFirmwareVersion retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*ComponentFirmwareVersion) AddFirmwareComponentFirmwareSetMaps

func (o *ComponentFirmwareVersion) AddFirmwareComponentFirmwareSetMaps(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*ComponentFirmwareSetMap) error

AddFirmwareComponentFirmwareSetMaps adds the given related objects to the existing relationships of the component_firmware_version, optionally inserting them as new records. Appends related to o.R.FirmwareComponentFirmwareSetMaps. Sets related.R.Firmware appropriately.

func (*ComponentFirmwareVersion) Delete

Delete deletes a single ComponentFirmwareVersion record with an executor. Delete will match against the primary key column to find the record to delete.

func (*ComponentFirmwareVersion) Exists

Exists checks if the ComponentFirmwareVersion row exists.

func (*ComponentFirmwareVersion) FirmwareComponentFirmwareSetMaps

func (o *ComponentFirmwareVersion) FirmwareComponentFirmwareSetMaps(mods ...qm.QueryMod) componentFirmwareSetMapQuery

FirmwareComponentFirmwareSetMaps retrieves all the component_firmware_set_map's ComponentFirmwareSetMaps with an executor via firmware_id column.

func (*ComponentFirmwareVersion) Insert

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*ComponentFirmwareVersion) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*ComponentFirmwareVersion) Update

Update uses an executor to update the ComponentFirmwareVersion. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*ComponentFirmwareVersion) Upsert

func (o *ComponentFirmwareVersion) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type ComponentFirmwareVersionHook

type ComponentFirmwareVersionHook func(context.Context, boil.ContextExecutor, *ComponentFirmwareVersion) error

ComponentFirmwareVersionHook is the signature for custom ComponentFirmwareVersion hook methods

type ComponentFirmwareVersionSlice

type ComponentFirmwareVersionSlice []*ComponentFirmwareVersion

ComponentFirmwareVersionSlice is an alias for a slice of pointers to ComponentFirmwareVersion. This should almost always be used instead of []ComponentFirmwareVersion.

func (ComponentFirmwareVersionSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*ComponentFirmwareVersionSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (ComponentFirmwareVersionSlice) UpdateAll

UpdateAll updates all rows with the specified column values, using an executor.

type M

type M map[string]interface{}

M type is for providing columns and column values to UpdateAll.

type Server

type Server struct {
	ID           string      `boil:"id" json:"id" toml:"id" yaml:"id"`
	Name         null.String `boil:"name" json:"name,omitempty" toml:"name" yaml:"name,omitempty"`
	FacilityCode null.String `boil:"facility_code" json:"facility_code,omitempty" toml:"facility_code" yaml:"facility_code,omitempty"`
	CreatedAt    null.Time   `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"`
	UpdatedAt    null.Time   `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"`
	DeletedAt    null.Time   `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`

	R *serverR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L serverL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Server is an object representing the database table.

func FindServer

func FindServer(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Server, error)

FindServer retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*Server) AddAttributes

func (o *Server) AddAttributes(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Attribute) error

AddAttributes adds the given related objects to the existing relationships of the server, optionally inserting them as new records. Appends related to o.R.Attributes. Sets related.R.Server appropriately.

func (*Server) AddServerComponents

func (o *Server) AddServerComponents(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*ServerComponent) error

AddServerComponents adds the given related objects to the existing relationships of the server, optionally inserting them as new records. Appends related to o.R.ServerComponents. Sets related.R.Server appropriately.

func (*Server) AddServerCredentials

func (o *Server) AddServerCredentials(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*ServerCredential) error

AddServerCredentials adds the given related objects to the existing relationships of the server, optionally inserting them as new records. Appends related to o.R.ServerCredentials. Sets related.R.Server appropriately.

func (*Server) AddVersionedAttributes

func (o *Server) AddVersionedAttributes(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*VersionedAttribute) error

AddVersionedAttributes adds the given related objects to the existing relationships of the server, optionally inserting them as new records. Appends related to o.R.VersionedAttributes. Sets related.R.Server appropriately.

func (*Server) Attributes

func (o *Server) Attributes(mods ...qm.QueryMod) attributeQuery

Attributes retrieves all the attribute's Attributes with an executor.

func (*Server) Delete

func (o *Server) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)

Delete deletes a single Server record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Server) Exists

func (o *Server) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the Server row exists.

func (*Server) Insert

func (o *Server) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Server) Reload

func (o *Server) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Server) RemoveAttributes

func (o *Server) RemoveAttributes(ctx context.Context, exec boil.ContextExecutor, related ...*Attribute) error

RemoveAttributes relationships from objects passed in. Removes related items from R.Attributes (uses pointer comparison, removal does not keep order) Sets related.R.Server.

func (*Server) RemoveVersionedAttributes

func (o *Server) RemoveVersionedAttributes(ctx context.Context, exec boil.ContextExecutor, related ...*VersionedAttribute) error

RemoveVersionedAttributes relationships from objects passed in. Removes related items from R.VersionedAttributes (uses pointer comparison, removal does not keep order) Sets related.R.Server.

func (*Server) ServerComponents

func (o *Server) ServerComponents(mods ...qm.QueryMod) serverComponentQuery

ServerComponents retrieves all the server_component's ServerComponents with an executor.

func (*Server) ServerCredentials

func (o *Server) ServerCredentials(mods ...qm.QueryMod) serverCredentialQuery

ServerCredentials retrieves all the server_credential's ServerCredentials with an executor.

func (*Server) SetAttributes

func (o *Server) SetAttributes(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Attribute) error

SetAttributes removes all previously related items of the server replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Server's Attributes accordingly. Replaces o.R.Attributes with related. Sets related.R.Server's Attributes accordingly.

func (*Server) SetVersionedAttributes

func (o *Server) SetVersionedAttributes(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*VersionedAttribute) error

SetVersionedAttributes removes all previously related items of the server replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Server's VersionedAttributes accordingly. Replaces o.R.VersionedAttributes with related. Sets related.R.Server's VersionedAttributes accordingly.

func (*Server) Update

func (o *Server) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Server. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Server) Upsert

func (o *Server) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*Server) VersionedAttributes

func (o *Server) VersionedAttributes(mods ...qm.QueryMod) versionedAttributeQuery

VersionedAttributes retrieves all the versioned_attribute's VersionedAttributes with an executor.

type ServerComponent

type ServerComponent struct {
	ID                    string      `boil:"id" json:"id" toml:"id" yaml:"id"`
	Name                  null.String `boil:"name" json:"name,omitempty" toml:"name" yaml:"name,omitempty"`
	Vendor                null.String `boil:"vendor" json:"vendor,omitempty" toml:"vendor" yaml:"vendor,omitempty"`
	Model                 null.String `boil:"model" json:"model,omitempty" toml:"model" yaml:"model,omitempty"`
	Serial                null.String `boil:"serial" json:"serial,omitempty" toml:"serial" yaml:"serial,omitempty"`
	ServerComponentTypeID string      `` /* 127-byte string literal not displayed */
	ServerID              string      `boil:"server_id" json:"server_id" toml:"server_id" yaml:"server_id"`
	CreatedAt             null.Time   `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"`
	UpdatedAt             null.Time   `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"`

	R *serverComponentR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L serverComponentL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

ServerComponent is an object representing the database table.

func FindServerComponent

func FindServerComponent(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*ServerComponent, error)

FindServerComponent retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*ServerComponent) AddAttributes

func (o *ServerComponent) AddAttributes(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Attribute) error

AddAttributes adds the given related objects to the existing relationships of the server_component, optionally inserting them as new records. Appends related to o.R.Attributes. Sets related.R.ServerComponent appropriately.

func (*ServerComponent) AddVersionedAttributes

func (o *ServerComponent) AddVersionedAttributes(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*VersionedAttribute) error

AddVersionedAttributes adds the given related objects to the existing relationships of the server_component, optionally inserting them as new records. Appends related to o.R.VersionedAttributes. Sets related.R.ServerComponent appropriately.

func (*ServerComponent) Attributes

func (o *ServerComponent) Attributes(mods ...qm.QueryMod) attributeQuery

Attributes retrieves all the attribute's Attributes with an executor.

func (*ServerComponent) Delete

func (o *ServerComponent) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single ServerComponent record with an executor. Delete will match against the primary key column to find the record to delete.

func (*ServerComponent) Exists

func (o *ServerComponent) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the ServerComponent row exists.

func (*ServerComponent) Insert

func (o *ServerComponent) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*ServerComponent) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*ServerComponent) RemoveAttributes

func (o *ServerComponent) RemoveAttributes(ctx context.Context, exec boil.ContextExecutor, related ...*Attribute) error

RemoveAttributes relationships from objects passed in. Removes related items from R.Attributes (uses pointer comparison, removal does not keep order) Sets related.R.ServerComponent.

func (*ServerComponent) RemoveVersionedAttributes

func (o *ServerComponent) RemoveVersionedAttributes(ctx context.Context, exec boil.ContextExecutor, related ...*VersionedAttribute) error

RemoveVersionedAttributes relationships from objects passed in. Removes related items from R.VersionedAttributes (uses pointer comparison, removal does not keep order) Sets related.R.ServerComponent.

func (*ServerComponent) Server

func (o *ServerComponent) Server(mods ...qm.QueryMod) serverQuery

Server pointed to by the foreign key.

func (*ServerComponent) ServerComponentType

func (o *ServerComponent) ServerComponentType(mods ...qm.QueryMod) serverComponentTypeQuery

ServerComponentType pointed to by the foreign key.

func (*ServerComponent) SetAttributes

func (o *ServerComponent) SetAttributes(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Attribute) error

SetAttributes removes all previously related items of the server_component replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ServerComponent's Attributes accordingly. Replaces o.R.Attributes with related. Sets related.R.ServerComponent's Attributes accordingly.

func (*ServerComponent) SetServer

func (o *ServerComponent) SetServer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Server) error

SetServer of the serverComponent to the related item. Sets o.R.Server to related. Adds o to related.R.ServerComponents.

func (*ServerComponent) SetServerComponentType

func (o *ServerComponent) SetServerComponentType(ctx context.Context, exec boil.ContextExecutor, insert bool, related *ServerComponentType) error

SetServerComponentType of the serverComponent to the related item. Sets o.R.ServerComponentType to related. Adds o to related.R.ServerComponents.

func (*ServerComponent) SetVersionedAttributes

func (o *ServerComponent) SetVersionedAttributes(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*VersionedAttribute) error

SetVersionedAttributes removes all previously related items of the server_component replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ServerComponent's VersionedAttributes accordingly. Replaces o.R.VersionedAttributes with related. Sets related.R.ServerComponent's VersionedAttributes accordingly.

func (*ServerComponent) Update

func (o *ServerComponent) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the ServerComponent. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*ServerComponent) Upsert

func (o *ServerComponent) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*ServerComponent) VersionedAttributes

func (o *ServerComponent) VersionedAttributes(mods ...qm.QueryMod) versionedAttributeQuery

VersionedAttributes retrieves all the versioned_attribute's VersionedAttributes with an executor.

type ServerComponentHook

type ServerComponentHook func(context.Context, boil.ContextExecutor, *ServerComponent) error

ServerComponentHook is the signature for custom ServerComponent hook methods

type ServerComponentSlice

type ServerComponentSlice []*ServerComponent

ServerComponentSlice is an alias for a slice of pointers to ServerComponent. This should almost always be used instead of []ServerComponent.

func (ServerComponentSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*ServerComponentSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (ServerComponentSlice) UpdateAll

func (o ServerComponentSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type ServerComponentType

type ServerComponentType struct {
	ID        string    `boil:"id" json:"id" toml:"id" yaml:"id"`
	Name      string    `boil:"name" json:"name" toml:"name" yaml:"name"`
	CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"`
	UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"`
	Slug      string    `boil:"slug" json:"slug" toml:"slug" yaml:"slug"`

	R *serverComponentTypeR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L serverComponentTypeL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

ServerComponentType is an object representing the database table.

func FindServerComponentType

func FindServerComponentType(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*ServerComponentType, error)

FindServerComponentType retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*ServerComponentType) AddServerComponents

func (o *ServerComponentType) AddServerComponents(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*ServerComponent) error

AddServerComponents adds the given related objects to the existing relationships of the server_component_type, optionally inserting them as new records. Appends related to o.R.ServerComponents. Sets related.R.ServerComponentType appropriately.

func (*ServerComponentType) Delete

Delete deletes a single ServerComponentType record with an executor. Delete will match against the primary key column to find the record to delete.

func (*ServerComponentType) Exists

Exists checks if the ServerComponentType row exists.

func (*ServerComponentType) Insert

func (o *ServerComponentType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*ServerComponentType) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*ServerComponentType) ServerComponents

func (o *ServerComponentType) ServerComponents(mods ...qm.QueryMod) serverComponentQuery

ServerComponents retrieves all the server_component's ServerComponents with an executor.

func (*ServerComponentType) Update

func (o *ServerComponentType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the ServerComponentType. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*ServerComponentType) Upsert

func (o *ServerComponentType) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type ServerComponentTypeHook

type ServerComponentTypeHook func(context.Context, boil.ContextExecutor, *ServerComponentType) error

ServerComponentTypeHook is the signature for custom ServerComponentType hook methods

type ServerComponentTypeSlice

type ServerComponentTypeSlice []*ServerComponentType

ServerComponentTypeSlice is an alias for a slice of pointers to ServerComponentType. This should almost always be used instead of []ServerComponentType.

func (ServerComponentTypeSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*ServerComponentTypeSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (ServerComponentTypeSlice) UpdateAll

func (o ServerComponentTypeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type ServerCredential

type ServerCredential struct {
	ID                     string    `boil:"id" json:"id" toml:"id" yaml:"id"`
	ServerID               string    `boil:"server_id" json:"server_id" toml:"server_id" yaml:"server_id"`
	ServerCredentialTypeID string    `` /* 131-byte string literal not displayed */
	Password               string    `boil:"password" json:"password" toml:"password" yaml:"password"`
	CreatedAt              time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt              time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	Username               string    `boil:"username" json:"username" toml:"username" yaml:"username"`

	R *serverCredentialR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L serverCredentialL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

ServerCredential is an object representing the database table.

func FindServerCredential

func FindServerCredential(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*ServerCredential, error)

FindServerCredential retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*ServerCredential) Delete

Delete deletes a single ServerCredential record with an executor. Delete will match against the primary key column to find the record to delete.

func (*ServerCredential) Exists

func (o *ServerCredential) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the ServerCredential row exists.

func (*ServerCredential) Insert

func (o *ServerCredential) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*ServerCredential) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*ServerCredential) Server

func (o *ServerCredential) Server(mods ...qm.QueryMod) serverQuery

Server pointed to by the foreign key.

func (*ServerCredential) ServerCredentialType

func (o *ServerCredential) ServerCredentialType(mods ...qm.QueryMod) serverCredentialTypeQuery

ServerCredentialType pointed to by the foreign key.

func (*ServerCredential) SetServer

func (o *ServerCredential) SetServer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Server) error

SetServer of the serverCredential to the related item. Sets o.R.Server to related. Adds o to related.R.ServerCredentials.

func (*ServerCredential) SetServerCredentialType

func (o *ServerCredential) SetServerCredentialType(ctx context.Context, exec boil.ContextExecutor, insert bool, related *ServerCredentialType) error

SetServerCredentialType of the serverCredential to the related item. Sets o.R.ServerCredentialType to related. Adds o to related.R.ServerCredentials.

func (*ServerCredential) Update

func (o *ServerCredential) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the ServerCredential. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*ServerCredential) Upsert

func (o *ServerCredential) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type ServerCredentialHook

type ServerCredentialHook func(context.Context, boil.ContextExecutor, *ServerCredential) error

ServerCredentialHook is the signature for custom ServerCredential hook methods

type ServerCredentialSlice

type ServerCredentialSlice []*ServerCredential

ServerCredentialSlice is an alias for a slice of pointers to ServerCredential. This should almost always be used instead of []ServerCredential.

func (ServerCredentialSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*ServerCredentialSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (ServerCredentialSlice) UpdateAll

func (o ServerCredentialSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type ServerCredentialType

type ServerCredentialType struct {
	ID        string    `boil:"id" json:"id" toml:"id" yaml:"id"`
	Name      string    `boil:"name" json:"name" toml:"name" yaml:"name"`
	Slug      string    `boil:"slug" json:"slug" toml:"slug" yaml:"slug"`
	Builtin   bool      `boil:"builtin" json:"builtin" toml:"builtin" yaml:"builtin"`
	CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`

	R *serverCredentialTypeR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L serverCredentialTypeL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

ServerCredentialType is an object representing the database table.

func FindServerCredentialType

func FindServerCredentialType(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*ServerCredentialType, error)

FindServerCredentialType retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*ServerCredentialType) AddServerCredentials

func (o *ServerCredentialType) AddServerCredentials(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*ServerCredential) error

AddServerCredentials adds the given related objects to the existing relationships of the server_credential_type, optionally inserting them as new records. Appends related to o.R.ServerCredentials. Sets related.R.ServerCredentialType appropriately.

func (*ServerCredentialType) Delete

Delete deletes a single ServerCredentialType record with an executor. Delete will match against the primary key column to find the record to delete.

func (*ServerCredentialType) Exists

Exists checks if the ServerCredentialType row exists.

func (*ServerCredentialType) Insert

func (o *ServerCredentialType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*ServerCredentialType) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*ServerCredentialType) ServerCredentials

func (o *ServerCredentialType) ServerCredentials(mods ...qm.QueryMod) serverCredentialQuery

ServerCredentials retrieves all the server_credential's ServerCredentials with an executor.

func (*ServerCredentialType) Update

func (o *ServerCredentialType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the ServerCredentialType. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*ServerCredentialType) Upsert

func (o *ServerCredentialType) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type ServerCredentialTypeHook

type ServerCredentialTypeHook func(context.Context, boil.ContextExecutor, *ServerCredentialType) error

ServerCredentialTypeHook is the signature for custom ServerCredentialType hook methods

type ServerCredentialTypeSlice

type ServerCredentialTypeSlice []*ServerCredentialType

ServerCredentialTypeSlice is an alias for a slice of pointers to ServerCredentialType. This should almost always be used instead of []ServerCredentialType.

func (ServerCredentialTypeSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*ServerCredentialTypeSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (ServerCredentialTypeSlice) UpdateAll

func (o ServerCredentialTypeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type ServerHook

type ServerHook func(context.Context, boil.ContextExecutor, *Server) error

ServerHook is the signature for custom Server hook methods

type ServerSlice

type ServerSlice []*Server

ServerSlice is an alias for a slice of pointers to Server. This should almost always be used instead of []Server.

func (ServerSlice) DeleteAll

func (o ServerSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*ServerSlice) ReloadAll

func (o *ServerSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (ServerSlice) UpdateAll

func (o ServerSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type VersionedAttribute

type VersionedAttribute struct {
	ID                string      `boil:"id" json:"id" toml:"id" yaml:"id"`
	ServerID          null.String `boil:"server_id" json:"server_id,omitempty" toml:"server_id" yaml:"server_id,omitempty"`
	Namespace         string      `boil:"namespace" json:"namespace" toml:"namespace" yaml:"namespace"`
	Data              types.JSON  `boil:"data" json:"data" toml:"data" yaml:"data"`
	CreatedAt         null.Time   `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"`
	UpdatedAt         null.Time   `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"`
	ServerComponentID null.String `` /* 127-byte string literal not displayed */
	Tally             int64       `boil:"tally" json:"tally" toml:"tally" yaml:"tally"`

	R *versionedAttributeR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L versionedAttributeL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

VersionedAttribute is an object representing the database table.

func FindVersionedAttribute

func FindVersionedAttribute(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*VersionedAttribute, error)

FindVersionedAttribute retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*VersionedAttribute) Delete

Delete deletes a single VersionedAttribute record with an executor. Delete will match against the primary key column to find the record to delete.

func (*VersionedAttribute) Exists

Exists checks if the VersionedAttribute row exists.

func (*VersionedAttribute) Insert

func (o *VersionedAttribute) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*VersionedAttribute) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*VersionedAttribute) RemoveServer

func (o *VersionedAttribute) RemoveServer(ctx context.Context, exec boil.ContextExecutor, related *Server) error

RemoveServer relationship. Sets o.R.Server to nil. Removes o from all passed in related items' relationships struct.

func (*VersionedAttribute) RemoveServerComponent

func (o *VersionedAttribute) RemoveServerComponent(ctx context.Context, exec boil.ContextExecutor, related *ServerComponent) error

RemoveServerComponent relationship. Sets o.R.ServerComponent to nil. Removes o from all passed in related items' relationships struct.

func (*VersionedAttribute) Server

func (o *VersionedAttribute) Server(mods ...qm.QueryMod) serverQuery

Server pointed to by the foreign key.

func (*VersionedAttribute) ServerComponent

func (o *VersionedAttribute) ServerComponent(mods ...qm.QueryMod) serverComponentQuery

ServerComponent pointed to by the foreign key.

func (*VersionedAttribute) SetServer

func (o *VersionedAttribute) SetServer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Server) error

SetServer of the versionedAttribute to the related item. Sets o.R.Server to related. Adds o to related.R.VersionedAttributes.

func (*VersionedAttribute) SetServerComponent

func (o *VersionedAttribute) SetServerComponent(ctx context.Context, exec boil.ContextExecutor, insert bool, related *ServerComponent) error

SetServerComponent of the versionedAttribute to the related item. Sets o.R.ServerComponent to related. Adds o to related.R.VersionedAttributes.

func (*VersionedAttribute) Update

func (o *VersionedAttribute) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the VersionedAttribute. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*VersionedAttribute) Upsert

func (o *VersionedAttribute) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type VersionedAttributeHook

type VersionedAttributeHook func(context.Context, boil.ContextExecutor, *VersionedAttribute) error

VersionedAttributeHook is the signature for custom VersionedAttribute hook methods

type VersionedAttributeSlice

type VersionedAttributeSlice []*VersionedAttribute

VersionedAttributeSlice is an alias for a slice of pointers to VersionedAttribute. This should almost always be used instead of []VersionedAttribute.

func (VersionedAttributeSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*VersionedAttributeSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (VersionedAttributeSlice) UpdateAll

func (o VersionedAttributeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

Jump to

Keyboard shortcuts

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