Documentation
¶
Index ¶
- Variables
- func AddAttributeHook(hookPoint boil.HookPoint, attributeHook AttributeHook)
- func AddAttributesFirmwareSetHook(hookPoint boil.HookPoint, attributesFirmwareSetHook AttributesFirmwareSetHook)
- func AddComponentFirmwareSetHook(hookPoint boil.HookPoint, componentFirmwareSetHook ComponentFirmwareSetHook)
- func AddComponentFirmwareSetMapHook(hookPoint boil.HookPoint, ...)
- func AddComponentFirmwareVersionHook(hookPoint boil.HookPoint, ...)
- func AddServerComponentHook(hookPoint boil.HookPoint, serverComponentHook ServerComponentHook)
- func AddServerComponentTypeHook(hookPoint boil.HookPoint, serverComponentTypeHook ServerComponentTypeHook)
- func AddServerCredentialHook(hookPoint boil.HookPoint, serverCredentialHook ServerCredentialHook)
- func AddServerCredentialTypeHook(hookPoint boil.HookPoint, serverCredentialTypeHook ServerCredentialTypeHook)
- func AddServerHook(hookPoint boil.HookPoint, serverHook ServerHook)
- func AddVersionedAttributeHook(hookPoint boil.HookPoint, versionedAttributeHook VersionedAttributeHook)
- func AttributeExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func Attributes(mods ...qm.QueryMod) attributeQuery
- func AttributesFirmwareSetExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func AttributesFirmwareSets(mods ...qm.QueryMod) attributesFirmwareSetQuery
- func ComponentFirmwareSetExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func ComponentFirmwareSetMapExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func ComponentFirmwareSetMaps(mods ...qm.QueryMod) componentFirmwareSetMapQuery
- func ComponentFirmwareSets(mods ...qm.QueryMod) componentFirmwareSetQuery
- func ComponentFirmwareVersionExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func ComponentFirmwareVersions(mods ...qm.QueryMod) componentFirmwareVersionQuery
- func NewQuery(mods ...qm.QueryMod) *queries.Query
- func ServerComponentExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func ServerComponentTypeExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func ServerComponentTypes(mods ...qm.QueryMod) serverComponentTypeQuery
- func ServerComponents(mods ...qm.QueryMod) serverComponentQuery
- func ServerCredentialExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func ServerCredentialTypeExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func ServerCredentialTypes(mods ...qm.QueryMod) serverCredentialTypeQuery
- func ServerCredentials(mods ...qm.QueryMod) serverCredentialQuery
- func ServerExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func Servers(mods ...qm.QueryMod) serverQuery
- func VersionedAttributeExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func VersionedAttributes(mods ...qm.QueryMod) versionedAttributeQuery
- type Attribute
- func (o *Attribute) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Attribute) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Attribute) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Attribute) RemoveServer(ctx context.Context, exec boil.ContextExecutor, related *Server) error
- func (o *Attribute) RemoveServerComponent(ctx context.Context, exec boil.ContextExecutor, related *ServerComponent) error
- func (o *Attribute) Server(mods ...qm.QueryMod) serverQuery
- func (o *Attribute) ServerComponent(mods ...qm.QueryMod) serverComponentQuery
- func (o *Attribute) SetServer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Server) error
- func (o *Attribute) SetServerComponent(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Attribute) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Attribute) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type AttributeHook
- type AttributeSlice
- type AttributesFirmwareSet
- func (o *AttributesFirmwareSet) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *AttributesFirmwareSet) FirmwareSet(mods ...qm.QueryMod) componentFirmwareSetQuery
- func (o *AttributesFirmwareSet) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *AttributesFirmwareSet) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *AttributesFirmwareSet) RemoveFirmwareSet(ctx context.Context, exec boil.ContextExecutor, related *ComponentFirmwareSet) error
- func (o *AttributesFirmwareSet) SetFirmwareSet(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *AttributesFirmwareSet) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *AttributesFirmwareSet) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type AttributesFirmwareSetHook
- type AttributesFirmwareSetSlice
- func (o AttributesFirmwareSetSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *AttributesFirmwareSetSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o AttributesFirmwareSetSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type ComponentFirmwareSet
- func (o *ComponentFirmwareSet) AddFirmwareSetAttributesFirmwareSets(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *ComponentFirmwareSet) AddFirmwareSetComponentFirmwareSetMaps(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *ComponentFirmwareSet) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *ComponentFirmwareSet) FirmwareSetAttributesFirmwareSets(mods ...qm.QueryMod) attributesFirmwareSetQuery
- func (o *ComponentFirmwareSet) FirmwareSetComponentFirmwareSetMaps(mods ...qm.QueryMod) componentFirmwareSetMapQuery
- func (o *ComponentFirmwareSet) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *ComponentFirmwareSet) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *ComponentFirmwareSet) RemoveFirmwareSetAttributesFirmwareSets(ctx context.Context, exec boil.ContextExecutor, ...) error
- func (o *ComponentFirmwareSet) SetFirmwareSetAttributesFirmwareSets(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *ComponentFirmwareSet) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *ComponentFirmwareSet) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type ComponentFirmwareSetHook
- type ComponentFirmwareSetMap
- func (o *ComponentFirmwareSetMap) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *ComponentFirmwareSetMap) Firmware(mods ...qm.QueryMod) componentFirmwareVersionQuery
- func (o *ComponentFirmwareSetMap) FirmwareSet(mods ...qm.QueryMod) componentFirmwareSetQuery
- func (o *ComponentFirmwareSetMap) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *ComponentFirmwareSetMap) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *ComponentFirmwareSetMap) SetFirmware(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *ComponentFirmwareSetMap) SetFirmwareSet(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *ComponentFirmwareSetMap) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *ComponentFirmwareSetMap) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type ComponentFirmwareSetMapHook
- type ComponentFirmwareSetMapSlice
- func (o ComponentFirmwareSetMapSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *ComponentFirmwareSetMapSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o ComponentFirmwareSetMapSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type ComponentFirmwareSetSlice
- func (o ComponentFirmwareSetSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *ComponentFirmwareSetSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o ComponentFirmwareSetSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type ComponentFirmwareVersion
- func (o *ComponentFirmwareVersion) AddFirmwareComponentFirmwareSetMaps(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *ComponentFirmwareVersion) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *ComponentFirmwareVersion) FirmwareComponentFirmwareSetMaps(mods ...qm.QueryMod) componentFirmwareSetMapQuery
- func (o *ComponentFirmwareVersion) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *ComponentFirmwareVersion) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *ComponentFirmwareVersion) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *ComponentFirmwareVersion) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type ComponentFirmwareVersionHook
- type ComponentFirmwareVersionSlice
- func (o ComponentFirmwareVersionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *ComponentFirmwareVersionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o ComponentFirmwareVersionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type M
- type Server
- func (o *Server) AddAttributes(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Server) AddServerComponents(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Server) AddServerCredentials(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Server) AddVersionedAttributes(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Server) Attributes(mods ...qm.QueryMod) attributeQuery
- func (o *Server) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *Server) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Server) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Server) RemoveAttributes(ctx context.Context, exec boil.ContextExecutor, related ...*Attribute) error
- func (o *Server) RemoveVersionedAttributes(ctx context.Context, exec boil.ContextExecutor, related ...*VersionedAttribute) error
- func (o *Server) ServerComponents(mods ...qm.QueryMod) serverComponentQuery
- func (o *Server) ServerCredentials(mods ...qm.QueryMod) serverCredentialQuery
- func (o *Server) SetAttributes(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Server) SetVersionedAttributes(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Server) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Server) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *Server) VersionedAttributes(mods ...qm.QueryMod) versionedAttributeQuery
- type ServerComponent
- func (o *ServerComponent) AddAttributes(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *ServerComponent) AddVersionedAttributes(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *ServerComponent) Attributes(mods ...qm.QueryMod) attributeQuery
- func (o *ServerComponent) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *ServerComponent) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *ServerComponent) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *ServerComponent) RemoveAttributes(ctx context.Context, exec boil.ContextExecutor, related ...*Attribute) error
- func (o *ServerComponent) RemoveVersionedAttributes(ctx context.Context, exec boil.ContextExecutor, related ...*VersionedAttribute) error
- func (o *ServerComponent) Server(mods ...qm.QueryMod) serverQuery
- func (o *ServerComponent) ServerComponentType(mods ...qm.QueryMod) serverComponentTypeQuery
- func (o *ServerComponent) SetAttributes(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *ServerComponent) SetServer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Server) error
- func (o *ServerComponent) SetServerComponentType(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *ServerComponent) SetVersionedAttributes(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *ServerComponent) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *ServerComponent) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *ServerComponent) VersionedAttributes(mods ...qm.QueryMod) versionedAttributeQuery
- type ServerComponentHook
- type ServerComponentSlice
- func (o ServerComponentSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *ServerComponentSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o ServerComponentSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type ServerComponentType
- func (o *ServerComponentType) AddServerComponents(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *ServerComponentType) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *ServerComponentType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *ServerComponentType) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *ServerComponentType) ServerComponents(mods ...qm.QueryMod) serverComponentQuery
- func (o *ServerComponentType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *ServerComponentType) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type ServerComponentTypeHook
- type ServerComponentTypeSlice
- func (o ServerComponentTypeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *ServerComponentTypeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o ServerComponentTypeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type ServerCredential
- func (o *ServerCredential) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *ServerCredential) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *ServerCredential) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *ServerCredential) Server(mods ...qm.QueryMod) serverQuery
- func (o *ServerCredential) ServerCredentialType(mods ...qm.QueryMod) serverCredentialTypeQuery
- func (o *ServerCredential) SetServer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Server) error
- func (o *ServerCredential) SetServerCredentialType(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *ServerCredential) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *ServerCredential) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type ServerCredentialHook
- type ServerCredentialSlice
- func (o ServerCredentialSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *ServerCredentialSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o ServerCredentialSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type ServerCredentialType
- func (o *ServerCredentialType) AddServerCredentials(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *ServerCredentialType) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *ServerCredentialType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *ServerCredentialType) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *ServerCredentialType) ServerCredentials(mods ...qm.QueryMod) serverCredentialQuery
- func (o *ServerCredentialType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *ServerCredentialType) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type ServerCredentialTypeHook
- type ServerCredentialTypeSlice
- func (o ServerCredentialTypeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *ServerCredentialTypeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o ServerCredentialTypeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type ServerHook
- type ServerSlice
- type VersionedAttribute
- func (o *VersionedAttribute) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *VersionedAttribute) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *VersionedAttribute) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *VersionedAttribute) RemoveServer(ctx context.Context, exec boil.ContextExecutor, related *Server) error
- func (o *VersionedAttribute) RemoveServerComponent(ctx context.Context, exec boil.ContextExecutor, related *ServerComponent) error
- func (o *VersionedAttribute) Server(mods ...qm.QueryMod) serverQuery
- func (o *VersionedAttribute) ServerComponent(mods ...qm.QueryMod) serverComponentQuery
- func (o *VersionedAttribute) SetServer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Server) error
- func (o *VersionedAttribute) SetServerComponent(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *VersionedAttribute) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *VersionedAttribute) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type VersionedAttributeHook
- type VersionedAttributeSlice
- func (o VersionedAttributeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *VersionedAttributeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o VersionedAttributeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
Constants ¶
This section is empty.
Variables ¶
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", }
var AttributeRels = struct { Server string ServerComponent string }{ Server: "Server", ServerComponent: "ServerComponent", }
AttributeRels is where relationship names are stored.
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", }
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 */}, }
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", }
var AttributesFirmwareSetRels = struct { FirmwareSet string }{ FirmwareSet: "FirmwareSet", }
AttributesFirmwareSetRels is where relationship names are stored.
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", }
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 */}, }
var ComponentFirmwareSetColumns = struct { ID string Name string CreatedAt string UpdatedAt string }{ ID: "id", Name: "name", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var ComponentFirmwareSetMapColumns = struct { ID string FirmwareSetID string FirmwareID string }{ ID: "id", FirmwareSetID: "firmware_set_id", FirmwareID: "firmware_id", }
var ComponentFirmwareSetMapRels = struct { FirmwareSet string Firmware string }{ FirmwareSet: "FirmwareSet", Firmware: "Firmware", }
ComponentFirmwareSetMapRels is where relationship names are stored.
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", }
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 */}, }
var ComponentFirmwareSetRels = struct { FirmwareSetAttributesFirmwareSets string FirmwareSetComponentFirmwareSetMaps string }{ FirmwareSetAttributesFirmwareSets: "FirmwareSetAttributesFirmwareSets", FirmwareSetComponentFirmwareSetMaps: "FirmwareSetComponentFirmwareSetMaps", }
ComponentFirmwareSetRels is where relationship names are stored.
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", }
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 */}, }
var ComponentFirmwareVersionColumns = struct { ID string Component string Vendor string Model string Filename string Version string Checksum string UpstreamURL string RepositoryURL string CreatedAt string UpdatedAt string }{ ID: "id", Component: "component", Vendor: "vendor", Model: "model", Filename: "filename", Version: "version", Checksum: "checksum", UpstreamURL: "upstream_url", RepositoryURL: "repository_url", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var ComponentFirmwareVersionRels = struct { FirmwareComponentFirmwareSetMaps string }{ FirmwareComponentFirmwareSetMaps: "FirmwareComponentFirmwareSetMaps", }
ComponentFirmwareVersionRels is where relationship names are stored.
var ComponentFirmwareVersionTableColumns = struct { ID string Component string Vendor string Model string Filename string Version string Checksum string UpstreamURL string RepositoryURL string CreatedAt string UpdatedAt string }{ ID: "component_firmware_version.id", Component: "component_firmware_version.component", Vendor: "component_firmware_version.vendor", Model: "component_firmware_version.model", Filename: "component_firmware_version.filename", Version: "component_firmware_version.version", Checksum: "component_firmware_version.checksum", UpstreamURL: "component_firmware_version.upstream_url", RepositoryURL: "component_firmware_version.repository_url", CreatedAt: "component_firmware_version.created_at", UpdatedAt: "component_firmware_version.updated_at", }
var ComponentFirmwareVersionWhere = struct { ID whereHelperstring Component whereHelperstring Vendor whereHelperstring Model whereHelpertypes_StringArray Filename whereHelperstring Version whereHelperstring Checksum whereHelperstring UpstreamURL whereHelperstring RepositoryURL whereHelperstring CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, Component: whereHelperstring{/* contains filtered or unexported fields */}, Vendor: whereHelperstring{/* contains filtered or unexported fields */}, Model: whereHelpertypes_StringArray{/* contains filtered or unexported fields */}, Filename: whereHelperstring{/* contains filtered or unexported fields */}, Version: whereHelperstring{/* contains filtered or unexported fields */}, Checksum: whereHelperstring{/* contains filtered or unexported fields */}, UpstreamURL: whereHelperstring{/* contains filtered or unexported fields */}, RepositoryURL: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
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.
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", }
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", }
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.
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", }
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", }
var ServerComponentTypeRels = struct { ServerComponents string }{ ServerComponents: "ServerComponents", }
ServerComponentTypeRels is where relationship names are stored.
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", }
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 */}, }
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 */}, }
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", }
var ServerCredentialRels = struct { ServerCredentialType string Server string }{ ServerCredentialType: "ServerCredentialType", Server: "Server", }
ServerCredentialRels is where relationship names are stored.
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", }
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", }
var ServerCredentialTypeRels = struct { ServerCredentials string }{ ServerCredentials: "ServerCredentials", }
ServerCredentialTypeRels is where relationship names are stored.
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", }
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 */}, }
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 */}, }
var ServerRels = struct { Attributes string ServerComponents string ServerCredentials string VersionedAttributes string }{ Attributes: "Attributes", ServerComponents: "ServerComponents", ServerCredentials: "ServerCredentials", VersionedAttributes: "VersionedAttributes", }
ServerRels is where relationship names are stored.
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", }
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 */}, }
var TableNames = struct { Attributes string AttributesFirmwareSet string ComponentFirmwareSet string ComponentFirmwareSetMap string ComponentFirmwareVersion string ServerComponentTypes string ServerComponents string ServerCredentialTypes string ServerCredentials string Servers string VersionedAttributes string }{ Attributes: "attributes", AttributesFirmwareSet: "attributes_firmware_set", ComponentFirmwareSet: "component_firmware_set", ComponentFirmwareSetMap: "component_firmware_set_map", ComponentFirmwareVersion: "component_firmware_version", ServerComponentTypes: "server_component_types", ServerComponents: "server_components", ServerCredentialTypes: "server_credential_types", ServerCredentials: "server_credentials", Servers: "servers", VersionedAttributes: "versioned_attributes", }
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", }
var VersionedAttributeRels = struct { Server string ServerComponent string }{ Server: "Server", ServerComponent: "ServerComponent", }
VersionedAttributeRels is where relationship names are stored.
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", }
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 */}, }
var ViewNames = struct {
}{}
Functions ¶
func AddAttributeHook ¶
func AddAttributeHook(hookPoint boil.HookPoint, attributeHook AttributeHook)
AddAttributeHook registers your hook function for all future operations.
func AddAttributesFirmwareSetHook ¶ added in v0.13.7
func AddAttributesFirmwareSetHook(hookPoint boil.HookPoint, attributesFirmwareSetHook AttributesFirmwareSetHook)
AddAttributesFirmwareSetHook registers your hook function for all future operations.
func AddComponentFirmwareSetHook ¶ added in v0.13.7
func AddComponentFirmwareSetHook(hookPoint boil.HookPoint, componentFirmwareSetHook ComponentFirmwareSetHook)
AddComponentFirmwareSetHook registers your hook function for all future operations.
func AddComponentFirmwareSetMapHook ¶ added in v0.13.7
func AddComponentFirmwareSetMapHook(hookPoint boil.HookPoint, componentFirmwareSetMapHook ComponentFirmwareSetMapHook)
AddComponentFirmwareSetMapHook registers your hook function for all future operations.
func AddComponentFirmwareVersionHook ¶ added in v0.13.5
func AddComponentFirmwareVersionHook(hookPoint boil.HookPoint, componentFirmwareVersionHook ComponentFirmwareVersionHook)
AddComponentFirmwareVersionHook registers your hook function for all future operations.
func AddServerComponentHook ¶
func AddServerComponentHook(hookPoint boil.HookPoint, serverComponentHook ServerComponentHook)
AddServerComponentHook registers your hook function for all future operations.
func AddServerComponentTypeHook ¶
func AddServerComponentTypeHook(hookPoint boil.HookPoint, serverComponentTypeHook ServerComponentTypeHook)
AddServerComponentTypeHook registers your hook function for all future operations.
func AddServerCredentialHook ¶ added in v0.13.7
func AddServerCredentialHook(hookPoint boil.HookPoint, serverCredentialHook ServerCredentialHook)
AddServerCredentialHook registers your hook function for all future operations.
func AddServerCredentialTypeHook ¶ added in v0.13.7
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 AttributeExists ¶
AttributeExists checks if the Attribute row exists.
func Attributes ¶
Attributes retrieves all the records using an executor.
func AttributesFirmwareSetExists ¶ added in v0.13.7
func AttributesFirmwareSetExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
AttributesFirmwareSetExists checks if the AttributesFirmwareSet row exists.
func AttributesFirmwareSets ¶ added in v0.13.7
AttributesFirmwareSets retrieves all the records using an executor.
func ComponentFirmwareSetExists ¶ added in v0.13.7
func ComponentFirmwareSetExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
ComponentFirmwareSetExists checks if the ComponentFirmwareSet row exists.
func ComponentFirmwareSetMapExists ¶ added in v0.13.7
func ComponentFirmwareSetMapExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
ComponentFirmwareSetMapExists checks if the ComponentFirmwareSetMap row exists.
func ComponentFirmwareSetMaps ¶ added in v0.13.7
ComponentFirmwareSetMaps retrieves all the records using an executor.
func ComponentFirmwareSets ¶ added in v0.13.7
ComponentFirmwareSets retrieves all the records using an executor.
func ComponentFirmwareVersionExists ¶ added in v0.13.5
func ComponentFirmwareVersionExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
ComponentFirmwareVersionExists checks if the ComponentFirmwareVersion row exists.
func ComponentFirmwareVersions ¶ added in v0.13.5
ComponentFirmwareVersions retrieves all the records using an executor.
func ServerComponentExists ¶
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 ¶
ServerComponentTypes retrieves all the records using an executor.
func ServerComponents ¶
ServerComponents retrieves all the records using an executor.
func ServerCredentialExists ¶ added in v0.13.7
func ServerCredentialExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
ServerCredentialExists checks if the ServerCredential row exists.
func ServerCredentialTypeExists ¶ added in v0.13.7
func ServerCredentialTypeExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
ServerCredentialTypeExists checks if the ServerCredentialType row exists.
func ServerCredentialTypes ¶ added in v0.13.7
ServerCredentialTypes retrieves all the records using an executor.
func ServerCredentials ¶ added in v0.13.7
ServerCredentials retrieves all the records using an executor.
func ServerExists ¶
ServerExists checks if the Server row exists.
func VersionedAttributeExists ¶
func VersionedAttributeExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
VersionedAttributeExists checks if the VersionedAttribute row exists.
func VersionedAttributes ¶
VersionedAttributes retrieves all the records using an executor.
Types ¶
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 ¶
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) 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 ¶
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) ServerComponent ¶
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 ¶
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 ¶ added in v0.13.7
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 ¶ added in v0.13.7
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 ¶ added in v0.13.7
func (o *AttributesFirmwareSet) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
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) FirmwareSet ¶ added in v0.13.7
func (o *AttributesFirmwareSet) FirmwareSet(mods ...qm.QueryMod) componentFirmwareSetQuery
FirmwareSet pointed to by the foreign key.
func (*AttributesFirmwareSet) Insert ¶ added in v0.13.7
func (o *AttributesFirmwareSet) 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 (*AttributesFirmwareSet) Reload ¶ added in v0.13.7
func (o *AttributesFirmwareSet) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*AttributesFirmwareSet) RemoveFirmwareSet ¶ added in v0.13.7
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 ¶ added in v0.13.7
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 ¶ added in v0.13.7
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 ¶ added in v0.13.7
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 ¶ added in v0.13.7
type AttributesFirmwareSetHook func(context.Context, boil.ContextExecutor, *AttributesFirmwareSet) error
AttributesFirmwareSetHook is the signature for custom AttributesFirmwareSet hook methods
type AttributesFirmwareSetSlice ¶ added in v0.13.7
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 ¶ added in v0.13.7
func (o AttributesFirmwareSetSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*AttributesFirmwareSetSlice) ReloadAll ¶ added in v0.13.7
func (o *AttributesFirmwareSetSlice) 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 (AttributesFirmwareSetSlice) UpdateAll ¶ added in v0.13.7
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 ComponentFirmwareSet ¶ added in v0.13.7
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 ¶ added in v0.13.7
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 ¶ added in v0.13.7
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 ¶ added in v0.13.7
func (o *ComponentFirmwareSet) AddFirmwareSetComponentFirmwareSetMaps(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*ComponentFirmwareSetMap) error
AddFirmwareSetComponentFirmwareSetMaps adds the given related objects to the existing relationships of the component_firmware_set, optionally inserting them as new records. Appends related to o.R.FirmwareSetComponentFirmwareSetMaps. Sets related.R.FirmwareSet appropriately.
func (*ComponentFirmwareSet) Delete ¶ added in v0.13.7
func (o *ComponentFirmwareSet) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
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) FirmwareSetAttributesFirmwareSets ¶ added in v0.13.7
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 ¶ added in v0.13.7
func (o *ComponentFirmwareSet) FirmwareSetComponentFirmwareSetMaps(mods ...qm.QueryMod) componentFirmwareSetMapQuery
FirmwareSetComponentFirmwareSetMaps retrieves all the component_firmware_set_map's ComponentFirmwareSetMaps with an executor via firmware_set_id column.
func (*ComponentFirmwareSet) Insert ¶ added in v0.13.7
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 ¶ added in v0.13.7
func (o *ComponentFirmwareSet) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*ComponentFirmwareSet) RemoveFirmwareSetAttributesFirmwareSets ¶ added in v0.13.7
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 ¶ added in v0.13.7
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 ¶ added in v0.13.7
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 ¶ added in v0.13.7
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 ¶ added in v0.13.7
type ComponentFirmwareSetHook func(context.Context, boil.ContextExecutor, *ComponentFirmwareSet) error
ComponentFirmwareSetHook is the signature for custom ComponentFirmwareSet hook methods
type ComponentFirmwareSetMap ¶ added in v0.13.7
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 ¶ added in v0.13.7
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 ¶ added in v0.13.7
func (o *ComponentFirmwareSetMap) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
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) Firmware ¶ added in v0.13.7
func (o *ComponentFirmwareSetMap) Firmware(mods ...qm.QueryMod) componentFirmwareVersionQuery
Firmware pointed to by the foreign key.
func (*ComponentFirmwareSetMap) FirmwareSet ¶ added in v0.13.7
func (o *ComponentFirmwareSetMap) FirmwareSet(mods ...qm.QueryMod) componentFirmwareSetQuery
FirmwareSet pointed to by the foreign key.
func (*ComponentFirmwareSetMap) Insert ¶ added in v0.13.7
func (o *ComponentFirmwareSetMap) 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 (*ComponentFirmwareSetMap) Reload ¶ added in v0.13.7
func (o *ComponentFirmwareSetMap) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*ComponentFirmwareSetMap) SetFirmware ¶ added in v0.13.7
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 ¶ added in v0.13.7
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 ¶ added in v0.13.7
func (o *ComponentFirmwareSetMap) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
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 ¶ added in v0.13.7
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 ¶ added in v0.13.7
type ComponentFirmwareSetMapHook func(context.Context, boil.ContextExecutor, *ComponentFirmwareSetMap) error
ComponentFirmwareSetMapHook is the signature for custom ComponentFirmwareSetMap hook methods
type ComponentFirmwareSetMapSlice ¶ added in v0.13.7
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 ¶ added in v0.13.7
func (o ComponentFirmwareSetMapSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*ComponentFirmwareSetMapSlice) ReloadAll ¶ added in v0.13.7
func (o *ComponentFirmwareSetMapSlice) 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 (ComponentFirmwareSetMapSlice) UpdateAll ¶ added in v0.13.7
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 ¶ added in v0.13.7
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 ¶ added in v0.13.7
func (o ComponentFirmwareSetSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*ComponentFirmwareSetSlice) ReloadAll ¶ added in v0.13.7
func (o *ComponentFirmwareSetSlice) 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 (ComponentFirmwareSetSlice) UpdateAll ¶ added in v0.13.7
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 ¶ added in v0.13.5
type ComponentFirmwareVersion struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` Component string `boil:"component" json:"component" toml:"component" yaml:"component"` Vendor string `boil:"vendor" json:"vendor" toml:"vendor" yaml:"vendor"` Model types.StringArray `boil:"model" json:"model" toml:"model" yaml:"model"` Filename string `boil:"filename" json:"filename" toml:"filename" yaml:"filename"` Version string `boil:"version" json:"version" toml:"version" yaml:"version"` Checksum string `boil:"checksum" json:"checksum" toml:"checksum" yaml:"checksum"` UpstreamURL string `boil:"upstream_url" json:"upstream_url" toml:"upstream_url" yaml:"upstream_url"` RepositoryURL string `boil:"repository_url" json:"repository_url" toml:"repository_url" yaml:"repository_url"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` R *componentFirmwareVersionR `boil:"-" json:"-" toml:"-" yaml:"-"` L componentFirmwareVersionL `boil:"-" json:"-" toml:"-" yaml:"-"` }
ComponentFirmwareVersion is an object representing the database table.
func FindComponentFirmwareVersion ¶ added in v0.13.5
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 ¶ added in v0.13.7
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 ¶ added in v0.13.5
func (o *ComponentFirmwareVersion) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
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) FirmwareComponentFirmwareSetMaps ¶ added in v0.13.7
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 ¶ added in v0.13.5
func (o *ComponentFirmwareVersion) 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 (*ComponentFirmwareVersion) Reload ¶ added in v0.13.5
func (o *ComponentFirmwareVersion) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*ComponentFirmwareVersion) Update ¶ added in v0.13.5
func (o *ComponentFirmwareVersion) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
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 ¶ added in v0.13.5
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 ¶ added in v0.13.5
type ComponentFirmwareVersionHook func(context.Context, boil.ContextExecutor, *ComponentFirmwareVersion) error
ComponentFirmwareVersionHook is the signature for custom ComponentFirmwareVersion hook methods
type ComponentFirmwareVersionSlice ¶ added in v0.13.5
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 ¶ added in v0.13.5
func (o ComponentFirmwareVersionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*ComponentFirmwareVersionSlice) ReloadAll ¶ added in v0.13.5
func (o *ComponentFirmwareVersionSlice) 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 (ComponentFirmwareVersionSlice) UpdateAll ¶ added in v0.13.5
func (o ComponentFirmwareVersionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type M ¶
type M map[string]interface{}
M type is for providing columns and column values to UpdateAll.
type Server ¶
type Server struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` Name null.String `boil:"name" json:"name,omitempty" toml:"name" yaml:"name,omitempty"` FacilityCode null.String `boil:"facility_code" json:"facility_code,omitempty" toml:"facility_code" yaml:"facility_code,omitempty"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"` 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 ¶ added in v0.13.7
func (o *Server) AddServerCredentials(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*ServerCredential) error
AddServerCredentials adds the given related objects to the existing relationships of the server, optionally inserting them as new records. Appends related to o.R.ServerCredentials. Sets related.R.Server appropriately.
func (*Server) AddVersionedAttributes ¶
func (o *Server) AddVersionedAttributes(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*VersionedAttribute) error
AddVersionedAttributes adds the given related objects to the existing relationships of the server, optionally inserting them as new records. Appends related to o.R.VersionedAttributes. Sets related.R.Server appropriately.
func (*Server) Attributes ¶
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) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Server) Reload ¶
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 ¶
ServerComponents retrieves all the server_component's ServerComponents with an executor.
func (*Server) ServerCredentials ¶ added in v0.13.7
ServerCredentials retrieves all the server_credential's ServerCredentials with an executor.
func (*Server) SetAttributes ¶
func (o *Server) SetAttributes(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Attribute) error
SetAttributes removes all previously related items of the server replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Server's Attributes accordingly. Replaces o.R.Attributes with related. Sets related.R.Server's Attributes accordingly.
func (*Server) SetVersionedAttributes ¶
func (o *Server) SetVersionedAttributes(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*VersionedAttribute) error
SetVersionedAttributes removes all previously related items of the server replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Server's VersionedAttributes accordingly. Replaces o.R.VersionedAttributes with related. Sets related.R.Server's VersionedAttributes accordingly.
func (*Server) Update ¶
func (o *Server) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Server. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Server) Upsert ¶
func (o *Server) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
func (*Server) VersionedAttributes ¶
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) 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 ¶
func (o *ServerComponent) Reload(ctx context.Context, exec boil.ContextExecutor) error
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 ¶
func (o ServerComponentSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*ServerComponentSlice) ReloadAll ¶
func (o *ServerComponentSlice) 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 (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 ¶
func (o *ServerComponentType) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
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) 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 ¶
func (o *ServerComponentType) Reload(ctx context.Context, exec boil.ContextExecutor) error
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 ¶
func (o ServerComponentTypeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*ServerComponentTypeSlice) ReloadAll ¶
func (o *ServerComponentTypeSlice) 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 (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 ¶ added in v0.13.7
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 ¶ added in v0.13.7
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 ¶ added in v0.13.7
func (o *ServerCredential) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
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) Insert ¶ added in v0.13.7
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 ¶ added in v0.13.7
func (o *ServerCredential) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*ServerCredential) Server ¶ added in v0.13.7
func (o *ServerCredential) Server(mods ...qm.QueryMod) serverQuery
Server pointed to by the foreign key.
func (*ServerCredential) ServerCredentialType ¶ added in v0.13.7
func (o *ServerCredential) ServerCredentialType(mods ...qm.QueryMod) serverCredentialTypeQuery
ServerCredentialType pointed to by the foreign key.
func (*ServerCredential) SetServer ¶ added in v0.13.7
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 ¶ added in v0.13.7
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 ¶ added in v0.13.7
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 ¶ added in v0.13.7
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 ¶ added in v0.13.7
type ServerCredentialHook func(context.Context, boil.ContextExecutor, *ServerCredential) error
ServerCredentialHook is the signature for custom ServerCredential hook methods
type ServerCredentialSlice ¶ added in v0.13.7
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 ¶ added in v0.13.7
func (o ServerCredentialSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*ServerCredentialSlice) ReloadAll ¶ added in v0.13.7
func (o *ServerCredentialSlice) 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 (ServerCredentialSlice) UpdateAll ¶ added in v0.13.7
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 ¶ added in v0.13.7
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 ¶ added in v0.13.7
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 ¶ added in v0.13.7
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 ¶ added in v0.13.7
func (o *ServerCredentialType) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
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) Insert ¶ added in v0.13.7
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 ¶ added in v0.13.7
func (o *ServerCredentialType) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*ServerCredentialType) ServerCredentials ¶ added in v0.13.7
func (o *ServerCredentialType) ServerCredentials(mods ...qm.QueryMod) serverCredentialQuery
ServerCredentials retrieves all the server_credential's ServerCredentials with an executor.
func (*ServerCredentialType) Update ¶ added in v0.13.7
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 ¶ added in v0.13.7
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 ¶ added in v0.13.7
type ServerCredentialTypeHook func(context.Context, boil.ContextExecutor, *ServerCredentialType) error
ServerCredentialTypeHook is the signature for custom ServerCredentialType hook methods
type ServerCredentialTypeSlice ¶ added in v0.13.7
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 ¶ added in v0.13.7
func (o ServerCredentialTypeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*ServerCredentialTypeSlice) ReloadAll ¶ added in v0.13.7
func (o *ServerCredentialTypeSlice) 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 (ServerCredentialTypeSlice) UpdateAll ¶ added in v0.13.7
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 ¶
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 ¶
func (o *VersionedAttribute) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
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) 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 ¶
func (o *VersionedAttribute) Reload(ctx context.Context, exec boil.ContextExecutor) error
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 ¶
func (o VersionedAttributeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*VersionedAttributeSlice) ReloadAll ¶
func (o *VersionedAttributeSlice) 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 (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.
Source Files
¶
- attributes.go
- attributes_firmware_set.go
- boil_queries.go
- boil_table_names.go
- boil_types.go
- boil_view_names.go
- component_firmware_set.go
- component_firmware_set_map.go
- component_firmware_version.go
- crdb_upsert.go
- server_component_types.go
- server_components.go
- server_credential_types.go
- server_credentials.go
- servers.go
- versioned_attributes.go