Documentation ¶
Index ¶
- type ModuleInterface
- type Node
- func (n Node) GetModule() ModuleInterface
- func (n Node) GetName() string
- func (n Node) GetState() bool
- func (n Node) GetType() NodeType
- func (n Node) GetUpdatedBy() string
- func (n Node) GetWeight() NodeWeight
- func (n *Node) SetState(enabled bool)
- func (n *Node) SetUpdatedBy(updatedBy string)
- func (n *Node) WithModule(module ModuleInterface) *Node
- func (n *Node) WithName(name string) *Node
- func (n *Node) WithType(typ NodeType) *Node
- func (n *Node) WithWeight(order uint32) *Node
- type NodeType
- type NodeWeight
- type NodeWeightRange
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModuleInterface ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func (Node) GetModule ¶
func (n Node) GetModule() ModuleInterface
func (Node) GetUpdatedBy ¶
func (Node) GetWeight ¶
func (n Node) GetWeight() NodeWeight
func (*Node) SetUpdatedBy ¶
func (*Node) WithModule ¶
func (n *Node) WithModule(module ModuleInterface) *Node
func (*Node) WithWeight ¶
type NodeWeight ¶
type NodeWeight uint32
func (NodeWeight) Int ¶
func (weight NodeWeight) Int() int
func (NodeWeight) String ¶
func (weight NodeWeight) String() string
type NodeWeightRange ¶ added in v1.5.0
type NodeWeightRange []NodeWeight
func (NodeWeightRange) Len ¶ added in v1.5.0
func (r NodeWeightRange) Len() int
func (NodeWeightRange) Less ¶ added in v1.5.0
func (r NodeWeightRange) Less(i, j int) bool
func (NodeWeightRange) Swap ¶ added in v1.5.0
func (r NodeWeightRange) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.