datacenter

package
v0.0.0-...-d348678 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cabinet

type Cabinet struct {
	gorm.Model
	Name       string `gorm:"uniqueIndex"`
	Index      uint
	Size       uint
	ColumnName string
	Column     DcColumn `gorm:"references:Name;foreignKey:ColumnName"`
}

type CabinetPosition

type CabinetPosition struct {
	gorm.Model
	Name        string
	Index       uint
	CabinetName string
	Cabinet     Cabinet `gorm:"references:Name;foreignKey:CabinetName"`
}

type DC

type DC struct {
	gorm.Model
	Name string `gorm:"uniqueIndex"`
	Addr string
}

type DcColumn

type DcColumn struct {
	gorm.Model
	Name           string `gorm:"uniqueIndex"`
	Size           uint
	DatacenterName string
	Datacenter     DC `gorm:"references:Name;foreignKey:DatacenterName"`
}

Jump to

Keyboard shortcuts

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