xnames

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: MIT Imports: 4 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnknownStruct = errors.New("unable to determine HMS Type from struct")

Functions

func FromStringToStruct added in v1.2.0

func FromStringToStruct[T Xname](xname string) *T

func GetHMSType

func GetHMSType(obj interface{}) (xnametypes.HMSType, error)

GetHMSType for a given xname structure will return its HMSType If the given object is not a structure from the xnames package, then the ErrUnknownStruct will be returned along with HMSTypeInvalid

Types

type CDU

type CDU struct {
	CDU int // dD
}

CDU - dD

func (CDU) CDUMgmtSwitch

func (x CDU) CDUMgmtSwitch(cDUMgmtSwitch int) CDUMgmtSwitch

CDUMgmtSwitch will get a child component with the specified ordinal

func (CDU) Parent

func (x CDU) Parent() System

Parent will determine the parent of this CDU

func (CDU) ParentInterface added in v1.1.0

func (x CDU) ParentInterface() Xname

ParentGeneric will determine the parent of this CDU, and return it as a Xname interface

func (CDU) String

func (x CDU) String() string

String will stringify CDU into the format of dD

func (CDU) Type added in v1.1.0

func (x CDU) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (CDU) Validate

func (x CDU) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type CDUMgmtSwitch

type CDUMgmtSwitch struct {
	CDU           int // dD
	CDUMgmtSwitch int // wW
}

CDUMgmtSwitch - dDwW

func (CDUMgmtSwitch) Parent

func (x CDUMgmtSwitch) Parent() CDU

Parent will determine the parent of this CDUMgmtSwitch

func (CDUMgmtSwitch) ParentInterface added in v1.1.0

func (x CDUMgmtSwitch) ParentInterface() Xname

ParentGeneric will determine the parent of this CDUMgmtSwitch, and return it as a Xname interface

func (CDUMgmtSwitch) String

func (x CDUMgmtSwitch) String() string

String will stringify CDUMgmtSwitch into the format of dDwW

func (CDUMgmtSwitch) Type added in v1.1.0

func (x CDUMgmtSwitch) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (CDUMgmtSwitch) Validate

func (x CDUMgmtSwitch) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type CEC

type CEC struct {
	Cabinet int // xX
	CEC     int // eE
}

CEC - xXeE

func (CEC) Parent

func (x CEC) Parent() Cabinet

Parent will determine the parent of this CEC

func (CEC) ParentInterface added in v1.1.0

func (x CEC) ParentInterface() Xname

ParentGeneric will determine the parent of this CEC, and return it as a Xname interface

func (CEC) String

func (x CEC) String() string

String will stringify CEC into the format of xXeE

func (CEC) Type added in v1.1.0

func (x CEC) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (CEC) Validate

func (x CEC) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type CMMFpga

type CMMFpga struct {
	Cabinet int // xX
	Chassis int // cC
	CMMFpga int // fF
}

CMMFpga - xXcCfF

func (CMMFpga) Parent

func (x CMMFpga) Parent() Chassis

Parent will determine the parent of this CMMFpga

func (CMMFpga) ParentInterface added in v1.1.0

func (x CMMFpga) ParentInterface() Xname

ParentGeneric will determine the parent of this CMMFpga, and return it as a Xname interface

func (CMMFpga) String

func (x CMMFpga) String() string

String will stringify CMMFpga into the format of xXcCfF

func (CMMFpga) Type added in v1.1.0

func (x CMMFpga) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (CMMFpga) Validate

func (x CMMFpga) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type CMMRectifier

type CMMRectifier struct {
	Cabinet      int // xX
	Chassis      int // cC
	CMMRectifier int // tT
}

CMMRectifier - xXcCtT

func (CMMRectifier) Parent

func (x CMMRectifier) Parent() Chassis

Parent will determine the parent of this CMMRectifier

func (CMMRectifier) ParentInterface added in v1.1.0

func (x CMMRectifier) ParentInterface() Xname

ParentGeneric will determine the parent of this CMMRectifier, and return it as a Xname interface

func (CMMRectifier) String

func (x CMMRectifier) String() string

String will stringify CMMRectifier into the format of xXcCtT

func (CMMRectifier) Type added in v1.1.0

func (x CMMRectifier) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (CMMRectifier) Validate

func (x CMMRectifier) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type Cabinet

type Cabinet struct {
	Cabinet int // xX
}

Cabinet - xX

func (Cabinet) CEC

func (x Cabinet) CEC(cEC int) CEC

CEC will get a child component with the specified ordinal

func (Cabinet) CabinetBMC

func (x Cabinet) CabinetBMC(cabinetBMC int) CabinetBMC

CabinetBMC will get a child component with the specified ordinal

func (Cabinet) CabinetCDU

func (x Cabinet) CabinetCDU(cabinetCDU int) CabinetCDU

CabinetCDU will get a child component with the specified ordinal

func (Cabinet) CabinetPDUController

func (x Cabinet) CabinetPDUController(cabinetPDUController int) CabinetPDUController

CabinetPDUController will get a child component with the specified ordinal

func (Cabinet) Chassis

func (x Cabinet) Chassis(chassis int) Chassis

Chassis will get a child component with the specified ordinal

func (Cabinet) Parent

func (x Cabinet) Parent() System

Parent will determine the parent of this Cabinet

func (Cabinet) ParentInterface added in v1.1.0

func (x Cabinet) ParentInterface() Xname

ParentGeneric will determine the parent of this Cabinet, and return it as a Xname interface

func (Cabinet) String

func (x Cabinet) String() string

String will stringify Cabinet into the format of xX

func (Cabinet) Type added in v1.1.0

func (x Cabinet) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (Cabinet) Validate

func (x Cabinet) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type CabinetBMC

type CabinetBMC struct {
	Cabinet    int // xX
	CabinetBMC int // bB
}

CabinetBMC - xXbB

func (CabinetBMC) Parent

func (x CabinetBMC) Parent() Cabinet

Parent will determine the parent of this CabinetBMC

func (CabinetBMC) ParentInterface added in v1.1.0

func (x CabinetBMC) ParentInterface() Xname

ParentGeneric will determine the parent of this CabinetBMC, and return it as a Xname interface

func (CabinetBMC) String

func (x CabinetBMC) String() string

String will stringify CabinetBMC into the format of xXbB

func (CabinetBMC) Type added in v1.1.0

func (x CabinetBMC) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (CabinetBMC) Validate

func (x CabinetBMC) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type CabinetCDU

type CabinetCDU struct {
	Cabinet    int // xX
	CabinetCDU int // dD
}

CabinetCDU - xXdD

func (CabinetCDU) Parent

func (x CabinetCDU) Parent() Cabinet

Parent will determine the parent of this CabinetCDU

func (CabinetCDU) ParentInterface added in v1.1.0

func (x CabinetCDU) ParentInterface() Xname

ParentGeneric will determine the parent of this CabinetCDU, and return it as a Xname interface

func (CabinetCDU) String

func (x CabinetCDU) String() string

String will stringify CabinetCDU into the format of xXdD

func (CabinetCDU) Type added in v1.1.0

func (x CabinetCDU) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (CabinetCDU) Validate

func (x CabinetCDU) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type CabinetPDU

type CabinetPDU struct {
	Cabinet              int // xX
	CabinetPDUController int // mM
	CabinetPDU           int // pP
}

CabinetPDU - xXmMpP

func (CabinetPDU) CabinetPDUOutlet

func (x CabinetPDU) CabinetPDUOutlet(cabinetPDUOutlet int) CabinetPDUOutlet

CabinetPDUOutlet will get a child component with the specified ordinal

func (CabinetPDU) CabinetPDUPowerConnector

func (x CabinetPDU) CabinetPDUPowerConnector(cabinetPDUPowerConnector int) CabinetPDUPowerConnector

CabinetPDUPowerConnector will get a child component with the specified ordinal

func (CabinetPDU) Parent

func (x CabinetPDU) Parent() CabinetPDUController

Parent will determine the parent of this CabinetPDU

func (CabinetPDU) ParentInterface added in v1.1.0

func (x CabinetPDU) ParentInterface() Xname

ParentGeneric will determine the parent of this CabinetPDU, and return it as a Xname interface

func (CabinetPDU) String

func (x CabinetPDU) String() string

String will stringify CabinetPDU into the format of xXmMpP

func (CabinetPDU) Type added in v1.1.0

func (x CabinetPDU) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (CabinetPDU) Validate

func (x CabinetPDU) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type CabinetPDUController

type CabinetPDUController struct {
	Cabinet              int // xX
	CabinetPDUController int // mM
}

CabinetPDUController - xXmM

func (CabinetPDUController) CabinetPDU

func (x CabinetPDUController) CabinetPDU(cabinetPDU int) CabinetPDU

CabinetPDU will get a child component with the specified ordinal

func (CabinetPDUController) CabinetPDUNic

func (x CabinetPDUController) CabinetPDUNic(cabinetPDUNic int) CabinetPDUNic

CabinetPDUNic will get a child component with the specified ordinal

func (CabinetPDUController) Parent

func (x CabinetPDUController) Parent() Cabinet

Parent will determine the parent of this CabinetPDUController

func (CabinetPDUController) ParentInterface added in v1.1.0

func (x CabinetPDUController) ParentInterface() Xname

ParentGeneric will determine the parent of this CabinetPDUController, and return it as a Xname interface

func (CabinetPDUController) String

func (x CabinetPDUController) String() string

String will stringify CabinetPDUController into the format of xXmM

func (CabinetPDUController) Type added in v1.1.0

Type will return the corresponding HMSType

func (CabinetPDUController) Validate

func (x CabinetPDUController) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type CabinetPDUNic

type CabinetPDUNic struct {
	Cabinet              int // xX
	CabinetPDUController int // mM
	CabinetPDUNic        int // iI
}

CabinetPDUNic - xXmMpPiI

func (CabinetPDUNic) Parent

Parent will determine the parent of this CabinetPDUNic

func (CabinetPDUNic) ParentInterface added in v1.1.0

func (x CabinetPDUNic) ParentInterface() Xname

ParentGeneric will determine the parent of this CabinetPDUNic, and return it as a Xname interface

func (CabinetPDUNic) String

func (x CabinetPDUNic) String() string

String will stringify CabinetPDUNic into the format of xXmMpPiI

func (CabinetPDUNic) Type added in v1.1.0

func (x CabinetPDUNic) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (CabinetPDUNic) Validate

func (x CabinetPDUNic) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type CabinetPDUOutlet

type CabinetPDUOutlet struct {
	Cabinet              int // xX
	CabinetPDUController int // mM
	CabinetPDU           int // pP
	CabinetPDUOutlet     int // jJ
}

CabinetPDUOutlet - xXmMpPjJ

func (CabinetPDUOutlet) Parent

func (x CabinetPDUOutlet) Parent() CabinetPDU

Parent will determine the parent of this CabinetPDUOutlet

func (CabinetPDUOutlet) ParentInterface added in v1.1.0

func (x CabinetPDUOutlet) ParentInterface() Xname

ParentGeneric will determine the parent of this CabinetPDUOutlet, and return it as a Xname interface

func (CabinetPDUOutlet) String

func (x CabinetPDUOutlet) String() string

String will stringify CabinetPDUOutlet into the format of xXmMpPjJ

func (CabinetPDUOutlet) Type added in v1.1.0

Type will return the corresponding HMSType

func (CabinetPDUOutlet) Validate

func (x CabinetPDUOutlet) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type CabinetPDUPowerConnector

type CabinetPDUPowerConnector struct {
	Cabinet                  int // xX
	CabinetPDUController     int // mM
	CabinetPDU               int // pP
	CabinetPDUPowerConnector int // vV
}

CabinetPDUPowerConnector - xXmMpPvV

func (CabinetPDUPowerConnector) Parent

Parent will determine the parent of this CabinetPDUPowerConnector

func (CabinetPDUPowerConnector) ParentInterface added in v1.1.0

func (x CabinetPDUPowerConnector) ParentInterface() Xname

ParentGeneric will determine the parent of this CabinetPDUPowerConnector, and return it as a Xname interface

func (CabinetPDUPowerConnector) String

func (x CabinetPDUPowerConnector) String() string

String will stringify CabinetPDUPowerConnector into the format of xXmMpPvV

func (CabinetPDUPowerConnector) Type added in v1.1.0

Type will return the corresponding HMSType

func (CabinetPDUPowerConnector) Validate

func (x CabinetPDUPowerConnector) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type Chassis

type Chassis struct {
	Cabinet int // xX
	Chassis int // cC
}

Chassis - xXcC

func (Chassis) CMMFpga

func (x Chassis) CMMFpga(cMMFpga int) CMMFpga

CMMFpga will get a child component with the specified ordinal

func (Chassis) CMMRectifier

func (x Chassis) CMMRectifier(cMMRectifier int) CMMRectifier

CMMRectifier will get a child component with the specified ordinal

func (Chassis) ChassisBMC

func (x Chassis) ChassisBMC(chassisBMC int) ChassisBMC

ChassisBMC will get a child component with the specified ordinal

func (Chassis) ComputeModule

func (x Chassis) ComputeModule(computeModule int) ComputeModule

ComputeModule will get a child component with the specified ordinal

func (Chassis) MgmtHLSwitchEnclosure

func (x Chassis) MgmtHLSwitchEnclosure(mgmtHLSwitchEnclosure int) MgmtHLSwitchEnclosure

MgmtHLSwitchEnclosure will get a child component with the specified ordinal

func (Chassis) MgmtSwitch

func (x Chassis) MgmtSwitch(mgmtSwitch int) MgmtSwitch

MgmtSwitch will get a child component with the specified ordinal

func (Chassis) Parent

func (x Chassis) Parent() Cabinet

Parent will determine the parent of this Chassis

func (Chassis) ParentInterface added in v1.1.0

func (x Chassis) ParentInterface() Xname

ParentGeneric will determine the parent of this Chassis, and return it as a Xname interface

func (Chassis) RouterModule

func (x Chassis) RouterModule(routerModule int) RouterModule

RouterModule will get a child component with the specified ordinal

func (Chassis) String

func (x Chassis) String() string

String will stringify Chassis into the format of xXcC

func (Chassis) Type added in v1.1.0

func (x Chassis) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (Chassis) Validate

func (x Chassis) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type ChassisBMC

type ChassisBMC struct {
	Cabinet    int // xX
	Chassis    int // cC
	ChassisBMC int // bB
}

ChassisBMC - xXcCbB

func (ChassisBMC) ChassisBMCNic

func (x ChassisBMC) ChassisBMCNic(chassisBMCNic int) ChassisBMCNic

ChassisBMCNic will get a child component with the specified ordinal

func (ChassisBMC) Parent

func (x ChassisBMC) Parent() Chassis

Parent will determine the parent of this ChassisBMC

func (ChassisBMC) ParentInterface added in v1.1.0

func (x ChassisBMC) ParentInterface() Xname

ParentGeneric will determine the parent of this ChassisBMC, and return it as a Xname interface

func (ChassisBMC) String

func (x ChassisBMC) String() string

String will stringify ChassisBMC into the format of xXcCbB

func (ChassisBMC) Type added in v1.1.0

func (x ChassisBMC) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (ChassisBMC) Validate

func (x ChassisBMC) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type ChassisBMCNic

type ChassisBMCNic struct {
	Cabinet       int // xX
	Chassis       int // cC
	ChassisBMC    int // bB
	ChassisBMCNic int // iI
}

ChassisBMCNic - xXcCbBiI

func (ChassisBMCNic) Parent

func (x ChassisBMCNic) Parent() ChassisBMC

Parent will determine the parent of this ChassisBMCNic

func (ChassisBMCNic) ParentInterface added in v1.1.0

func (x ChassisBMCNic) ParentInterface() Xname

ParentGeneric will determine the parent of this ChassisBMCNic, and return it as a Xname interface

func (ChassisBMCNic) String

func (x ChassisBMCNic) String() string

String will stringify ChassisBMCNic into the format of xXcCbBiI

func (ChassisBMCNic) Type added in v1.1.0

func (x ChassisBMCNic) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (ChassisBMCNic) Validate

func (x ChassisBMCNic) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type ComputeModule

type ComputeModule struct {
	Cabinet       int // xX
	Chassis       int // cC
	ComputeModule int // sS
}

ComputeModule - xXcCsS

func (ComputeModule) NodeBMC

func (x ComputeModule) NodeBMC(nodeBMC int) NodeBMC

NodeBMC will get a child component with the specified ordinal

func (ComputeModule) NodeEnclosure

func (x ComputeModule) NodeEnclosure(nodeEnclosure int) NodeEnclosure

NodeEnclosure will get a child component with the specified ordinal

func (ComputeModule) NodePowerConnector

func (x ComputeModule) NodePowerConnector(nodePowerConnector int) NodePowerConnector

NodePowerConnector will get a child component with the specified ordinal

func (ComputeModule) Parent

func (x ComputeModule) Parent() Chassis

Parent will determine the parent of this ComputeModule

func (ComputeModule) ParentInterface added in v1.1.0

func (x ComputeModule) ParentInterface() Xname

ParentGeneric will determine the parent of this ComputeModule, and return it as a Xname interface

func (ComputeModule) String

func (x ComputeModule) String() string

String will stringify ComputeModule into the format of xXcCsS

func (ComputeModule) Type added in v1.1.0

func (x ComputeModule) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (ComputeModule) Validate

func (x ComputeModule) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type Drive

type Drive struct {
	Cabinet       int // xX
	Chassis       int // cC
	ComputeModule int // sS
	NodeBMC       int // bB
	Node          int // nN
	StorageGroup  int // gG
	Drive         int // kK
}

Drive - xXcCsSbBnNgGkK

func (Drive) Parent

func (x Drive) Parent() StorageGroup

Parent will determine the parent of this Drive

func (Drive) ParentInterface added in v1.1.0

func (x Drive) ParentInterface() Xname

ParentGeneric will determine the parent of this Drive, and return it as a Xname interface

func (Drive) String

func (x Drive) String() string

String will stringify Drive into the format of xXcCsSbBnNgGkK

func (Drive) Type added in v1.1.0

func (x Drive) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (Drive) Validate

func (x Drive) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type HSNAsic

type HSNAsic struct {
	Cabinet      int // xX
	Chassis      int // cC
	RouterModule int // rR
	HSNAsic      int // aA
}

HSNAsic - xXcCrRaA

func (x HSNAsic) HSNLink(hSNLink int) HSNLink

HSNLink will get a child component with the specified ordinal

func (HSNAsic) Parent

func (x HSNAsic) Parent() RouterModule

Parent will determine the parent of this HSNAsic

func (HSNAsic) ParentInterface added in v1.1.0

func (x HSNAsic) ParentInterface() Xname

ParentGeneric will determine the parent of this HSNAsic, and return it as a Xname interface

func (HSNAsic) String

func (x HSNAsic) String() string

String will stringify HSNAsic into the format of xXcCrRaA

func (HSNAsic) Type added in v1.1.0

func (x HSNAsic) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (HSNAsic) Validate

func (x HSNAsic) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type HSNBoard

type HSNBoard struct {
	Cabinet      int // xX
	Chassis      int // cC
	RouterModule int // rR
	HSNBoard     int // eE
}

HSNBoard - xXcCrReE

func (HSNBoard) Parent

func (x HSNBoard) Parent() RouterModule

Parent will determine the parent of this HSNBoard

func (HSNBoard) ParentInterface added in v1.1.0

func (x HSNBoard) ParentInterface() Xname

ParentGeneric will determine the parent of this HSNBoard, and return it as a Xname interface

func (HSNBoard) String

func (x HSNBoard) String() string

String will stringify HSNBoard into the format of xXcCrReE

func (HSNBoard) Type added in v1.1.0

func (x HSNBoard) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (HSNBoard) Validate

func (x HSNBoard) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type HSNConnector

type HSNConnector struct {
	Cabinet      int // xX
	Chassis      int // cC
	RouterModule int // rR
	HSNConnector int // jJ
}

HSNConnector - xXcCrRjJ

func (HSNConnector) HSNConnectorPort

func (x HSNConnector) HSNConnectorPort(hSNConnectorPort int) HSNConnectorPort

HSNConnectorPort will get a child component with the specified ordinal

func (HSNConnector) Parent

func (x HSNConnector) Parent() RouterModule

Parent will determine the parent of this HSNConnector

func (HSNConnector) ParentInterface added in v1.1.0

func (x HSNConnector) ParentInterface() Xname

ParentGeneric will determine the parent of this HSNConnector, and return it as a Xname interface

func (HSNConnector) String

func (x HSNConnector) String() string

String will stringify HSNConnector into the format of xXcCrRjJ

func (HSNConnector) Type added in v1.1.0

func (x HSNConnector) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (HSNConnector) Validate

func (x HSNConnector) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type HSNConnectorPort

type HSNConnectorPort struct {
	Cabinet          int // xX
	Chassis          int // cC
	RouterModule     int // rR
	HSNConnector     int // jJ
	HSNConnectorPort int // pP
}

HSNConnectorPort - xXcCrRjJpP

func (HSNConnectorPort) Parent

func (x HSNConnectorPort) Parent() HSNConnector

Parent will determine the parent of this HSNConnectorPort

func (HSNConnectorPort) ParentInterface added in v1.1.0

func (x HSNConnectorPort) ParentInterface() Xname

ParentGeneric will determine the parent of this HSNConnectorPort, and return it as a Xname interface

func (HSNConnectorPort) String

func (x HSNConnectorPort) String() string

String will stringify HSNConnectorPort into the format of xXcCrRjJpP

func (HSNConnectorPort) Type added in v1.1.0

Type will return the corresponding HMSType

func (HSNConnectorPort) Validate

func (x HSNConnectorPort) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type HSNLink struct {
	Cabinet      int // xX
	Chassis      int // cC
	RouterModule int // rR
	HSNAsic      int // aA
	HSNLink      int // lL
}

HSNLink - xXcCrRaAlL

func (HSNLink) Parent

func (x HSNLink) Parent() HSNAsic

Parent will determine the parent of this HSNLink

func (HSNLink) ParentInterface added in v1.1.0

func (x HSNLink) ParentInterface() Xname

ParentGeneric will determine the parent of this HSNLink, and return it as a Xname interface

func (HSNLink) String

func (x HSNLink) String() string

String will stringify HSNLink into the format of xXcCrRaAlL

func (HSNLink) Type added in v1.1.0

func (x HSNLink) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (HSNLink) Validate

func (x HSNLink) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type Memory

type Memory struct {
	Cabinet       int // xX
	Chassis       int // cC
	ComputeModule int // sS
	NodeBMC       int // bB
	Node          int // nN
	Memory        int // dD
}

Memory - xXcCsSbBnNdD

func (Memory) Parent

func (x Memory) Parent() Node

Parent will determine the parent of this Memory

func (Memory) ParentInterface added in v1.1.0

func (x Memory) ParentInterface() Xname

ParentGeneric will determine the parent of this Memory, and return it as a Xname interface

func (Memory) String

func (x Memory) String() string

String will stringify Memory into the format of xXcCsSbBnNdD

func (Memory) Type added in v1.1.0

func (x Memory) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (Memory) Validate

func (x Memory) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type MgmtHLSwitch

type MgmtHLSwitch struct {
	Cabinet               int // xX
	Chassis               int // cC
	MgmtHLSwitchEnclosure int // hH
	MgmtHLSwitch          int // sS
}

MgmtHLSwitch - xXcChHsS

func (MgmtHLSwitch) Parent

Parent will determine the parent of this MgmtHLSwitch

func (MgmtHLSwitch) ParentInterface added in v1.1.0

func (x MgmtHLSwitch) ParentInterface() Xname

ParentGeneric will determine the parent of this MgmtHLSwitch, and return it as a Xname interface

func (MgmtHLSwitch) String

func (x MgmtHLSwitch) String() string

String will stringify MgmtHLSwitch into the format of xXcChHsS

func (MgmtHLSwitch) Type added in v1.1.0

func (x MgmtHLSwitch) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (MgmtHLSwitch) Validate

func (x MgmtHLSwitch) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type MgmtHLSwitchEnclosure

type MgmtHLSwitchEnclosure struct {
	Cabinet               int // xX
	Chassis               int // cC
	MgmtHLSwitchEnclosure int // hH
}

MgmtHLSwitchEnclosure - xXcChH

func (MgmtHLSwitchEnclosure) MgmtHLSwitch

func (x MgmtHLSwitchEnclosure) MgmtHLSwitch(mgmtHLSwitch int) MgmtHLSwitch

MgmtHLSwitch will get a child component with the specified ordinal

func (MgmtHLSwitchEnclosure) Parent

func (x MgmtHLSwitchEnclosure) Parent() Chassis

Parent will determine the parent of this MgmtHLSwitchEnclosure

func (MgmtHLSwitchEnclosure) ParentInterface added in v1.1.0

func (x MgmtHLSwitchEnclosure) ParentInterface() Xname

ParentGeneric will determine the parent of this MgmtHLSwitchEnclosure, and return it as a Xname interface

func (MgmtHLSwitchEnclosure) String

func (x MgmtHLSwitchEnclosure) String() string

String will stringify MgmtHLSwitchEnclosure into the format of xXcChH

func (MgmtHLSwitchEnclosure) Type added in v1.1.0

Type will return the corresponding HMSType

func (MgmtHLSwitchEnclosure) Validate

func (x MgmtHLSwitchEnclosure) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type MgmtSwitch

type MgmtSwitch struct {
	Cabinet    int // xX
	Chassis    int // cC
	MgmtSwitch int // wW
}

MgmtSwitch - xXcCwW

func (MgmtSwitch) MgmtSwitchConnector

func (x MgmtSwitch) MgmtSwitchConnector(mgmtSwitchConnector int) MgmtSwitchConnector

MgmtSwitchConnector will get a child component with the specified ordinal

func (MgmtSwitch) Parent

func (x MgmtSwitch) Parent() Chassis

Parent will determine the parent of this MgmtSwitch

func (MgmtSwitch) ParentInterface added in v1.1.0

func (x MgmtSwitch) ParentInterface() Xname

ParentGeneric will determine the parent of this MgmtSwitch, and return it as a Xname interface

func (MgmtSwitch) String

func (x MgmtSwitch) String() string

String will stringify MgmtSwitch into the format of xXcCwW

func (MgmtSwitch) Type added in v1.1.0

func (x MgmtSwitch) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (MgmtSwitch) Validate

func (x MgmtSwitch) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type MgmtSwitchConnector

type MgmtSwitchConnector struct {
	Cabinet             int // xX
	Chassis             int // cC
	MgmtSwitch          int // wW
	MgmtSwitchConnector int // jJ
}

MgmtSwitchConnector - xXcCwWjJ

func (MgmtSwitchConnector) Parent

func (x MgmtSwitchConnector) Parent() MgmtSwitch

Parent will determine the parent of this MgmtSwitchConnector

func (MgmtSwitchConnector) ParentInterface added in v1.1.0

func (x MgmtSwitchConnector) ParentInterface() Xname

ParentGeneric will determine the parent of this MgmtSwitchConnector, and return it as a Xname interface

func (MgmtSwitchConnector) String

func (x MgmtSwitchConnector) String() string

String will stringify MgmtSwitchConnector into the format of xXcCwWjJ

func (MgmtSwitchConnector) Type added in v1.1.0

Type will return the corresponding HMSType

func (MgmtSwitchConnector) Validate

func (x MgmtSwitchConnector) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type Node

type Node struct {
	Cabinet       int // xX
	Chassis       int // cC
	ComputeModule int // sS
	NodeBMC       int // bB
	Node          int // nN
}

Node - xXcCsSbBnN

func (Node) Memory

func (x Node) Memory(memory int) Memory

Memory will get a child component with the specified ordinal

func (Node) NodeAccel

func (x Node) NodeAccel(nodeAccel int) NodeAccel

NodeAccel will get a child component with the specified ordinal

func (Node) NodeAccelRiser

func (x Node) NodeAccelRiser(nodeAccelRiser int) NodeAccelRiser

NodeAccelRiser will get a child component with the specified ordinal

func (Node) NodeHsnNic

func (x Node) NodeHsnNic(nodeHsnNic int) NodeHsnNic

NodeHsnNic will get a child component with the specified ordinal

func (Node) NodeNic

func (x Node) NodeNic(nodeNic int) NodeNic

NodeNic will get a child component with the specified ordinal

func (Node) Parent

func (x Node) Parent() NodeBMC

Parent will determine the parent of this Node

func (Node) ParentInterface added in v1.1.0

func (x Node) ParentInterface() Xname

ParentGeneric will determine the parent of this Node, and return it as a Xname interface

func (Node) Processor

func (x Node) Processor(processor int) Processor

Processor will get a child component with the specified ordinal

func (Node) StorageGroup

func (x Node) StorageGroup(storageGroup int) StorageGroup

StorageGroup will get a child component with the specified ordinal

func (Node) String

func (x Node) String() string

String will stringify Node into the format of xXcCsSbBnN

func (Node) Type added in v1.1.0

func (x Node) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (Node) Validate

func (x Node) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

func (Node) VirtualNode added in v1.3.0

func (x Node) VirtualNode(virtualNode int) VirtualNode

VirtualNode will get a child component with the specified ordinal

type NodeAccel

type NodeAccel struct {
	Cabinet       int // xX
	Chassis       int // cC
	ComputeModule int // sS
	NodeBMC       int // bB
	Node          int // nN
	NodeAccel     int // aA
}

NodeAccel - xXcCsSbBnNaA

func (NodeAccel) Parent

func (x NodeAccel) Parent() Node

Parent will determine the parent of this NodeAccel

func (NodeAccel) ParentInterface added in v1.1.0

func (x NodeAccel) ParentInterface() Xname

ParentGeneric will determine the parent of this NodeAccel, and return it as a Xname interface

func (NodeAccel) String

func (x NodeAccel) String() string

String will stringify NodeAccel into the format of xXcCsSbBnNaA

func (NodeAccel) Type added in v1.1.0

func (x NodeAccel) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (NodeAccel) Validate

func (x NodeAccel) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type NodeAccelRiser

type NodeAccelRiser struct {
	Cabinet        int // xX
	Chassis        int // cC
	ComputeModule  int // sS
	NodeBMC        int // bB
	Node           int // nN
	NodeAccelRiser int // rR
}

NodeAccelRiser - xXcCsSbBnNrR

func (NodeAccelRiser) Parent

func (x NodeAccelRiser) Parent() Node

Parent will determine the parent of this NodeAccelRiser

func (NodeAccelRiser) ParentInterface added in v1.1.0

func (x NodeAccelRiser) ParentInterface() Xname

ParentGeneric will determine the parent of this NodeAccelRiser, and return it as a Xname interface

func (NodeAccelRiser) String

func (x NodeAccelRiser) String() string

String will stringify NodeAccelRiser into the format of xXcCsSbBnNrR

func (NodeAccelRiser) Type added in v1.1.0

Type will return the corresponding HMSType

func (NodeAccelRiser) Validate

func (x NodeAccelRiser) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type NodeBMC

type NodeBMC struct {
	Cabinet       int // xX
	Chassis       int // cC
	ComputeModule int // sS
	NodeBMC       int // bB
}

NodeBMC - xXcCsSbB

func (NodeBMC) Node

func (x NodeBMC) Node(node int) Node

Node will get a child component with the specified ordinal

func (NodeBMC) NodeBMCNic

func (x NodeBMC) NodeBMCNic(nodeBMCNic int) NodeBMCNic

NodeBMCNic will get a child component with the specified ordinal

func (NodeBMC) Parent

func (x NodeBMC) Parent() ComputeModule

Parent will determine the parent of this NodeBMC

func (NodeBMC) ParentInterface added in v1.1.0

func (x NodeBMC) ParentInterface() Xname

ParentGeneric will determine the parent of this NodeBMC, and return it as a Xname interface

func (NodeBMC) String

func (x NodeBMC) String() string

String will stringify NodeBMC into the format of xXcCsSbB

func (NodeBMC) Type added in v1.1.0

func (x NodeBMC) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (NodeBMC) Validate

func (x NodeBMC) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type NodeBMCNic

type NodeBMCNic struct {
	Cabinet       int // xX
	Chassis       int // cC
	ComputeModule int // sS
	NodeBMC       int // bB
	NodeBMCNic    int // iI
}

NodeBMCNic - xXcCsSbBiI

func (NodeBMCNic) Parent

func (x NodeBMCNic) Parent() NodeBMC

Parent will determine the parent of this NodeBMCNic

func (NodeBMCNic) ParentInterface added in v1.1.0

func (x NodeBMCNic) ParentInterface() Xname

ParentGeneric will determine the parent of this NodeBMCNic, and return it as a Xname interface

func (NodeBMCNic) String

func (x NodeBMCNic) String() string

String will stringify NodeBMCNic into the format of xXcCsSbBiI

func (NodeBMCNic) Type added in v1.1.0

func (x NodeBMCNic) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (NodeBMCNic) Validate

func (x NodeBMCNic) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type NodeEnclosure

type NodeEnclosure struct {
	Cabinet       int // xX
	Chassis       int // cC
	ComputeModule int // sS
	NodeEnclosure int // eE
}

NodeEnclosure - xXcCsSbBeE

func (NodeEnclosure) NodeEnclosurePowerSupply

func (x NodeEnclosure) NodeEnclosurePowerSupply(nodeEnclosurePowerSupply int) NodeEnclosurePowerSupply

NodeEnclosurePowerSupply will get a child component with the specified ordinal

func (NodeEnclosure) NodeFpga

func (x NodeEnclosure) NodeFpga(nodeFpga int) NodeFpga

NodeFpga will get a child component with the specified ordinal

func (NodeEnclosure) Parent

func (x NodeEnclosure) Parent() ComputeModule

Parent will determine the parent of this NodeEnclosure

func (NodeEnclosure) ParentInterface added in v1.1.0

func (x NodeEnclosure) ParentInterface() Xname

ParentGeneric will determine the parent of this NodeEnclosure, and return it as a Xname interface

func (NodeEnclosure) String

func (x NodeEnclosure) String() string

String will stringify NodeEnclosure into the format of xXcCsSbBeE

func (NodeEnclosure) Type added in v1.1.0

func (x NodeEnclosure) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (NodeEnclosure) Validate

func (x NodeEnclosure) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type NodeEnclosurePowerSupply

type NodeEnclosurePowerSupply struct {
	Cabinet                  int // xX
	Chassis                  int // cC
	ComputeModule            int // sS
	NodeEnclosure            int // eE
	NodeEnclosurePowerSupply int // tT
}

NodeEnclosurePowerSupply - xXcCsSbBeEtT

func (NodeEnclosurePowerSupply) Parent

Parent will determine the parent of this NodeEnclosurePowerSupply

func (NodeEnclosurePowerSupply) ParentInterface added in v1.1.0

func (x NodeEnclosurePowerSupply) ParentInterface() Xname

ParentGeneric will determine the parent of this NodeEnclosurePowerSupply, and return it as a Xname interface

func (NodeEnclosurePowerSupply) String

func (x NodeEnclosurePowerSupply) String() string

String will stringify NodeEnclosurePowerSupply into the format of xXcCsSbBeEtT

func (NodeEnclosurePowerSupply) Type added in v1.1.0

Type will return the corresponding HMSType

func (NodeEnclosurePowerSupply) Validate

func (x NodeEnclosurePowerSupply) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type NodeFpga

type NodeFpga struct {
	Cabinet       int // xX
	Chassis       int // cC
	ComputeModule int // sS
	NodeEnclosure int // eE
	NodeFpga      int // fF
}

NodeFpga - xXcCsSbBfF

func (NodeFpga) Parent

func (x NodeFpga) Parent() NodeEnclosure

Parent will determine the parent of this NodeFpga

func (NodeFpga) ParentInterface added in v1.1.0

func (x NodeFpga) ParentInterface() Xname

ParentGeneric will determine the parent of this NodeFpga, and return it as a Xname interface

func (NodeFpga) String

func (x NodeFpga) String() string

String will stringify NodeFpga into the format of xXcCsSbBfF

func (NodeFpga) Type added in v1.1.0

func (x NodeFpga) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (NodeFpga) Validate

func (x NodeFpga) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type NodeHsnNic

type NodeHsnNic struct {
	Cabinet       int // xX
	Chassis       int // cC
	ComputeModule int // sS
	NodeBMC       int // bB
	Node          int // nN
	NodeHsnNic    int // hH
}

NodeHsnNic - xXcCsSbBnNhH

func (NodeHsnNic) Parent

func (x NodeHsnNic) Parent() Node

Parent will determine the parent of this NodeHsnNic

func (NodeHsnNic) ParentInterface added in v1.1.0

func (x NodeHsnNic) ParentInterface() Xname

ParentGeneric will determine the parent of this NodeHsnNic, and return it as a Xname interface

func (NodeHsnNic) String

func (x NodeHsnNic) String() string

String will stringify NodeHsnNic into the format of xXcCsSbBnNhH

func (NodeHsnNic) Type added in v1.1.0

func (x NodeHsnNic) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (NodeHsnNic) Validate

func (x NodeHsnNic) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type NodeNic

type NodeNic struct {
	Cabinet       int // xX
	Chassis       int // cC
	ComputeModule int // sS
	NodeBMC       int // bB
	Node          int // nN
	NodeNic       int // iI
}

NodeNic - xXcCsSbBnNiI

func (NodeNic) Parent

func (x NodeNic) Parent() Node

Parent will determine the parent of this NodeNic

func (NodeNic) ParentInterface added in v1.1.0

func (x NodeNic) ParentInterface() Xname

ParentGeneric will determine the parent of this NodeNic, and return it as a Xname interface

func (NodeNic) String

func (x NodeNic) String() string

String will stringify NodeNic into the format of xXcCsSbBnNiI

func (NodeNic) Type added in v1.1.0

func (x NodeNic) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (NodeNic) Validate

func (x NodeNic) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type NodePowerConnector

type NodePowerConnector struct {
	Cabinet            int // xX
	Chassis            int // cC
	ComputeModule      int // sS
	NodePowerConnector int // Sv
}

NodePowerConnector - xXcCsSv

func (NodePowerConnector) Parent

func (x NodePowerConnector) Parent() ComputeModule

Parent will determine the parent of this NodePowerConnector

func (NodePowerConnector) ParentInterface added in v1.1.0

func (x NodePowerConnector) ParentInterface() Xname

ParentGeneric will determine the parent of this NodePowerConnector, and return it as a Xname interface

func (NodePowerConnector) String

func (x NodePowerConnector) String() string

String will stringify NodePowerConnector into the format of xXcCsSv

func (NodePowerConnector) Type added in v1.1.0

Type will return the corresponding HMSType

func (NodePowerConnector) Validate

func (x NodePowerConnector) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type Processor

type Processor struct {
	Cabinet       int // xX
	Chassis       int // cC
	ComputeModule int // sS
	NodeBMC       int // bB
	Node          int // nN
	Processor     int // pP
}

Processor - xXcCsSbBnNpP

func (Processor) Parent

func (x Processor) Parent() Node

Parent will determine the parent of this Processor

func (Processor) ParentInterface added in v1.1.0

func (x Processor) ParentInterface() Xname

ParentGeneric will determine the parent of this Processor, and return it as a Xname interface

func (Processor) String

func (x Processor) String() string

String will stringify Processor into the format of xXcCsSbBnNpP

func (Processor) Type added in v1.1.0

func (x Processor) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (Processor) Validate

func (x Processor) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type RouterBMC

type RouterBMC struct {
	Cabinet      int // xX
	Chassis      int // cC
	RouterModule int // rR
	RouterBMC    int // bB
}

RouterBMC - xXcCrRbB

func (RouterBMC) Parent

func (x RouterBMC) Parent() RouterModule

Parent will determine the parent of this RouterBMC

func (RouterBMC) ParentInterface added in v1.1.0

func (x RouterBMC) ParentInterface() Xname

ParentGeneric will determine the parent of this RouterBMC, and return it as a Xname interface

func (RouterBMC) RouterBMCNic

func (x RouterBMC) RouterBMCNic(routerBMCNic int) RouterBMCNic

RouterBMCNic will get a child component with the specified ordinal

func (RouterBMC) String

func (x RouterBMC) String() string

String will stringify RouterBMC into the format of xXcCrRbB

func (RouterBMC) Type added in v1.1.0

func (x RouterBMC) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (RouterBMC) Validate

func (x RouterBMC) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type RouterBMCNic

type RouterBMCNic struct {
	Cabinet      int // xX
	Chassis      int // cC
	RouterModule int // rR
	RouterBMC    int // bB
	RouterBMCNic int // iI
}

RouterBMCNic - xXcCrRbBiI

func (RouterBMCNic) Parent

func (x RouterBMCNic) Parent() RouterBMC

Parent will determine the parent of this RouterBMCNic

func (RouterBMCNic) ParentInterface added in v1.1.0

func (x RouterBMCNic) ParentInterface() Xname

ParentGeneric will determine the parent of this RouterBMCNic, and return it as a Xname interface

func (RouterBMCNic) String

func (x RouterBMCNic) String() string

String will stringify RouterBMCNic into the format of xXcCrRbBiI

func (RouterBMCNic) Type added in v1.1.0

func (x RouterBMCNic) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (RouterBMCNic) Validate

func (x RouterBMCNic) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type RouterFpga

type RouterFpga struct {
	Cabinet      int // xX
	Chassis      int // cC
	RouterModule int // rR
	RouterFpga   int // fF
}

RouterFpga - xXcCrRfF

func (RouterFpga) Parent

func (x RouterFpga) Parent() RouterModule

Parent will determine the parent of this RouterFpga

func (RouterFpga) ParentInterface added in v1.1.0

func (x RouterFpga) ParentInterface() Xname

ParentGeneric will determine the parent of this RouterFpga, and return it as a Xname interface

func (RouterFpga) String

func (x RouterFpga) String() string

String will stringify RouterFpga into the format of xXcCrRfF

func (RouterFpga) Type added in v1.1.0

func (x RouterFpga) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (RouterFpga) Validate

func (x RouterFpga) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type RouterModule

type RouterModule struct {
	Cabinet      int // xX
	Chassis      int // cC
	RouterModule int // rR
}

RouterModule - xXcCrR

func (RouterModule) HSNAsic

func (x RouterModule) HSNAsic(hSNAsic int) HSNAsic

HSNAsic will get a child component with the specified ordinal

func (RouterModule) HSNBoard

func (x RouterModule) HSNBoard(hSNBoard int) HSNBoard

HSNBoard will get a child component with the specified ordinal

func (RouterModule) HSNConnector

func (x RouterModule) HSNConnector(hSNConnector int) HSNConnector

HSNConnector will get a child component with the specified ordinal

func (RouterModule) Parent

func (x RouterModule) Parent() Chassis

Parent will determine the parent of this RouterModule

func (RouterModule) ParentInterface added in v1.1.0

func (x RouterModule) ParentInterface() Xname

ParentGeneric will determine the parent of this RouterModule, and return it as a Xname interface

func (RouterModule) RouterBMC

func (x RouterModule) RouterBMC(routerBMC int) RouterBMC

RouterBMC will get a child component with the specified ordinal

func (RouterModule) RouterFpga

func (x RouterModule) RouterFpga(routerFpga int) RouterFpga

RouterFpga will get a child component with the specified ordinal

func (RouterModule) RouterPowerConnector

func (x RouterModule) RouterPowerConnector(routerPowerConnector int) RouterPowerConnector

RouterPowerConnector will get a child component with the specified ordinal

func (RouterModule) RouterTOR

func (x RouterModule) RouterTOR(routerTOR int) RouterTOR

RouterTOR will get a child component with the specified ordinal

func (RouterModule) String

func (x RouterModule) String() string

String will stringify RouterModule into the format of xXcCrR

func (RouterModule) Type added in v1.1.0

func (x RouterModule) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (RouterModule) Validate

func (x RouterModule) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type RouterPowerConnector

type RouterPowerConnector struct {
	Cabinet              int // xX
	Chassis              int // cC
	RouterModule         int // rR
	RouterPowerConnector int // vV
}

RouterPowerConnector - xXcCrRvV

func (RouterPowerConnector) Parent

Parent will determine the parent of this RouterPowerConnector

func (RouterPowerConnector) ParentInterface added in v1.1.0

func (x RouterPowerConnector) ParentInterface() Xname

ParentGeneric will determine the parent of this RouterPowerConnector, and return it as a Xname interface

func (RouterPowerConnector) String

func (x RouterPowerConnector) String() string

String will stringify RouterPowerConnector into the format of xXcCrRvV

func (RouterPowerConnector) Type added in v1.1.0

Type will return the corresponding HMSType

func (RouterPowerConnector) Validate

func (x RouterPowerConnector) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type RouterTOR

type RouterTOR struct {
	Cabinet      int // xX
	Chassis      int // cC
	RouterModule int // rR
	RouterTOR    int // tT
}

RouterTOR - xXcCrRtT

func (RouterTOR) Parent

func (x RouterTOR) Parent() RouterModule

Parent will determine the parent of this RouterTOR

func (RouterTOR) ParentInterface added in v1.1.0

func (x RouterTOR) ParentInterface() Xname

ParentGeneric will determine the parent of this RouterTOR, and return it as a Xname interface

func (RouterTOR) RouterTORFpga

func (x RouterTOR) RouterTORFpga(routerTORFpga int) RouterTORFpga

RouterTORFpga will get a child component with the specified ordinal

func (RouterTOR) String

func (x RouterTOR) String() string

String will stringify RouterTOR into the format of xXcCrRtT

func (RouterTOR) Type added in v1.1.0

func (x RouterTOR) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (RouterTOR) Validate

func (x RouterTOR) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type RouterTORFpga

type RouterTORFpga struct {
	Cabinet       int // xX
	Chassis       int // cC
	RouterModule  int // rR
	RouterTOR     int // tT
	RouterTORFpga int // fF
}

RouterTORFpga - xXcCrRtTfF

func (RouterTORFpga) Parent

func (x RouterTORFpga) Parent() RouterTOR

Parent will determine the parent of this RouterTORFpga

func (RouterTORFpga) ParentInterface added in v1.1.0

func (x RouterTORFpga) ParentInterface() Xname

ParentGeneric will determine the parent of this RouterTORFpga, and return it as a Xname interface

func (RouterTORFpga) String

func (x RouterTORFpga) String() string

String will stringify RouterTORFpga into the format of xXcCrRtTfF

func (RouterTORFpga) Type added in v1.1.0

func (x RouterTORFpga) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (RouterTORFpga) Validate

func (x RouterTORFpga) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type StorageGroup

type StorageGroup struct {
	Cabinet       int // xX
	Chassis       int // cC
	ComputeModule int // sS
	NodeBMC       int // bB
	Node          int // nN
	StorageGroup  int // gG
}

StorageGroup - xXcCsSbBnNgG

func (StorageGroup) Drive

func (x StorageGroup) Drive(drive int) Drive

Drive will get a child component with the specified ordinal

func (StorageGroup) Parent

func (x StorageGroup) Parent() Node

Parent will determine the parent of this StorageGroup

func (StorageGroup) ParentInterface added in v1.1.0

func (x StorageGroup) ParentInterface() Xname

ParentGeneric will determine the parent of this StorageGroup, and return it as a Xname interface

func (StorageGroup) String

func (x StorageGroup) String() string

String will stringify StorageGroup into the format of xXcCsSbBnNgG

func (StorageGroup) Type added in v1.1.0

func (x StorageGroup) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (StorageGroup) Validate

func (x StorageGroup) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type System

type System struct {
}

System - sS

func (System) CDU

func (x System) CDU(cDU int) CDU

CDU will get a child component with the specified ordinal

func (System) Cabinet

func (x System) Cabinet(cabinet int) Cabinet

Cabinet will get a child component with the specified ordinal

func (System) ParentInterface added in v1.1.0

func (x System) ParentInterface() Xname

ParentGeneric will determine the parent of this System, and return it as a Xname interface

func (System) String

func (x System) String() string

String will stringify System into the format of sS

func (System) Type added in v1.1.0

func (x System) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (System) Validate

func (x System) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type Validator

type Validator interface {
	Validate() error
}

Validator is implemented by any value that has a Validate() function. All of the xnames structures in this package implement this interface.

type VirtualNode added in v1.3.0

type VirtualNode struct {
	Cabinet       int // xX
	Chassis       int // cC
	ComputeModule int // sS
	NodeBMC       int // bB
	Node          int // nN
	VirtualNode   int // vV
}

VirtualNode - xXcCsSbBnNvV

func (VirtualNode) Parent added in v1.3.0

func (x VirtualNode) Parent() Node

Parent will determine the parent of this VirtualNode

func (VirtualNode) ParentInterface added in v1.3.0

func (x VirtualNode) ParentInterface() Xname

ParentGeneric will determine the parent of this VirtualNode, and return it as a Xname interface

func (VirtualNode) String added in v1.3.0

func (x VirtualNode) String() string

String will stringify VirtualNode into the format of xXcCsSbBnNvV

func (VirtualNode) Type added in v1.3.0

func (x VirtualNode) Type() xnametypes.HMSType

Type will return the corresponding HMSType

func (VirtualNode) Validate added in v1.3.0

func (x VirtualNode) Validate() error

Validate will validate the string representation of this structure against xnametypes.IsHMSCompIDValid()

type Xname added in v1.1.0

type Xname interface {
	String() string
	Type() xnametypes.HMSType
	ParentInterface() Xname
}

Xname is an interface that is implemented by all xnames structures. It is meant to provide a generic way to store or pass a xnames structure, such as to a function that can handle multiple different xnames types.

func FromString

func FromString(xname string) Xname

FromString will convert the string representation of a xname into a xname structure If the string is not a valid xname, then nil and HMSTypeInvalid will be returned.

Directories

Path Synopsis
MIT License
MIT License

Jump to

Keyboard shortcuts

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