models

package
v1.20.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 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 {
	ServerComponent string
	Server          string
}{
	ServerComponent: "ServerComponent",
	Server:          "Server",
}

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 BiosConfigComponentColumns = struct {
	ID                string
	FKBiosConfigSetID string
	Name              string
	Vendor            string
	Model             string
	CreatedAt         string
	UpdatedAt         string
}{
	ID:                "id",
	FKBiosConfigSetID: "fk_bios_config_set_id",
	Name:              "name",
	Vendor:            "vendor",
	Model:             "model",
	CreatedAt:         "created_at",
	UpdatedAt:         "updated_at",
}
View Source
var BiosConfigComponentRels = struct {
	FKBiosConfigSet                         string
	FKBiosConfigComponentBiosConfigSettings string
}{
	FKBiosConfigSet:                         "FKBiosConfigSet",
	FKBiosConfigComponentBiosConfigSettings: "FKBiosConfigComponentBiosConfigSettings",
}

BiosConfigComponentRels is where relationship names are stored.

View Source
var BiosConfigComponentTableColumns = struct {
	ID                string
	FKBiosConfigSetID string
	Name              string
	Vendor            string
	Model             string
	CreatedAt         string
	UpdatedAt         string
}{
	ID:                "bios_config_components.id",
	FKBiosConfigSetID: "bios_config_components.fk_bios_config_set_id",
	Name:              "bios_config_components.name",
	Vendor:            "bios_config_components.vendor",
	Model:             "bios_config_components.model",
	CreatedAt:         "bios_config_components.created_at",
	UpdatedAt:         "bios_config_components.updated_at",
}
View Source
var BiosConfigComponentWhere = struct {
	ID                whereHelperstring
	FKBiosConfigSetID whereHelperstring
	Name              whereHelperstring
	Vendor            whereHelperstring
	Model             whereHelperstring
	CreatedAt         whereHelpernull_Time
	UpdatedAt         whereHelpernull_Time
}{
	ID:                whereHelperstring{/* contains filtered or unexported fields */},
	FKBiosConfigSetID: whereHelperstring{/* contains filtered or unexported fields */},
	Name:              whereHelperstring{/* contains filtered or unexported fields */},
	Vendor:            whereHelperstring{/* contains filtered or unexported fields */},
	Model:             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 BiosConfigSetColumns = struct {
	ID        string
	Name      string
	Version   string
	CreatedAt string
	UpdatedAt string
}{
	ID:        "id",
	Name:      "name",
	Version:   "version",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
}
View Source
var BiosConfigSetRels = struct {
	FKBiosConfigSetBiosConfigComponents string
}{
	FKBiosConfigSetBiosConfigComponents: "FKBiosConfigSetBiosConfigComponents",
}

BiosConfigSetRels is where relationship names are stored.

View Source
var BiosConfigSetTableColumns = struct {
	ID        string
	Name      string
	Version   string
	CreatedAt string
	UpdatedAt string
}{
	ID:        "bios_config_sets.id",
	Name:      "bios_config_sets.name",
	Version:   "bios_config_sets.version",
	CreatedAt: "bios_config_sets.created_at",
	UpdatedAt: "bios_config_sets.updated_at",
}
View Source
var BiosConfigSetWhere = struct {
	ID        whereHelperstring
	Name      whereHelperstring
	Version   whereHelperstring
	CreatedAt whereHelpernull_Time
	UpdatedAt whereHelpernull_Time
}{
	ID:        whereHelperstring{/* contains filtered or unexported fields */},
	Name:      whereHelperstring{/* contains filtered or unexported fields */},
	Version:   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 BiosConfigSettingColumns = struct {
	ID                      string
	FKBiosConfigComponentID string
	SettingsKey             string
	SettingsValue           string
	Raw                     string
	CreatedAt               string
	UpdatedAt               string
}{
	ID:                      "id",
	FKBiosConfigComponentID: "fk_bios_config_component_id",
	SettingsKey:             "settings_key",
	SettingsValue:           "settings_value",
	Raw:                     "raw",
	CreatedAt:               "created_at",
	UpdatedAt:               "updated_at",
}
View Source
var BiosConfigSettingRels = struct {
	FKBiosConfigComponent string
}{
	FKBiosConfigComponent: "FKBiosConfigComponent",
}

BiosConfigSettingRels is where relationship names are stored.

View Source
var BiosConfigSettingTableColumns = struct {
	ID                      string
	FKBiosConfigComponentID string
	SettingsKey             string
	SettingsValue           string
	Raw                     string
	CreatedAt               string
	UpdatedAt               string
}{
	ID:                      "bios_config_settings.id",
	FKBiosConfigComponentID: "bios_config_settings.fk_bios_config_component_id",
	SettingsKey:             "bios_config_settings.settings_key",
	SettingsValue:           "bios_config_settings.settings_value",
	Raw:                     "bios_config_settings.raw",
	CreatedAt:               "bios_config_settings.created_at",
	UpdatedAt:               "bios_config_settings.updated_at",
}
View Source
var BiosConfigSettingWhere = struct {
	ID                      whereHelperstring
	FKBiosConfigComponentID whereHelperstring
	SettingsKey             whereHelperstring
	SettingsValue           whereHelperstring
	Raw                     whereHelpernull_JSON
	CreatedAt               whereHelpernull_Time
	UpdatedAt               whereHelpernull_Time
}{
	ID:                      whereHelperstring{/* contains filtered or unexported fields */},
	FKBiosConfigComponentID: whereHelperstring{/* contains filtered or unexported fields */},
	SettingsKey:             whereHelperstring{/* contains filtered or unexported fields */},
	SettingsValue:           whereHelperstring{/* contains filtered or unexported fields */},
	Raw:                     whereHelpernull_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 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 {
	Firmware    string
	FirmwareSet string
}{
	Firmware:    "Firmware",
	FirmwareSet: "FirmwareSet",
}

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
	FirmwareSetFirmwareSetValidationFacts string
}{
	FirmwareSetAttributesFirmwareSets:     "FirmwareSetAttributesFirmwareSets",
	FirmwareSetComponentFirmwareSetMaps:   "FirmwareSetComponentFirmwareSetMaps",
	FirmwareSetFirmwareSetValidationFacts: "FirmwareSetFirmwareSetValidationFacts",
}

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
	InstallInband string
	Oem           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",
	InstallInband: "install_inband",
	Oem:           "oem",
}
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
	InstallInband string
	Oem           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",
	InstallInband: "component_firmware_version.install_inband",
	Oem:           "component_firmware_version.oem",
}
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
	InstallInband whereHelperbool
	Oem           whereHelperbool
}{
	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 */},
	InstallInband: whereHelperbool{/* contains filtered or unexported fields */},
	Oem:           whereHelperbool{/* 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 EventHistoryColumns = struct {
	EventID      string
	EventType    string
	EventStart   string
	EventEnd     string
	TargetServer string
	Parameters   string
	FinalState   string
	FinalStatus  string
}{
	EventID:      "event_id",
	EventType:    "event_type",
	EventStart:   "event_start",
	EventEnd:     "event_end",
	TargetServer: "target_server",
	Parameters:   "parameters",
	FinalState:   "final_state",
	FinalStatus:  "final_status",
}
View Source
var EventHistoryRels = struct {
	TargetServerServer string
}{
	TargetServerServer: "TargetServerServer",
}

EventHistoryRels is where relationship names are stored.

View Source
var EventHistoryTableColumns = struct {
	EventID      string
	EventType    string
	EventStart   string
	EventEnd     string
	TargetServer string
	Parameters   string
	FinalState   string
	FinalStatus  string
}{
	EventID:      "event_history.event_id",
	EventType:    "event_history.event_type",
	EventStart:   "event_history.event_start",
	EventEnd:     "event_history.event_end",
	TargetServer: "event_history.target_server",
	Parameters:   "event_history.parameters",
	FinalState:   "event_history.final_state",
	FinalStatus:  "event_history.final_status",
}
View Source
var EventHistoryWhere = struct {
	EventID      whereHelperstring
	EventType    whereHelperstring
	EventStart   whereHelpertime_Time
	EventEnd     whereHelpertime_Time
	TargetServer whereHelperstring
	Parameters   whereHelpernull_JSON
	FinalState   whereHelperstring
	FinalStatus  whereHelpernull_JSON
}{
	EventID:      whereHelperstring{/* contains filtered or unexported fields */},
	EventType:    whereHelperstring{/* contains filtered or unexported fields */},
	EventStart:   whereHelpertime_Time{/* contains filtered or unexported fields */},
	EventEnd:     whereHelpertime_Time{/* contains filtered or unexported fields */},
	TargetServer: whereHelperstring{/* contains filtered or unexported fields */},
	Parameters:   whereHelpernull_JSON{/* contains filtered or unexported fields */},
	FinalState:   whereHelperstring{/* contains filtered or unexported fields */},
	FinalStatus:  whereHelpernull_JSON{/* contains filtered or unexported fields */},
}
View Source
var FirmwareSetValidationFactColumns = struct {
	ID             string
	FirmwareSetID  string
	TargetServerID string
	PerformedOn    string
}{
	ID:             "id",
	FirmwareSetID:  "firmware_set_id",
	TargetServerID: "target_server_id",
	PerformedOn:    "performed_on",
}
View Source
var FirmwareSetValidationFactRels = struct {
	FirmwareSet string
}{
	FirmwareSet: "FirmwareSet",
}

FirmwareSetValidationFactRels is where relationship names are stored.

View Source
var FirmwareSetValidationFactTableColumns = struct {
	ID             string
	FirmwareSetID  string
	TargetServerID string
	PerformedOn    string
}{
	ID:             "firmware_set_validation_facts.id",
	FirmwareSetID:  "firmware_set_validation_facts.firmware_set_id",
	TargetServerID: "firmware_set_validation_facts.target_server_id",
	PerformedOn:    "firmware_set_validation_facts.performed_on",
}
View Source
var FirmwareSetValidationFactWhere = struct {
	ID             whereHelperstring
	FirmwareSetID  whereHelperstring
	TargetServerID whereHelperstring
	PerformedOn    whereHelpertime_Time
}{
	ID:             whereHelperstring{/* contains filtered or unexported fields */},
	FirmwareSetID:  whereHelperstring{/* contains filtered or unexported fields */},
	TargetServerID: whereHelperstring{/* contains filtered or unexported fields */},
	PerformedOn:    whereHelpertime_Time{/* contains filtered or unexported fields */},
}
View Source
var HardwareModelColumns = struct {
	ID               string
	HardwareVendorID string
	Name             string
}{
	ID:               "id",
	HardwareVendorID: "hardware_vendor_id",
	Name:             "name",
}
View Source
var HardwareModelRels = struct {
	HardwareVendor string
	ServerBMCS     string
	ModelServers   string
}{
	HardwareVendor: "HardwareVendor",
	ServerBMCS:     "ServerBMCS",
	ModelServers:   "ModelServers",
}

HardwareModelRels is where relationship names are stored.

View Source
var HardwareModelTableColumns = struct {
	ID               string
	HardwareVendorID string
	Name             string
}{
	ID:               "hardware_models.id",
	HardwareVendorID: "hardware_models.hardware_vendor_id",
	Name:             "hardware_models.name",
}
View Source
var HardwareModelWhere = struct {
	ID               whereHelperstring
	HardwareVendorID whereHelperstring
	Name             whereHelperstring
}{
	ID:               whereHelperstring{/* contains filtered or unexported fields */},
	HardwareVendorID: whereHelperstring{/* contains filtered or unexported fields */},
	Name:             whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var HardwareVendorColumns = struct {
	ID   string
	Name string
}{
	ID:   "id",
	Name: "name",
}
View Source
var HardwareVendorRels = struct {
	HardwareModels string
	ServerBMCS     string
	VendorServers  string
}{
	HardwareModels: "HardwareModels",
	ServerBMCS:     "ServerBMCS",
	VendorServers:  "VendorServers",
}

HardwareVendorRels is where relationship names are stored.

View Source
var HardwareVendorTableColumns = struct {
	ID   string
	Name string
}{
	ID:   "hardware_vendors.id",
	Name: "hardware_vendors.name",
}
View Source
var HardwareVendorWhere = struct {
	ID   whereHelperstring
	Name whereHelperstring
}{
	ID:   whereHelperstring{/* contains filtered or unexported fields */},
	Name: whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var InstalledFirmwareColumns = struct {
	ID                string
	ServerComponentID string
	Version           string
	CreatedAt         string
	UpdatedAt         string
	DeletedAt         string
}{
	ID:                "id",
	ServerComponentID: "server_component_id",
	Version:           "version",
	CreatedAt:         "created_at",
	UpdatedAt:         "updated_at",
	DeletedAt:         "deleted_at",
}
View Source
var InstalledFirmwareRels = struct {
	ServerComponent string
}{
	ServerComponent: "ServerComponent",
}

InstalledFirmwareRels is where relationship names are stored.

View Source
var InstalledFirmwareTableColumns = struct {
	ID                string
	ServerComponentID string
	Version           string
	CreatedAt         string
	UpdatedAt         string
	DeletedAt         string
}{
	ID:                "installed_firmware.id",
	ServerComponentID: "installed_firmware.server_component_id",
	Version:           "installed_firmware.version",
	CreatedAt:         "installed_firmware.created_at",
	UpdatedAt:         "installed_firmware.updated_at",
	DeletedAt:         "installed_firmware.deleted_at",
}
View Source
var InstalledFirmwareWhere = struct {
	ID                whereHelperstring
	ServerComponentID whereHelperstring
	Version           whereHelperstring
	CreatedAt         whereHelpernull_Time
	UpdatedAt         whereHelpernull_Time
	DeletedAt         whereHelpernull_Time
}{
	ID:                whereHelperstring{/* contains filtered or unexported fields */},
	ServerComponentID: whereHelperstring{/* contains filtered or unexported fields */},
	Version:           whereHelperstring{/* 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 ServerBMCColumns = struct {
	ID               string
	ServerID         string
	HardwareVendorID string
	HardwareModelID  string
	Username         string
	IPAddress        string
	MacAddress       string
	CreatedAt        string
	UpdatedAt        string
}{
	ID:               "id",
	ServerID:         "server_id",
	HardwareVendorID: "hardware_vendor_id",
	HardwareModelID:  "hardware_model_id",
	Username:         "username",
	IPAddress:        "ip_address",
	MacAddress:       "mac_address",
	CreatedAt:        "created_at",
	UpdatedAt:        "updated_at",
}
View Source
var ServerBMCRels = struct {
	HardwareModel  string
	HardwareVendor string
	Server         string
}{
	HardwareModel:  "HardwareModel",
	HardwareVendor: "HardwareVendor",
	Server:         "Server",
}

ServerBMCRels is where relationship names are stored.

View Source
var ServerBMCTableColumns = struct {
	ID               string
	ServerID         string
	HardwareVendorID string
	HardwareModelID  string
	Username         string
	IPAddress        string
	MacAddress       string
	CreatedAt        string
	UpdatedAt        string
}{
	ID:               "server_bmcs.id",
	ServerID:         "server_bmcs.server_id",
	HardwareVendorID: "server_bmcs.hardware_vendor_id",
	HardwareModelID:  "server_bmcs.hardware_model_id",
	Username:         "server_bmcs.username",
	IPAddress:        "server_bmcs.ip_address",
	MacAddress:       "server_bmcs.mac_address",
	CreatedAt:        "server_bmcs.created_at",
	UpdatedAt:        "server_bmcs.updated_at",
}
View Source
var ServerBMCWhere = struct {
	ID               whereHelperstring
	ServerID         whereHelperstring
	HardwareVendorID whereHelperstring
	HardwareModelID  whereHelperstring
	Username         whereHelperstring
	IPAddress        whereHelperstring
	MacAddress       whereHelpernull_String
	CreatedAt        whereHelpernull_Time
	UpdatedAt        whereHelpernull_Time
}{
	ID:               whereHelperstring{/* contains filtered or unexported fields */},
	ServerID:         whereHelperstring{/* contains filtered or unexported fields */},
	HardwareVendorID: whereHelperstring{/* contains filtered or unexported fields */},
	HardwareModelID:  whereHelperstring{/* contains filtered or unexported fields */},
	Username:         whereHelperstring{/* contains filtered or unexported fields */},
	IPAddress:        whereHelperstring{/* contains filtered or unexported fields */},
	MacAddress:       whereHelpernull_String{/* contains filtered or unexported fields */},
	CreatedAt:        whereHelpernull_Time{/* contains filtered or unexported fields */},
	UpdatedAt:        whereHelpernull_Time{/* contains filtered or unexported fields */},
}
View Source
var ServerColumns = struct {
	ID           string
	Name         string
	FacilityCode string
	CreatedAt    string
	UpdatedAt    string
	DeletedAt    string
	VendorID     string
	SerialNumber string
	ModelID      string
}{
	ID:           "id",
	Name:         "name",
	FacilityCode: "facility_code",
	CreatedAt:    "created_at",
	UpdatedAt:    "updated_at",
	DeletedAt:    "deleted_at",
	VendorID:     "vendor_id",
	SerialNumber: "serial_number",
	ModelID:      "model_id",
}
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 {
	ServerComponentType string
	Server              string
	Attributes          string
	InstalledFirmwares  string
	VersionedAttributes string
}{
	ServerComponentType: "ServerComponentType",
	Server:              "Server",
	Attributes:          "Attributes",
	InstalledFirmwares:  "InstalledFirmwares",
	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 {
	Server               string
	ServerCredentialType string
}{
	Server:               "Server",
	ServerCredentialType: "ServerCredentialType",
}

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 {
	Model                      string
	Vendor                     string
	ServerBMC                  string
	Attributes                 string
	TargetServerEventHistories string
	ServerComponents           string
	ServerCredentials          string
	VersionedAttributes        string
}{
	Model:                      "Model",
	Vendor:                     "Vendor",
	ServerBMC:                  "ServerBMC",
	Attributes:                 "Attributes",
	TargetServerEventHistories: "TargetServerEventHistories",
	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
	VendorID     string
	SerialNumber string
	ModelID      string
}{
	ID:           "servers.id",
	Name:         "servers.name",
	FacilityCode: "servers.facility_code",
	CreatedAt:    "servers.created_at",
	UpdatedAt:    "servers.updated_at",
	DeletedAt:    "servers.deleted_at",
	VendorID:     "servers.vendor_id",
	SerialNumber: "servers.serial_number",
	ModelID:      "servers.model_id",
}
View Source
var ServerWhere = struct {
	ID           whereHelperstring
	Name         whereHelpernull_String
	FacilityCode whereHelpernull_String
	CreatedAt    whereHelpernull_Time
	UpdatedAt    whereHelpernull_Time
	DeletedAt    whereHelpernull_Time
	VendorID     whereHelpernull_String
	SerialNumber whereHelpernull_String
	ModelID      whereHelpernull_String
}{
	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 */},
	VendorID:     whereHelpernull_String{/* contains filtered or unexported fields */},
	SerialNumber: whereHelpernull_String{/* contains filtered or unexported fields */},
	ModelID:      whereHelpernull_String{/* contains filtered or unexported fields */},
}
View Source
var TableNames = struct {
	AocMacAddress              string
	Attributes                 string
	AttributesFirmwareSet      string
	BiosConfigComponents       string
	BiosConfigSets             string
	BiosConfigSettings         string
	BMCMacAddress              string
	BomInfo                    string
	ComponentFirmwareSet       string
	ComponentFirmwareSetMap    string
	ComponentFirmwareVersion   string
	EventHistory               string
	FirmwareSetValidationFacts string
	HardwareModels             string
	HardwareVendors            string
	InstalledFirmware          string
	ServerBMCS                 string
	ServerComponentTypes       string
	ServerComponents           string
	ServerCredentialTypes      string
	ServerCredentials          string
	Servers                    string
	VersionedAttributes        string
}{
	AocMacAddress:              "aoc_mac_address",
	Attributes:                 "attributes",
	AttributesFirmwareSet:      "attributes_firmware_set",
	BiosConfigComponents:       "bios_config_components",
	BiosConfigSets:             "bios_config_sets",
	BiosConfigSettings:         "bios_config_settings",
	BMCMacAddress:              "bmc_mac_address",
	BomInfo:                    "bom_info",
	ComponentFirmwareSet:       "component_firmware_set",
	ComponentFirmwareSetMap:    "component_firmware_set_map",
	ComponentFirmwareVersion:   "component_firmware_version",
	EventHistory:               "event_history",
	FirmwareSetValidationFacts: "firmware_set_validation_facts",
	HardwareModels:             "hardware_models",
	HardwareVendors:            "hardware_vendors",
	InstalledFirmware:          "installed_firmware",
	ServerBMCS:                 "server_bmcs",
	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 {
	ServerComponent string
	Server          string
}{
	ServerComponent: "ServerComponent",
	Server:          "Server",
}

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 AddBiosConfigComponentHook

func AddBiosConfigComponentHook(hookPoint boil.HookPoint, biosConfigComponentHook BiosConfigComponentHook)

AddBiosConfigComponentHook registers your hook function for all future operations.

func AddBiosConfigSetHook

func AddBiosConfigSetHook(hookPoint boil.HookPoint, biosConfigSetHook BiosConfigSetHook)

AddBiosConfigSetHook registers your hook function for all future operations.

func AddBiosConfigSettingHook

func AddBiosConfigSettingHook(hookPoint boil.HookPoint, biosConfigSettingHook BiosConfigSettingHook)

AddBiosConfigSettingHook 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 AddEventHistoryHook

func AddEventHistoryHook(hookPoint boil.HookPoint, eventHistoryHook EventHistoryHook)

AddEventHistoryHook registers your hook function for all future operations.

func AddFirmwareSetValidationFactHook

func AddFirmwareSetValidationFactHook(hookPoint boil.HookPoint, firmwareSetValidationFactHook FirmwareSetValidationFactHook)

AddFirmwareSetValidationFactHook registers your hook function for all future operations.

func AddHardwareModelHook added in v1.20.1

func AddHardwareModelHook(hookPoint boil.HookPoint, hardwareModelHook HardwareModelHook)

AddHardwareModelHook registers your hook function for all future operations.

func AddHardwareVendorHook added in v1.20.1

func AddHardwareVendorHook(hookPoint boil.HookPoint, hardwareVendorHook HardwareVendorHook)

AddHardwareVendorHook registers your hook function for all future operations.

func AddInstalledFirmwareHook added in v1.20.1

func AddInstalledFirmwareHook(hookPoint boil.HookPoint, installedFirmwareHook InstalledFirmwareHook)

AddInstalledFirmwareHook registers your hook function for all future operations.

func AddServerBMCHook added in v1.20.1

func AddServerBMCHook(hookPoint boil.HookPoint, serverBMCHook ServerBMCHook)

AddServerBMCHook 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 BiosConfigComponentExists

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

BiosConfigComponentExists checks if the BiosConfigComponent row exists.

func BiosConfigComponents

func BiosConfigComponents(mods ...qm.QueryMod) biosConfigComponentQuery

BiosConfigComponents retrieves all the records using an executor.

func BiosConfigSetExists

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

BiosConfigSetExists checks if the BiosConfigSet row exists.

func BiosConfigSets

func BiosConfigSets(mods ...qm.QueryMod) biosConfigSetQuery

BiosConfigSets retrieves all the records using an executor.

func BiosConfigSettingExists

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

BiosConfigSettingExists checks if the BiosConfigSetting row exists.

func BiosConfigSettings

func BiosConfigSettings(mods ...qm.QueryMod) biosConfigSettingQuery

BiosConfigSettings 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 EventHistories

func EventHistories(mods ...qm.QueryMod) eventHistoryQuery

EventHistories retrieves all the records using an executor.

func EventHistoryExists

func EventHistoryExists(ctx context.Context, exec boil.ContextExecutor, eventID string, eventType string, targetServer string) (bool, error)

EventHistoryExists checks if the EventHistory row exists.

func FirmwareSetValidationFactExists

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

FirmwareSetValidationFactExists checks if the FirmwareSetValidationFact row exists.

func FirmwareSetValidationFacts

func FirmwareSetValidationFacts(mods ...qm.QueryMod) firmwareSetValidationFactQuery

FirmwareSetValidationFacts retrieves all the records using an executor.

func HardwareModelExists added in v1.20.1

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

HardwareModelExists checks if the HardwareModel row exists.

func HardwareModels added in v1.20.1

func HardwareModels(mods ...qm.QueryMod) hardwareModelQuery

HardwareModels retrieves all the records using an executor.

func HardwareVendorExists added in v1.20.1

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

HardwareVendorExists checks if the HardwareVendor row exists.

func HardwareVendors added in v1.20.1

func HardwareVendors(mods ...qm.QueryMod) hardwareVendorQuery

HardwareVendors retrieves all the records using an executor.

func InstalledFirmwareExists added in v1.20.1

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

InstalledFirmwareExists checks if the InstalledFirmware row exists.

func InstalledFirmwares added in v1.20.1

func InstalledFirmwares(mods ...qm.QueryMod) installedFirmwareQuery

InstalledFirmwares 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 ServerBMCExists added in v1.20.1

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

ServerBMCExists checks if the ServerBMC row exists.

func ServerBMCS added in v1.20.1

func ServerBMCS(mods ...qm.QueryMod) serverBMCQuery

ServerBMCS retrieves all the records using an executor.

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 BiosConfigComponent

type BiosConfigComponent struct {
	ID                string    `boil:"id" json:"id" toml:"id" yaml:"id"`
	FKBiosConfigSetID string    `boil:"fk_bios_config_set_id" json:"fk_bios_config_set_id" toml:"fk_bios_config_set_id" yaml:"fk_bios_config_set_id"`
	Name              string    `boil:"name" json:"name" toml:"name" yaml:"name"`
	Vendor            string    `boil:"vendor" json:"vendor" toml:"vendor" yaml:"vendor"`
	Model             string    `boil:"model" json:"model" toml:"model" yaml:"model"`
	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 *biosConfigComponentR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L biosConfigComponentL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

BiosConfigComponent is an object representing the database table.

func FindBiosConfigComponent

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

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

func (*BiosConfigComponent) AddFKBiosConfigComponentBiosConfigSettings

func (o *BiosConfigComponent) AddFKBiosConfigComponentBiosConfigSettings(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*BiosConfigSetting) error

AddFKBiosConfigComponentBiosConfigSettings adds the given related objects to the existing relationships of the bios_config_component, optionally inserting them as new records. Appends related to o.R.FKBiosConfigComponentBiosConfigSettings. Sets related.R.FKBiosConfigComponent appropriately.

func (*BiosConfigComponent) Delete

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

func (*BiosConfigComponent) Exists

Exists checks if the BiosConfigComponent row exists.

func (*BiosConfigComponent) FKBiosConfigComponentBiosConfigSettings

func (o *BiosConfigComponent) FKBiosConfigComponentBiosConfigSettings(mods ...qm.QueryMod) biosConfigSettingQuery

FKBiosConfigComponentBiosConfigSettings retrieves all the bios_config_setting's BiosConfigSettings with an executor via fk_bios_config_component_id column.

func (*BiosConfigComponent) FKBiosConfigSet

func (o *BiosConfigComponent) FKBiosConfigSet(mods ...qm.QueryMod) biosConfigSetQuery

FKBiosConfigSet pointed to by the foreign key.

func (*BiosConfigComponent) Insert

func (o *BiosConfigComponent) 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 (*BiosConfigComponent) Reload

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

func (*BiosConfigComponent) SetFKBiosConfigSet

func (o *BiosConfigComponent) SetFKBiosConfigSet(ctx context.Context, exec boil.ContextExecutor, insert bool, related *BiosConfigSet) error

SetFKBiosConfigSet of the biosConfigComponent to the related item. Sets o.R.FKBiosConfigSet to related. Adds o to related.R.FKBiosConfigSetBiosConfigComponents.

func (*BiosConfigComponent) Update

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

Update uses an executor to update the BiosConfigComponent. 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 (*BiosConfigComponent) Upsert

func (o *BiosConfigComponent) 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 BiosConfigComponentHook

type BiosConfigComponentHook func(context.Context, boil.ContextExecutor, *BiosConfigComponent) error

BiosConfigComponentHook is the signature for custom BiosConfigComponent hook methods

type BiosConfigComponentSlice

type BiosConfigComponentSlice []*BiosConfigComponent

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

func (BiosConfigComponentSlice) DeleteAll

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

func (*BiosConfigComponentSlice) ReloadAll

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

func (BiosConfigComponentSlice) UpdateAll

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

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

type BiosConfigSet

type BiosConfigSet struct {
	ID        string    `boil:"id" json:"id" toml:"id" yaml:"id"`
	Name      string    `boil:"name" json:"name" toml:"name" yaml:"name"`
	Version   string    `boil:"version" json:"version" toml:"version" yaml:"version"`
	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 *biosConfigSetR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L biosConfigSetL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

BiosConfigSet is an object representing the database table.

func FindBiosConfigSet

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

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

func (*BiosConfigSet) AddFKBiosConfigSetBiosConfigComponents

func (o *BiosConfigSet) AddFKBiosConfigSetBiosConfigComponents(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*BiosConfigComponent) error

AddFKBiosConfigSetBiosConfigComponents adds the given related objects to the existing relationships of the bios_config_set, optionally inserting them as new records. Appends related to o.R.FKBiosConfigSetBiosConfigComponents. Sets related.R.FKBiosConfigSet appropriately.

func (*BiosConfigSet) Delete

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

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

func (*BiosConfigSet) Exists

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

Exists checks if the BiosConfigSet row exists.

func (*BiosConfigSet) FKBiosConfigSetBiosConfigComponents

func (o *BiosConfigSet) FKBiosConfigSetBiosConfigComponents(mods ...qm.QueryMod) biosConfigComponentQuery

FKBiosConfigSetBiosConfigComponents retrieves all the bios_config_component's BiosConfigComponents with an executor via fk_bios_config_set_id column.

func (*BiosConfigSet) Insert

func (o *BiosConfigSet) 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 (*BiosConfigSet) Reload

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

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

func (*BiosConfigSet) Update

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

Update uses an executor to update the BiosConfigSet. 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 (*BiosConfigSet) Upsert

func (o *BiosConfigSet) 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 BiosConfigSetHook

type BiosConfigSetHook func(context.Context, boil.ContextExecutor, *BiosConfigSet) error

BiosConfigSetHook is the signature for custom BiosConfigSet hook methods

type BiosConfigSetSlice

type BiosConfigSetSlice []*BiosConfigSet

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

func (BiosConfigSetSlice) DeleteAll

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

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

func (*BiosConfigSetSlice) ReloadAll

func (o *BiosConfigSetSlice) 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 (BiosConfigSetSlice) UpdateAll

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

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

type BiosConfigSetting

type BiosConfigSetting struct {
	ID                      string    `boil:"id" json:"id" toml:"id" yaml:"id"`
	FKBiosConfigComponentID string    `` /* 139-byte string literal not displayed */
	SettingsKey             string    `boil:"settings_key" json:"settings_key" toml:"settings_key" yaml:"settings_key"`
	SettingsValue           string    `boil:"settings_value" json:"settings_value" toml:"settings_value" yaml:"settings_value"`
	Raw                     null.JSON `boil:"raw" json:"raw,omitempty" toml:"raw" yaml:"raw,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"`

	R *biosConfigSettingR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L biosConfigSettingL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

BiosConfigSetting is an object representing the database table.

func FindBiosConfigSetting

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

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

func (*BiosConfigSetting) Delete

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

func (*BiosConfigSetting) Exists

Exists checks if the BiosConfigSetting row exists.

func (*BiosConfigSetting) FKBiosConfigComponent

func (o *BiosConfigSetting) FKBiosConfigComponent(mods ...qm.QueryMod) biosConfigComponentQuery

FKBiosConfigComponent pointed to by the foreign key.

func (*BiosConfigSetting) Insert

func (o *BiosConfigSetting) 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 (*BiosConfigSetting) Reload

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

func (*BiosConfigSetting) SetFKBiosConfigComponent

func (o *BiosConfigSetting) SetFKBiosConfigComponent(ctx context.Context, exec boil.ContextExecutor, insert bool, related *BiosConfigComponent) error

SetFKBiosConfigComponent of the biosConfigSetting to the related item. Sets o.R.FKBiosConfigComponent to related. Adds o to related.R.FKBiosConfigComponentBiosConfigSettings.

func (*BiosConfigSetting) Update

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

Update uses an executor to update the BiosConfigSetting. 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 (*BiosConfigSetting) Upsert

func (o *BiosConfigSetting) 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 BiosConfigSettingHook

type BiosConfigSettingHook func(context.Context, boil.ContextExecutor, *BiosConfigSetting) error

BiosConfigSettingHook is the signature for custom BiosConfigSetting hook methods

type BiosConfigSettingSlice

type BiosConfigSettingSlice []*BiosConfigSetting

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

func (BiosConfigSettingSlice) DeleteAll

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

func (*BiosConfigSettingSlice) ReloadAll

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

func (BiosConfigSettingSlice) UpdateAll

func (o BiosConfigSettingSlice) 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) AddFirmwareSetFirmwareSetValidationFacts

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

AddFirmwareSetFirmwareSetValidationFacts 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.FirmwareSetFirmwareSetValidationFacts. 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) FirmwareSetFirmwareSetValidationFacts

func (o *ComponentFirmwareSet) FirmwareSetFirmwareSetValidationFacts(mods ...qm.QueryMod) firmwareSetValidationFactQuery

FirmwareSetFirmwareSetValidationFacts retrieves all the firmware_set_validation_fact's FirmwareSetValidationFacts 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"`
	InstallInband bool              `boil:"install_inband" json:"install_inband" toml:"install_inband" yaml:"install_inband"`
	Oem           bool              `boil:"oem" json:"oem" toml:"oem" yaml:"oem"`

	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 EventHistory

type EventHistory struct {
	EventID      string    `boil:"event_id" json:"event_id" toml:"event_id" yaml:"event_id"`
	EventType    string    `boil:"event_type" json:"event_type" toml:"event_type" yaml:"event_type"`
	EventStart   time.Time `boil:"event_start" json:"event_start" toml:"event_start" yaml:"event_start"`
	EventEnd     time.Time `boil:"event_end" json:"event_end" toml:"event_end" yaml:"event_end"`
	TargetServer string    `boil:"target_server" json:"target_server" toml:"target_server" yaml:"target_server"`
	Parameters   null.JSON `boil:"parameters" json:"parameters,omitempty" toml:"parameters" yaml:"parameters,omitempty"`
	FinalState   string    `boil:"final_state" json:"final_state" toml:"final_state" yaml:"final_state"`
	FinalStatus  null.JSON `boil:"final_status" json:"final_status,omitempty" toml:"final_status" yaml:"final_status,omitempty"`

	R *eventHistoryR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L eventHistoryL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

EventHistory is an object representing the database table.

func FindEventHistory

func FindEventHistory(ctx context.Context, exec boil.ContextExecutor, eventID string, eventType string, targetServer string, selectCols ...string) (*EventHistory, error)

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

func (*EventHistory) Delete

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

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

func (*EventHistory) Exists

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

Exists checks if the EventHistory row exists.

func (*EventHistory) Insert

func (o *EventHistory) 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 (*EventHistory) Reload

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

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

func (*EventHistory) SetTargetServerServer

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

SetTargetServerServer of the eventHistory to the related item. Sets o.R.TargetServerServer to related. Adds o to related.R.TargetServerEventHistories.

func (*EventHistory) TargetServerServer

func (o *EventHistory) TargetServerServer(mods ...qm.QueryMod) serverQuery

TargetServerServer pointed to by the foreign key.

func (*EventHistory) Update

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

Update uses an executor to update the EventHistory. 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 (*EventHistory) Upsert

func (o *EventHistory) 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 EventHistoryHook

type EventHistoryHook func(context.Context, boil.ContextExecutor, *EventHistory) error

EventHistoryHook is the signature for custom EventHistory hook methods

type EventHistorySlice

type EventHistorySlice []*EventHistory

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

func (EventHistorySlice) DeleteAll

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

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

func (*EventHistorySlice) ReloadAll

func (o *EventHistorySlice) 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 (EventHistorySlice) UpdateAll

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

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

type FirmwareSetValidationFact

type FirmwareSetValidationFact 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"`
	TargetServerID string    `boil:"target_server_id" json:"target_server_id" toml:"target_server_id" yaml:"target_server_id"`
	PerformedOn    time.Time `boil:"performed_on" json:"performed_on" toml:"performed_on" yaml:"performed_on"`

	R *firmwareSetValidationFactR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L firmwareSetValidationFactL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

FirmwareSetValidationFact is an object representing the database table.

func FindFirmwareSetValidationFact

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

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

func (*FirmwareSetValidationFact) Delete

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

func (*FirmwareSetValidationFact) Exists

Exists checks if the FirmwareSetValidationFact row exists.

func (*FirmwareSetValidationFact) FirmwareSet

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

FirmwareSet pointed to by the foreign key.

func (*FirmwareSetValidationFact) Insert

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

func (*FirmwareSetValidationFact) Reload

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

func (*FirmwareSetValidationFact) SetFirmwareSet

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

SetFirmwareSet of the firmwareSetValidationFact to the related item. Sets o.R.FirmwareSet to related. Adds o to related.R.FirmwareSetFirmwareSetValidationFacts.

func (*FirmwareSetValidationFact) Update

Update uses an executor to update the FirmwareSetValidationFact. 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 (*FirmwareSetValidationFact) Upsert

func (o *FirmwareSetValidationFact) 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 FirmwareSetValidationFactHook

type FirmwareSetValidationFactHook func(context.Context, boil.ContextExecutor, *FirmwareSetValidationFact) error

FirmwareSetValidationFactHook is the signature for custom FirmwareSetValidationFact hook methods

type FirmwareSetValidationFactSlice

type FirmwareSetValidationFactSlice []*FirmwareSetValidationFact

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

func (FirmwareSetValidationFactSlice) DeleteAll

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

func (*FirmwareSetValidationFactSlice) ReloadAll

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

func (FirmwareSetValidationFactSlice) UpdateAll

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

type HardwareModel added in v1.20.1

type HardwareModel struct {
	ID               string `boil:"id" json:"id" toml:"id" yaml:"id"`
	HardwareVendorID string `boil:"hardware_vendor_id" json:"hardware_vendor_id" toml:"hardware_vendor_id" yaml:"hardware_vendor_id"`
	Name             string `boil:"name" json:"name" toml:"name" yaml:"name"`

	R *hardwareModelR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L hardwareModelL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

HardwareModel is an object representing the database table.

func FindHardwareModel added in v1.20.1

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

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

func (*HardwareModel) AddModelServers added in v1.20.1

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

AddModelServers adds the given related objects to the existing relationships of the hardware_model, optionally inserting them as new records. Appends related to o.R.ModelServers. Sets related.R.Model appropriately.

func (*HardwareModel) AddServerBMCS added in v1.20.1

func (o *HardwareModel) AddServerBMCS(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*ServerBMC) error

AddServerBMCS adds the given related objects to the existing relationships of the hardware_model, optionally inserting them as new records. Appends related to o.R.ServerBMCS. Sets related.R.HardwareModel appropriately.

func (*HardwareModel) Delete added in v1.20.1

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

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

func (*HardwareModel) Exists added in v1.20.1

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

Exists checks if the HardwareModel row exists.

func (*HardwareModel) HardwareVendor added in v1.20.1

func (o *HardwareModel) HardwareVendor(mods ...qm.QueryMod) hardwareVendorQuery

HardwareVendor pointed to by the foreign key.

func (*HardwareModel) Insert added in v1.20.1

func (o *HardwareModel) 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 (*HardwareModel) ModelServers added in v1.20.1

func (o *HardwareModel) ModelServers(mods ...qm.QueryMod) serverQuery

ModelServers retrieves all the server's Servers with an executor via model_id column.

func (*HardwareModel) Reload added in v1.20.1

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

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

func (*HardwareModel) RemoveModelServers added in v1.20.1

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

RemoveModelServers relationships from objects passed in. Removes related items from R.ModelServers (uses pointer comparison, removal does not keep order) Sets related.R.Model.

func (*HardwareModel) ServerBMCS added in v1.20.1

func (o *HardwareModel) ServerBMCS(mods ...qm.QueryMod) serverBMCQuery

ServerBMCS retrieves all the server_bmc's ServerBMCS with an executor.

func (*HardwareModel) SetHardwareVendor added in v1.20.1

func (o *HardwareModel) SetHardwareVendor(ctx context.Context, exec boil.ContextExecutor, insert bool, related *HardwareVendor) error

SetHardwareVendor of the hardwareModel to the related item. Sets o.R.HardwareVendor to related. Adds o to related.R.HardwareModels.

func (*HardwareModel) SetModelServers added in v1.20.1

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

SetModelServers removes all previously related items of the hardware_model replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Model's ModelServers accordingly. Replaces o.R.ModelServers with related. Sets related.R.Model's ModelServers accordingly.

func (*HardwareModel) Update added in v1.20.1

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

Update uses an executor to update the HardwareModel. 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 (*HardwareModel) Upsert added in v1.20.1

func (o *HardwareModel) 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 HardwareModelHook added in v1.20.1

type HardwareModelHook func(context.Context, boil.ContextExecutor, *HardwareModel) error

HardwareModelHook is the signature for custom HardwareModel hook methods

type HardwareModelSlice added in v1.20.1

type HardwareModelSlice []*HardwareModel

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

func (HardwareModelSlice) DeleteAll added in v1.20.1

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

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

func (*HardwareModelSlice) ReloadAll added in v1.20.1

func (o *HardwareModelSlice) 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 (HardwareModelSlice) UpdateAll added in v1.20.1

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

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

type HardwareVendor added in v1.20.1

type HardwareVendor struct {
	ID   string `boil:"id" json:"id" toml:"id" yaml:"id"`
	Name string `boil:"name" json:"name" toml:"name" yaml:"name"`

	R *hardwareVendorR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L hardwareVendorL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

HardwareVendor is an object representing the database table.

func FindHardwareVendor added in v1.20.1

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

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

func (*HardwareVendor) AddHardwareModels added in v1.20.1

func (o *HardwareVendor) AddHardwareModels(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*HardwareModel) error

AddHardwareModels adds the given related objects to the existing relationships of the hardware_vendor, optionally inserting them as new records. Appends related to o.R.HardwareModels. Sets related.R.HardwareVendor appropriately.

func (*HardwareVendor) AddServerBMCS added in v1.20.1

func (o *HardwareVendor) AddServerBMCS(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*ServerBMC) error

AddServerBMCS adds the given related objects to the existing relationships of the hardware_vendor, optionally inserting them as new records. Appends related to o.R.ServerBMCS. Sets related.R.HardwareVendor appropriately.

func (*HardwareVendor) AddVendorServers added in v1.20.1

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

AddVendorServers adds the given related objects to the existing relationships of the hardware_vendor, optionally inserting them as new records. Appends related to o.R.VendorServers. Sets related.R.Vendor appropriately.

func (*HardwareVendor) Delete added in v1.20.1

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

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

func (*HardwareVendor) Exists added in v1.20.1

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

Exists checks if the HardwareVendor row exists.

func (*HardwareVendor) HardwareModels added in v1.20.1

func (o *HardwareVendor) HardwareModels(mods ...qm.QueryMod) hardwareModelQuery

HardwareModels retrieves all the hardware_model's HardwareModels with an executor.

func (*HardwareVendor) Insert added in v1.20.1

func (o *HardwareVendor) 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 (*HardwareVendor) Reload added in v1.20.1

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

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

func (*HardwareVendor) RemoveVendorServers added in v1.20.1

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

RemoveVendorServers relationships from objects passed in. Removes related items from R.VendorServers (uses pointer comparison, removal does not keep order) Sets related.R.Vendor.

func (*HardwareVendor) ServerBMCS added in v1.20.1

func (o *HardwareVendor) ServerBMCS(mods ...qm.QueryMod) serverBMCQuery

ServerBMCS retrieves all the server_bmc's ServerBMCS with an executor.

func (*HardwareVendor) SetVendorServers added in v1.20.1

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

SetVendorServers removes all previously related items of the hardware_vendor replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Vendor's VendorServers accordingly. Replaces o.R.VendorServers with related. Sets related.R.Vendor's VendorServers accordingly.

func (*HardwareVendor) Update added in v1.20.1

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

Update uses an executor to update the HardwareVendor. 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 (*HardwareVendor) Upsert added in v1.20.1

func (o *HardwareVendor) 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 (*HardwareVendor) VendorServers added in v1.20.1

func (o *HardwareVendor) VendorServers(mods ...qm.QueryMod) serverQuery

VendorServers retrieves all the server's Servers with an executor via vendor_id column.

type HardwareVendorHook added in v1.20.1

type HardwareVendorHook func(context.Context, boil.ContextExecutor, *HardwareVendor) error

HardwareVendorHook is the signature for custom HardwareVendor hook methods

type HardwareVendorSlice added in v1.20.1

type HardwareVendorSlice []*HardwareVendor

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

func (HardwareVendorSlice) DeleteAll added in v1.20.1

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

func (*HardwareVendorSlice) ReloadAll added in v1.20.1

func (o *HardwareVendorSlice) 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 (HardwareVendorSlice) UpdateAll added in v1.20.1

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

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

type InstalledFirmware added in v1.20.1

type InstalledFirmware struct {
	ID                string    `boil:"id" json:"id" toml:"id" yaml:"id"`
	ServerComponentID string    `boil:"server_component_id" json:"server_component_id" toml:"server_component_id" yaml:"server_component_id"`
	Version           string    `boil:"version" json:"version" toml:"version" yaml:"version"`
	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 *installedFirmwareR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L installedFirmwareL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

InstalledFirmware is an object representing the database table.

func FindInstalledFirmware added in v1.20.1

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

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

func (*InstalledFirmware) Delete added in v1.20.1

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

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

func (*InstalledFirmware) Exists added in v1.20.1

Exists checks if the InstalledFirmware row exists.

func (*InstalledFirmware) Insert added in v1.20.1

func (o *InstalledFirmware) 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 (*InstalledFirmware) Reload added in v1.20.1

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

func (*InstalledFirmware) ServerComponent added in v1.20.1

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

ServerComponent pointed to by the foreign key.

func (*InstalledFirmware) SetServerComponent added in v1.20.1

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

SetServerComponent of the installedFirmware to the related item. Sets o.R.ServerComponent to related. Adds o to related.R.InstalledFirmwares.

func (*InstalledFirmware) Update added in v1.20.1

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

Update uses an executor to update the InstalledFirmware. 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 (*InstalledFirmware) Upsert added in v1.20.1

func (o *InstalledFirmware) 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 InstalledFirmwareHook added in v1.20.1

type InstalledFirmwareHook func(context.Context, boil.ContextExecutor, *InstalledFirmware) error

InstalledFirmwareHook is the signature for custom InstalledFirmware hook methods

type InstalledFirmwareSlice added in v1.20.1

type InstalledFirmwareSlice []*InstalledFirmware

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

func (InstalledFirmwareSlice) DeleteAll added in v1.20.1

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

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

func (*InstalledFirmwareSlice) ReloadAll added in v1.20.1

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

func (InstalledFirmwareSlice) UpdateAll added in v1.20.1

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

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"`
	VendorID     null.String `boil:"vendor_id" json:"vendor_id,omitempty" toml:"vendor_id" yaml:"vendor_id,omitempty"`
	SerialNumber null.String `boil:"serial_number" json:"serial_number,omitempty" toml:"serial_number" yaml:"serial_number,omitempty"`
	ModelID      null.String `boil:"model_id" json:"model_id,omitempty" toml:"model_id" yaml:"model_id,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) AddTargetServerEventHistories

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

AddTargetServerEventHistories adds the given related objects to the existing relationships of the server, optionally inserting them as new records. Appends related to o.R.TargetServerEventHistories. Sets related.R.TargetServerServer 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) Model added in v1.20.1

func (o *Server) Model(mods ...qm.QueryMod) hardwareModelQuery

Model pointed to by the foreign key.

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) RemoveModel added in v1.20.1

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

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

func (*Server) RemoveVendor added in v1.20.1

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

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

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) ServerBMC added in v1.20.1

func (o *Server) ServerBMC(mods ...qm.QueryMod) serverBMCQuery

ServerBMC pointed to by the foreign key.

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) SetModel added in v1.20.1

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

SetModel of the server to the related item. Sets o.R.Model to related. Adds o to related.R.ModelServers.

func (*Server) SetServerBMC added in v1.20.1

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

SetServerBMC of the server to the related item. Sets o.R.ServerBMC to related. Adds o to related.R.Server.

func (*Server) SetVendor added in v1.20.1

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

SetVendor of the server to the related item. Sets o.R.Vendor to related. Adds o to related.R.VendorServers.

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) TargetServerEventHistories

func (o *Server) TargetServerEventHistories(mods ...qm.QueryMod) eventHistoryQuery

TargetServerEventHistories retrieves all the event_history's EventHistories with an executor via target_server column.

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) Vendor added in v1.20.1

func (o *Server) Vendor(mods ...qm.QueryMod) hardwareVendorQuery

Vendor pointed to by the foreign key.

func (*Server) VersionedAttributes

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

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

type ServerBMC added in v1.20.1

type ServerBMC 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"`
	HardwareVendorID string      `boil:"hardware_vendor_id" json:"hardware_vendor_id" toml:"hardware_vendor_id" yaml:"hardware_vendor_id"`
	HardwareModelID  string      `boil:"hardware_model_id" json:"hardware_model_id" toml:"hardware_model_id" yaml:"hardware_model_id"`
	Username         string      `boil:"username" json:"username" toml:"username" yaml:"username"`
	IPAddress        string      `boil:"ip_address" json:"ip_address" toml:"ip_address" yaml:"ip_address"`
	MacAddress       null.String `boil:"mac_address" json:"mac_address,omitempty" toml:"mac_address" yaml:"mac_address,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"`

	R *serverBMCR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L serverBMCL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

ServerBMC is an object representing the database table.

func FindServerBMC added in v1.20.1

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

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

func (*ServerBMC) Delete added in v1.20.1

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

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

func (*ServerBMC) Exists added in v1.20.1

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

Exists checks if the ServerBMC row exists.

func (*ServerBMC) HardwareModel added in v1.20.1

func (o *ServerBMC) HardwareModel(mods ...qm.QueryMod) hardwareModelQuery

HardwareModel pointed to by the foreign key.

func (*ServerBMC) HardwareVendor added in v1.20.1

func (o *ServerBMC) HardwareVendor(mods ...qm.QueryMod) hardwareVendorQuery

HardwareVendor pointed to by the foreign key.

func (*ServerBMC) Insert added in v1.20.1

func (o *ServerBMC) 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 (*ServerBMC) Reload added in v1.20.1

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

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

func (*ServerBMC) Server added in v1.20.1

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

Server pointed to by the foreign key.

func (*ServerBMC) SetHardwareModel added in v1.20.1

func (o *ServerBMC) SetHardwareModel(ctx context.Context, exec boil.ContextExecutor, insert bool, related *HardwareModel) error

SetHardwareModel of the serverBMC to the related item. Sets o.R.HardwareModel to related. Adds o to related.R.ServerBMCS.

func (*ServerBMC) SetHardwareVendor added in v1.20.1

func (o *ServerBMC) SetHardwareVendor(ctx context.Context, exec boil.ContextExecutor, insert bool, related *HardwareVendor) error

SetHardwareVendor of the serverBMC to the related item. Sets o.R.HardwareVendor to related. Adds o to related.R.ServerBMCS.

func (*ServerBMC) SetServer added in v1.20.1

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

SetServer of the serverBMC to the related item. Sets o.R.Server to related. Adds o to related.R.ServerBMC.

func (*ServerBMC) Update added in v1.20.1

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

Update uses an executor to update the ServerBMC. 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 (*ServerBMC) Upsert added in v1.20.1

func (o *ServerBMC) 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 ServerBMCHook added in v1.20.1

type ServerBMCHook func(context.Context, boil.ContextExecutor, *ServerBMC) error

ServerBMCHook is the signature for custom ServerBMC hook methods

type ServerBMCSlice added in v1.20.1

type ServerBMCSlice []*ServerBMC

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

func (ServerBMCSlice) DeleteAll added in v1.20.1

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

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

func (*ServerBMCSlice) ReloadAll added in v1.20.1

func (o *ServerBMCSlice) 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 (ServerBMCSlice) UpdateAll added in v1.20.1

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

UpdateAll updates all rows with the specified column values, using 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) AddInstalledFirmwares added in v1.20.1

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

AddInstalledFirmwares adds the given related objects to the existing relationships of the server_component, optionally inserting them as new records. Appends related to o.R.InstalledFirmwares. 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) InstalledFirmwares added in v1.20.1

func (o *ServerComponent) InstalledFirmwares(mods ...qm.QueryMod) installedFirmwareQuery

InstalledFirmwares retrieves all the installed_firmware's InstalledFirmwares with an executor.

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