models

package
v1.19.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

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

AocMacAddressRels is where relationship names are stored.

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

AttributeRels is where relationship names are stored.

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

AttributesFirmwareSetRels is where relationship names are stored.

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

BMCMacAddressRels is where relationship names are stored.

View Source
var BMCMacAddressTableColumns = struct {
	BMCMacAddress string
	SerialNum     string
}{
	BMCMacAddress: "bmc_mac_address.bmc_mac_address",
	SerialNum:     "bmc_mac_address.serial_num",
}
View Source
var BMCMacAddressWhere = struct {
	BMCMacAddress whereHelperstring
	SerialNum     whereHelperstring
}{
	BMCMacAddress: whereHelperstring{/* contains filtered or unexported fields */},
	SerialNum:     whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var 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 {
	FirmwareSet string
	Firmware    string
}{
	FirmwareSet: "FirmwareSet",
	Firmware:    "Firmware",
}

ComponentFirmwareSetMapRels is where relationship names are stored.

View Source
var ComponentFirmwareSetMapTableColumns = struct {
	ID            string
	FirmwareSetID string
	FirmwareID    string
}{
	ID:            "component_firmware_set_map.id",
	FirmwareSetID: "component_firmware_set_map.firmware_set_id",
	FirmwareID:    "component_firmware_set_map.firmware_id",
}
View Source
var ComponentFirmwareSetMapWhere = struct {
	ID            whereHelperstring
	FirmwareSetID whereHelperstring
	FirmwareID    whereHelperstring
}{
	ID:            whereHelperstring{/* contains filtered or unexported fields */},
	FirmwareSetID: whereHelperstring{/* contains filtered or unexported fields */},
	FirmwareID:    whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var ComponentFirmwareSetRels = struct {
	FirmwareSetAttributesFirmwareSets     string
	FirmwareSetComponentFirmwareSetMaps   string
	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 ServerColumns = struct {
	ID           string
	Name         string
	FacilityCode string
	CreatedAt    string
	UpdatedAt    string
	DeletedAt    string
}{
	ID:           "id",
	Name:         "name",
	FacilityCode: "facility_code",
	CreatedAt:    "created_at",
	UpdatedAt:    "updated_at",
	DeletedAt:    "deleted_at",
}
View Source
var ServerComponentColumns = struct {
	ID                    string
	Name                  string
	Vendor                string
	Model                 string
	Serial                string
	ServerComponentTypeID string
	ServerID              string
	CreatedAt             string
	UpdatedAt             string
}{
	ID:                    "id",
	Name:                  "name",
	Vendor:                "vendor",
	Model:                 "model",
	Serial:                "serial",
	ServerComponentTypeID: "server_component_type_id",
	ServerID:              "server_id",
	CreatedAt:             "created_at",
	UpdatedAt:             "updated_at",
}
View Source
var ServerComponentRels = struct {
	Server              string
	ServerComponentType string
	Attributes          string
	VersionedAttributes string
}{
	Server:              "Server",
	ServerComponentType: "ServerComponentType",
	Attributes:          "Attributes",
	VersionedAttributes: "VersionedAttributes",
}

ServerComponentRels is where relationship names are stored.

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

ServerComponentTypeRels is where relationship names are stored.

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

ServerCredentialRels is where relationship names are stored.

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

ServerCredentialTypeRels is where relationship names are stored.

View Source
var ServerCredentialTypeTableColumns = struct {
	ID        string
	Name      string
	Slug      string
	Builtin   string
	CreatedAt string
	UpdatedAt string
}{
	ID:        "server_credential_types.id",
	Name:      "server_credential_types.name",
	Slug:      "server_credential_types.slug",
	Builtin:   "server_credential_types.builtin",
	CreatedAt: "server_credential_types.created_at",
	UpdatedAt: "server_credential_types.updated_at",
}
View Source
var ServerCredentialTypeWhere = struct {
	ID        whereHelperstring
	Name      whereHelperstring
	Slug      whereHelperstring
	Builtin   whereHelperbool
	CreatedAt whereHelpertime_Time
	UpdatedAt whereHelpertime_Time
}{
	ID:        whereHelperstring{/* contains filtered or unexported fields */},
	Name:      whereHelperstring{/* contains filtered or unexported fields */},
	Slug:      whereHelperstring{/* contains filtered or unexported fields */},
	Builtin:   whereHelperbool{/* contains filtered or unexported fields */},
	CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
}
View Source
var ServerCredentialWhere = struct {
	ID                     whereHelperstring
	ServerID               whereHelperstring
	ServerCredentialTypeID whereHelperstring
	Password               whereHelperstring
	CreatedAt              whereHelpertime_Time
	UpdatedAt              whereHelpertime_Time
	Username               whereHelperstring
}{
	ID:                     whereHelperstring{/* contains filtered or unexported fields */},
	ServerID:               whereHelperstring{/* contains filtered or unexported fields */},
	ServerCredentialTypeID: whereHelperstring{/* contains filtered or unexported fields */},
	Password:               whereHelperstring{/* contains filtered or unexported fields */},
	CreatedAt:              whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt:              whereHelpertime_Time{/* contains filtered or unexported fields */},
	Username:               whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var ServerRels = struct {
	Attributes                 string
	TargetServerEventHistories string
	ServerComponents           string
	ServerCredentials          string
	VersionedAttributes        string
}{
	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
}{
	ID:           "servers.id",
	Name:         "servers.name",
	FacilityCode: "servers.facility_code",
	CreatedAt:    "servers.created_at",
	UpdatedAt:    "servers.updated_at",
	DeletedAt:    "servers.deleted_at",
}
View Source
var ServerWhere = struct {
	ID           whereHelperstring
	Name         whereHelpernull_String
	FacilityCode whereHelpernull_String
	CreatedAt    whereHelpernull_Time
	UpdatedAt    whereHelpernull_Time
	DeletedAt    whereHelpernull_Time
}{
	ID:           whereHelperstring{/* contains filtered or unexported fields */},
	Name:         whereHelpernull_String{/* contains filtered or unexported fields */},
	FacilityCode: whereHelpernull_String{/* contains filtered or unexported fields */},
	CreatedAt:    whereHelpernull_Time{/* contains filtered or unexported fields */},
	UpdatedAt:    whereHelpernull_Time{/* contains filtered or unexported fields */},
	DeletedAt:    whereHelpernull_Time{/* contains filtered or unexported fields */},
}
View Source
var TableNames = struct {
	AocMacAddress              string
	Attributes                 string
	AttributesFirmwareSet      string
	BiosConfigComponents       string
	BiosConfigSets             string
	BiosConfigSettings         string
	BMCMacAddress              string
	BomInfo                    string
	ComponentFirmwareSet       string
	ComponentFirmwareSetMap    string
	ComponentFirmwareVersion   string
	EventHistory               string
	FirmwareSetValidationFacts 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",
	ServerComponentTypes:       "server_component_types",
	ServerComponents:           "server_components",
	ServerCredentialTypes:      "server_credential_types",
	ServerCredentials:          "server_credentials",
	Servers:                    "servers",
	VersionedAttributes:        "versioned_attributes",
}
View Source
var VersionedAttributeColumns = struct {
	ID                string
	ServerID          string
	Namespace         string
	Data              string
	CreatedAt         string
	UpdatedAt         string
	ServerComponentID string
	Tally             string
}{
	ID:                "id",
	ServerID:          "server_id",
	Namespace:         "namespace",
	Data:              "data",
	CreatedAt:         "created_at",
	UpdatedAt:         "updated_at",
	ServerComponentID: "server_component_id",
	Tally:             "tally",
}
View Source
var VersionedAttributeRels = struct {
	Server          string
	ServerComponent string
}{
	Server:          "Server",
	ServerComponent: "ServerComponent",
}

VersionedAttributeRels is where relationship names are stored.

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

Functions

func AddAocMacAddressHook

func AddAocMacAddressHook(hookPoint boil.HookPoint, aocMacAddressHook AocMacAddressHook)

AddAocMacAddressHook registers your hook function for all future operations.

func AddAttributeHook

func AddAttributeHook(hookPoint boil.HookPoint, attributeHook AttributeHook)

AddAttributeHook registers your hook function for all future operations.

func AddAttributesFirmwareSetHook

func AddAttributesFirmwareSetHook(hookPoint boil.HookPoint, attributesFirmwareSetHook AttributesFirmwareSetHook)

AddAttributesFirmwareSetHook registers your hook function for all future operations.

func AddBMCMacAddressHook

func AddBMCMacAddressHook(hookPoint boil.HookPoint, bmcMacAddressHook BMCMacAddressHook)

AddBMCMacAddressHook registers your hook function for all future operations.

func AddBiosConfigComponentHook added in v0.18.0

func AddBiosConfigComponentHook(hookPoint boil.HookPoint, biosConfigComponentHook BiosConfigComponentHook)

AddBiosConfigComponentHook registers your hook function for all future operations.

func AddBiosConfigSetHook added in v0.18.0

func AddBiosConfigSetHook(hookPoint boil.HookPoint, biosConfigSetHook BiosConfigSetHook)

AddBiosConfigSetHook registers your hook function for all future operations.

func AddBiosConfigSettingHook added in v0.18.0

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 added in v1.19.0

func AddEventHistoryHook(hookPoint boil.HookPoint, eventHistoryHook EventHistoryHook)

AddEventHistoryHook registers your hook function for all future operations.

func AddFirmwareSetValidationFactHook added in v1.19.4

func AddFirmwareSetValidationFactHook(hookPoint boil.HookPoint, firmwareSetValidationFactHook FirmwareSetValidationFactHook)

AddFirmwareSetValidationFactHook 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 added in v0.18.0

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

BiosConfigComponentExists checks if the BiosConfigComponent row exists.

func BiosConfigComponents added in v0.18.0

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

BiosConfigComponents retrieves all the records using an executor.

func BiosConfigSetExists added in v0.18.0

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

BiosConfigSetExists checks if the BiosConfigSet row exists.

func BiosConfigSets added in v0.18.0

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

BiosConfigSets retrieves all the records using an executor.

func BiosConfigSettingExists added in v0.18.0

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

BiosConfigSettingExists checks if the BiosConfigSetting row exists.

func BiosConfigSettings added in v0.18.0

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 added in v1.19.0

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

EventHistories retrieves all the records using an executor.

func EventHistoryExists added in v1.19.0

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 added in v1.19.4

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

FirmwareSetValidationFactExists checks if the FirmwareSetValidationFact row exists.

func FirmwareSetValidationFacts added in v1.19.4

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

FirmwareSetValidationFacts retrieves all the records using an executor.

func NewQuery

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

NewQuery initializes a new Query using the passed in QueryMods

func ServerComponentExists

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

ServerComponentExists checks if the ServerComponent row exists.

func ServerComponentTypeExists

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

ServerComponentTypeExists checks if the ServerComponentType row exists.

func ServerComponentTypes

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

ServerComponentTypes retrieves all the records using an executor.

func ServerComponents

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

ServerComponents retrieves all the records using an executor.

func ServerCredentialExists

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

ServerCredentialExists checks if the ServerCredential row exists.

func ServerCredentialTypeExists

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

ServerCredentialTypeExists checks if the ServerCredentialType row exists.

func ServerCredentialTypes

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

ServerCredentialTypes retrieves all the records using an executor.

func ServerCredentials

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

ServerCredentials retrieves all the records using an executor.

func ServerExists

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

ServerExists checks if the Server row exists.

func Servers

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

Servers retrieves all the records using an executor.

func VersionedAttributeExists

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

VersionedAttributeExists checks if the VersionedAttribute row exists.

func VersionedAttributes

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

VersionedAttributes retrieves all the records using an executor.

Types

type AocMacAddress

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

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

AocMacAddress is an object representing the database table.

func FindAocMacAddress

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

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

func (*AocMacAddress) Delete

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

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

func (*AocMacAddress) Exists

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

Exists checks if the AocMacAddress row exists.

func (*AocMacAddress) Insert

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

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

func (*AocMacAddress) Reload

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

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

func (*AocMacAddress) SerialNumBomInfo

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

SerialNumBomInfo pointed to by the foreign key.

func (*AocMacAddress) SetSerialNumBomInfo

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

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

func (*AocMacAddress) Update

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

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

func (*AocMacAddress) Upsert

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

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

type AocMacAddressHook

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

AocMacAddressHook is the signature for custom AocMacAddress hook methods

type AocMacAddressSlice

type AocMacAddressSlice []*AocMacAddress

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

func (AocMacAddressSlice) DeleteAll

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

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

func (*AocMacAddressSlice) ReloadAll

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

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

func (AocMacAddressSlice) UpdateAll

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

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

type Attribute

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

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

Attribute is an object representing the database table.

func FindAttribute

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

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

func (*Attribute) Delete

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

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

func (*Attribute) Exists

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

Exists checks if the Attribute row exists.

func (*Attribute) Insert

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

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

func (*Attribute) Reload

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

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

func (*Attribute) RemoveServer

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

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

func (*Attribute) RemoveServerComponent

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

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

func (*Attribute) Server

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

Server pointed to by the foreign key.

func (*Attribute) ServerComponent

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

ServerComponent pointed to by the foreign key.

func (*Attribute) SetServer

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

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

func (*Attribute) SetServerComponent

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

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

func (*Attribute) Update

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

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

func (*Attribute) Upsert

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

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

type AttributeHook

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

AttributeHook is the signature for custom Attribute hook methods

type AttributeSlice

type AttributeSlice []*Attribute

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

func (AttributeSlice) DeleteAll

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

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

func (*AttributeSlice) ReloadAll

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

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

func (AttributeSlice) UpdateAll

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

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

type AttributesFirmwareSet

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

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

AttributesFirmwareSet is an object representing the database table.

func FindAttributesFirmwareSet

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

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

func (*AttributesFirmwareSet) Delete

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

func (*AttributesFirmwareSet) Exists

Exists checks if the AttributesFirmwareSet row exists.

func (*AttributesFirmwareSet) FirmwareSet

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

FirmwareSet pointed to by the foreign key.

func (*AttributesFirmwareSet) Insert

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

func (*AttributesFirmwareSet) Reload

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

func (*AttributesFirmwareSet) RemoveFirmwareSet

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

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

func (*AttributesFirmwareSet) SetFirmwareSet

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

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

func (*AttributesFirmwareSet) Update

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

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

func (*AttributesFirmwareSet) Upsert

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

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

type AttributesFirmwareSetHook

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

AttributesFirmwareSetHook is the signature for custom AttributesFirmwareSet hook methods

type AttributesFirmwareSetSlice

type AttributesFirmwareSetSlice []*AttributesFirmwareSet

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

func (AttributesFirmwareSetSlice) DeleteAll

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

func (*AttributesFirmwareSetSlice) ReloadAll

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

func (AttributesFirmwareSetSlice) UpdateAll

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

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

type BMCMacAddress

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

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

BMCMacAddress is an object representing the database table.

func FindBMCMacAddress

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

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

func (*BMCMacAddress) Delete

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

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

func (*BMCMacAddress) Exists

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

Exists checks if the BMCMacAddress row exists.

func (*BMCMacAddress) Insert

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

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

func (*BMCMacAddress) Reload

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

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

func (*BMCMacAddress) SerialNumBomInfo

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

SerialNumBomInfo pointed to by the foreign key.

func (*BMCMacAddress) SetSerialNumBomInfo

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

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

func (*BMCMacAddress) Update

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

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

func (*BMCMacAddress) Upsert

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

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

type BMCMacAddressHook

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

BMCMacAddressHook is the signature for custom BMCMacAddress hook methods

type BMCMacAddressSlice

type BMCMacAddressSlice []*BMCMacAddress

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

func (BMCMacAddressSlice) DeleteAll

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

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

func (*BMCMacAddressSlice) ReloadAll

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

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

func (BMCMacAddressSlice) UpdateAll

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

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

type BiosConfigComponent added in v0.18.0

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 added in v0.18.0

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 added in v0.18.0

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 added in v0.18.0

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 added in v0.18.0

Exists checks if the BiosConfigComponent row exists.

func (*BiosConfigComponent) FKBiosConfigComponentBiosConfigSettings added in v0.18.0

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 added in v0.18.0

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

FKBiosConfigSet pointed to by the foreign key.

func (*BiosConfigComponent) Insert added in v0.18.0

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 added in v0.18.0

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

func (*BiosConfigComponent) SetFKBiosConfigSet added in v0.18.0

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 added in v0.18.0

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 added in v0.18.0

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 added in v0.18.0

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

BiosConfigComponentHook is the signature for custom BiosConfigComponent hook methods

type BiosConfigComponentSlice added in v0.18.0

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 added in v0.18.0

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

func (*BiosConfigComponentSlice) ReloadAll added in v0.18.0

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

func (BiosConfigComponentSlice) UpdateAll added in v0.18.0

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 added in v0.18.0

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 added in v0.18.0

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 added in v0.18.0

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 added in v0.18.0

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 added in v0.18.0

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

Exists checks if the BiosConfigSet row exists.

func (*BiosConfigSet) FKBiosConfigSetBiosConfigComponents added in v0.18.0

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 added in v0.18.0

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 added in v0.18.0

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 added in v0.18.0

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 added in v0.18.0

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 added in v0.18.0

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

BiosConfigSetHook is the signature for custom BiosConfigSet hook methods

type BiosConfigSetSlice added in v0.18.0

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 added in v0.18.0

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 added in v0.18.0

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 added in v0.18.0

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 added in v0.18.0

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 added in v0.18.0

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 added in v0.18.0

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 added in v0.18.0

Exists checks if the BiosConfigSetting row exists.

func (*BiosConfigSetting) FKBiosConfigComponent added in v0.18.0

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

FKBiosConfigComponent pointed to by the foreign key.

func (*BiosConfigSetting) Insert added in v0.18.0

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 added in v0.18.0

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

func (*BiosConfigSetting) SetFKBiosConfigComponent added in v0.18.0

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 added in v0.18.0

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 added in v0.18.0

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 added in v0.18.0

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

BiosConfigSettingHook is the signature for custom BiosConfigSetting hook methods

type BiosConfigSettingSlice added in v0.18.0

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 added in v0.18.0

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

func (*BiosConfigSettingSlice) ReloadAll added in v0.18.0

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

func (BiosConfigSettingSlice) UpdateAll added in v0.18.0

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 added in v1.19.4

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 added in v1.19.4

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 added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

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

Exists checks if the EventHistory row exists.

func (*EventHistory) Insert added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

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

TargetServerServer pointed to by the foreign key.

func (*EventHistory) Update added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

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

EventHistoryHook is the signature for custom EventHistory hook methods

type EventHistorySlice added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

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 added in v1.19.4

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 added in v1.19.4

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 added in v1.19.4

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 added in v1.19.4

Exists checks if the FirmwareSetValidationFact row exists.

func (*FirmwareSetValidationFact) FirmwareSet added in v1.19.4

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

FirmwareSet pointed to by the foreign key.

func (*FirmwareSetValidationFact) Insert added in v1.19.4

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

func (*FirmwareSetValidationFact) Reload added in v1.19.4

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

func (*FirmwareSetValidationFact) SetFirmwareSet added in v1.19.4

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 added in v1.19.4

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 added in v1.19.4

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 added in v1.19.4

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

FirmwareSetValidationFactHook is the signature for custom FirmwareSetValidationFact hook methods

type FirmwareSetValidationFactSlice added in v1.19.4

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 added in v1.19.4

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

func (*FirmwareSetValidationFactSlice) ReloadAll added in v1.19.4

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

func (FirmwareSetValidationFactSlice) UpdateAll added in v1.19.4

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

type M

type M map[string]interface{}

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

type Server

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

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

Server is an object representing the database table.

func FindServer

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

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

func (*Server) AddAttributes

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

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

func (*Server) AddServerComponents

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

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

func (*Server) AddServerCredentials

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

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

func (*Server) AddTargetServerEventHistories added in v1.19.0

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

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

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

func (*Server) RemoveAttributes

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

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

func (*Server) RemoveVersionedAttributes

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

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

func (*Server) ServerComponents

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

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

func (*Server) ServerCredentials

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

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

func (*Server) SetAttributes

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

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

func (*Server) SetVersionedAttributes

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

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

func (*Server) TargetServerEventHistories added in v1.19.0

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

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

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

type ServerComponent

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

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

ServerComponent is an object representing the database table.

func FindServerComponent

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

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

func (*ServerComponent) AddAttributes

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

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

func (*ServerComponent) AddVersionedAttributes

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

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

func (*ServerComponent) Attributes

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

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

func (*ServerComponent) Delete

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

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

func (*ServerComponent) Exists

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

Exists checks if the ServerComponent row exists.

func (*ServerComponent) Insert

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

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

func (*ServerComponent) Reload

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

func (*ServerComponent) RemoveAttributes

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

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

func (*ServerComponent) RemoveVersionedAttributes

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

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

func (*ServerComponent) Server

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

Server pointed to by the foreign key.

func (*ServerComponent) ServerComponentType

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

ServerComponentType pointed to by the foreign key.

func (*ServerComponent) SetAttributes

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

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

func (*ServerComponent) SetServer

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

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

func (*ServerComponent) SetServerComponentType

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

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

func (*ServerComponent) SetVersionedAttributes

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

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

func (*ServerComponent) Update

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

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

func (*ServerComponent) Upsert

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

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

func (*ServerComponent) VersionedAttributes

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

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

type ServerComponentHook

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

ServerComponentHook is the signature for custom ServerComponent hook methods

type ServerComponentSlice

type ServerComponentSlice []*ServerComponent

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

func (ServerComponentSlice) DeleteAll

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

func (*ServerComponentSlice) ReloadAll

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

func (ServerComponentSlice) UpdateAll

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

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

type ServerComponentType

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

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

ServerComponentType is an object representing the database table.

func FindServerComponentType

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

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

func (*ServerComponentType) AddServerComponents

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

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

func (*ServerComponentType) Delete

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

func (*ServerComponentType) Exists

Exists checks if the ServerComponentType row exists.

func (*ServerComponentType) Insert

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

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

func (*ServerComponentType) Reload

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

func (*ServerComponentType) ServerComponents

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

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

func (*ServerComponentType) Update

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

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

func (*ServerComponentType) Upsert

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

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

type ServerComponentTypeHook

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

ServerComponentTypeHook is the signature for custom ServerComponentType hook methods

type ServerComponentTypeSlice

type ServerComponentTypeSlice []*ServerComponentType

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

func (ServerComponentTypeSlice) DeleteAll

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

func (*ServerComponentTypeSlice) ReloadAll

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

func (ServerComponentTypeSlice) UpdateAll

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

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

type ServerCredential

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

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

ServerCredential is an object representing the database table.

func FindServerCredential

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

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

func (*ServerCredential) Delete

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

func (*ServerCredential) Exists

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

Exists checks if the ServerCredential row exists.

func (*ServerCredential) Insert

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

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

func (*ServerCredential) Reload

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

func (*ServerCredential) Server

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

Server pointed to by the foreign key.

func (*ServerCredential) ServerCredentialType

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

ServerCredentialType pointed to by the foreign key.

func (*ServerCredential) SetServer

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

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

func (*ServerCredential) SetServerCredentialType

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

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

func (*ServerCredential) Update

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

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

func (*ServerCredential) Upsert

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

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

type ServerCredentialHook

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

ServerCredentialHook is the signature for custom ServerCredential hook methods

type ServerCredentialSlice

type ServerCredentialSlice []*ServerCredential

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

func (ServerCredentialSlice) DeleteAll

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

func (*ServerCredentialSlice) ReloadAll

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

func (ServerCredentialSlice) UpdateAll

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

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

type ServerCredentialType

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

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

ServerCredentialType is an object representing the database table.

func FindServerCredentialType

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

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

func (*ServerCredentialType) AddServerCredentials

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

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

func (*ServerCredentialType) Delete

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

func (*ServerCredentialType) Exists

Exists checks if the ServerCredentialType row exists.

func (*ServerCredentialType) Insert

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

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

func (*ServerCredentialType) Reload

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

func (*ServerCredentialType) ServerCredentials

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

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

func (*ServerCredentialType) Update

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

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

func (*ServerCredentialType) Upsert

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

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

type ServerCredentialTypeHook

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

ServerCredentialTypeHook is the signature for custom ServerCredentialType hook methods

type ServerCredentialTypeSlice

type ServerCredentialTypeSlice []*ServerCredentialType

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

func (ServerCredentialTypeSlice) DeleteAll

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

func (*ServerCredentialTypeSlice) ReloadAll

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

func (ServerCredentialTypeSlice) UpdateAll

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

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

type ServerHook

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

ServerHook is the signature for custom Server hook methods

type ServerSlice

type ServerSlice []*Server

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

func (ServerSlice) DeleteAll

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

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

func (*ServerSlice) ReloadAll

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

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

func (ServerSlice) UpdateAll

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

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

type VersionedAttribute

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

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

VersionedAttribute is an object representing the database table.

func FindVersionedAttribute

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

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

func (*VersionedAttribute) Delete

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

func (*VersionedAttribute) Exists

Exists checks if the VersionedAttribute row exists.

func (*VersionedAttribute) Insert

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

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

func (*VersionedAttribute) Reload

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

func (*VersionedAttribute) RemoveServer

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

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

func (*VersionedAttribute) RemoveServerComponent

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

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

func (*VersionedAttribute) Server

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

Server pointed to by the foreign key.

func (*VersionedAttribute) ServerComponent

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

ServerComponent pointed to by the foreign key.

func (*VersionedAttribute) SetServer

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

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

func (*VersionedAttribute) SetServerComponent

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

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

func (*VersionedAttribute) Update

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

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

func (*VersionedAttribute) Upsert

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

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

type VersionedAttributeHook

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

VersionedAttributeHook is the signature for custom VersionedAttribute hook methods

type VersionedAttributeSlice

type VersionedAttributeSlice []*VersionedAttribute

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

func (VersionedAttributeSlice) DeleteAll

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

func (*VersionedAttributeSlice) ReloadAll

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

func (VersionedAttributeSlice) UpdateAll

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

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

Jump to

Keyboard shortcuts

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