baremetal

package
v0.3.11-8 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SBaremetalProfile

type SBaremetalProfile struct {
	db.SStandaloneAnonResourceBase

	// 品牌名称(English)
	OemName string `width:"64" charset:"ascii" nullable:"false" default:"" index:"true" list:"user" create:"required"`

	Model string `width:"64" charset:"utf8" list:"user" create:"optional"`

	LanChannel uint8 `list:"user" update:"user" create:"optional"`

	LanChannel2 uint8 `list:"user" update:"user" create:"optional"`

	LanChannel3 uint8 `list:"user" update:"user" create:"optional"`

	// BMC Root账号名称,默认为 root
	RootName string `width:"64" charset:"ascii" nullable:"false" list:"user" update:"user" create:"required" default:"root"`
	// BMC Root账号ID,默认为 2
	RootId int `list:"user" update:"user" create:"optional" default:"2"`
	// 是否要求强密码
	StrongPass bool `list:"user" update:"user" create:"optional"`
}

type SBaremetalProfileManager

type SBaremetalProfileManager struct {
	db.SStandaloneAnonResourceBaseManager
}
var BaremetalProfileManager *SBaremetalProfileManager

func (*SBaremetalProfileManager) InitializeData

func (bpm *SBaremetalProfileManager) InitializeData() error

func (*SBaremetalProfileManager) ListItemExportKeys

func (*SBaremetalProfileManager) ListItemFilter

func (*SBaremetalProfileManager) OrderByExtraFields

func (*SBaremetalProfileManager) QueryDistinctExtraField

func (bpm *SBaremetalProfileManager) QueryDistinctExtraField(q *sqlchemy.SQuery, field string) (*sqlchemy.SQuery, error)

Jump to

Keyboard shortcuts

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