Versions in this module Expand all Collapse all v1 v1.32.3 Aug 10, 2026 Changes in this version + type BootConfig struct + Cmdline string + Id string + InitrdUri string + KernelUri string + func NewBootConfig(kernelUri, initrdUri, cmdline string) (bc BootConfig, err error) + type BootDataDatabase struct + DB *sqlx.DB + func Connect(host string, port uint, dbName, user, password string, ssl bool, ...) (BootDataDatabase, error) + func (bddb BootDataDatabase) Add(bp bssTypes.BootParams) (result map[string]string, err error) + func (bddb BootDataDatabase) CheckNodeExistence(macs, xnames []string, nids []int32) (existingNodes []Node, nonExistingMacs, nonExistingXnames []string, ...) + func (bddb BootDataDatabase) Close() error + func (bddb BootDataDatabase) Delete(bp bssTypes.BootParams) (nodesDeleted, bcsDeleted []string, err error) + func (bddb BootDataDatabase) GetBootConfigsAll() ([]BootGroup, []BootConfig, int, error) + func (bddb BootDataDatabase) GetBootConfigsByItems(kernelUri, initrdUri, cmdline string) ([]BootGroup, []BootConfig, int, error) + func (bddb BootDataDatabase) GetBootParamsAll() ([]bssTypes.BootParams, error) + func (bddb BootDataDatabase) GetBootParamsByMac(macs []string) ([]bssTypes.BootParams, error) + func (bddb BootDataDatabase) GetBootParamsByName(names []string) ([]bssTypes.BootParams, error) + func (bddb BootDataDatabase) GetBootParamsByNid(nids []int32) ([]bssTypes.BootParams, error) + func (bddb BootDataDatabase) GetNodes() ([]Node, error) + func (bddb BootDataDatabase) GetNodesByBootGroupId(bgId string) ([]Node, error) + func (bddb BootDataDatabase) GetNodesByItems(macs, xnames []string, nids []int32) ([]Node, error) + func (bddb BootDataDatabase) LogEndpointAccess(name string, endpointType bssTypes.EndpointType) (err error) + func (bddb BootDataDatabase) SearchEndpointAccesses(name string, endpointType bssTypes.EndpointType) (accesses []bssTypes.EndpointAccess, err error) + func (bddb BootDataDatabase) Set(bp bssTypes.BootParams) (err error) + func (bddb BootDataDatabase) Update(bp bssTypes.BootParams) (nodesUpdated []string, err error) + type BootGroup struct + BootConfigId string + Description string + Id string + Name string + func NewBootGroup(bcId, bgName, bgDesc string) (bg BootGroup) + type BootGroupAssignment struct + BootGroupId string + NodeId string + func NewBootGroupAssignment(bgId, nodeId string) (bga BootGroupAssignment, err error) + type EndpointAccess struct + Endpoint string + LastEpoch int64 + Name string + type ErrPostgresAdd struct + Err error + func (epa ErrPostgresAdd) Error() string + func (epa ErrPostgresAdd) Is(e error) bool + type ErrPostgresDelete struct + Err error + func (epd ErrPostgresDelete) Error() string + func (epd ErrPostgresDelete) Is(e error) bool + type ErrPostgresDuplicate struct + Data interface{} + func (epd ErrPostgresDuplicate) Error() string + func (epd ErrPostgresDuplicate) Is(e error) bool + type ErrPostgresGet struct + Err error + func (epg ErrPostgresGet) Error() string + func (epg ErrPostgresGet) Is(e error) bool + type ErrPostgresNotExists struct + Data interface{} + func (epne ErrPostgresNotExists) Error() string + func (epne ErrPostgresNotExists) Is(e error) bool + type ErrPostgresSet struct + Err error + func (eps ErrPostgresSet) Error() string + func (eps ErrPostgresSet) Is(e error) bool + type ErrPostgresUpdate struct + Err error + func (epu ErrPostgresUpdate) Error() string + func (epu ErrPostgresUpdate) Is(e error) bool + type Node struct + BootMac string + Id string + Nid int32 + Xname string + func NewNode(mac, xname string, nid int32) (n Node)