forked from TrueCloudLab/frostfs-api-go
[#19] subnet: Drop related types and fields
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
bd44a3f47b
commit
ff6d8db741
23 changed files with 171 additions and 1484 deletions
|
@ -59,7 +59,6 @@ type PlacementPolicy struct {
|
|||
backupFactor uint32
|
||||
selectors []Selector
|
||||
filters []Filter
|
||||
subnetID *refs.SubnetID
|
||||
}
|
||||
|
||||
// Attribute of storage node.
|
||||
|
@ -302,14 +301,6 @@ func (p *PlacementPolicy) SetReplicas(replicas []Replica) {
|
|||
p.replicas = replicas
|
||||
}
|
||||
|
||||
func (p *PlacementPolicy) GetSubnetID() *refs.SubnetID {
|
||||
return p.subnetID
|
||||
}
|
||||
|
||||
func (p *PlacementPolicy) SetSubnetID(id *refs.SubnetID) {
|
||||
p.subnetID = id
|
||||
}
|
||||
|
||||
func (a *Attribute) GetKey() string {
|
||||
if a != nil {
|
||||
return a.key
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue