forked from TrueCloudLab/frostfs-node
18 lines
296 B
Go
18 lines
296 B
Go
|
package ir
|
||
|
|
||
|
// Info is a structure that groups the information
|
||
|
// about inner ring.
|
||
|
type Info struct {
|
||
|
nodes []Node
|
||
|
}
|
||
|
|
||
|
// SetNodes is an IR node list setter.
|
||
|
func (s *Info) SetNodes(v []Node) {
|
||
|
s.nodes = v
|
||
|
}
|
||
|
|
||
|
// Nodes is an IR node list getter.
|
||
|
func (s Info) Nodes() []Node {
|
||
|
return s.nodes
|
||
|
}
|