forked from TrueCloudLab/frostfs-node
Initial commit
Initial public review release v0.10.0
This commit is contained in:
commit
dadfd90dcd
276 changed files with 46331 additions and 0 deletions
17
lib/ir/info.go
Normal file
17
lib/ir/info.go
Normal file
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue