forked from TrueCloudLab/frostfs-api-go
Airat Arifullin
9789b79b1d
* Regenerate protobufs as APE specific type are defined as separate package; * Move `ape` package related utils methods from `apemanager`. Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
21 lines
319 B
Go
21 lines
319 B
Go
package ape
|
|
|
|
func (t *ChainTarget) SetType(typ TargetType) {
|
|
t.Type = typ
|
|
}
|
|
|
|
func (t *ChainTarget) SetName(name string) {
|
|
t.Name = name
|
|
}
|
|
|
|
func (c *Chain) SetKind(kind isChain_Kind) {
|
|
c.Kind = kind
|
|
}
|
|
|
|
func (cr *Chain_Raw) SetRaw(raw []byte) {
|
|
cr.Raw = raw
|
|
}
|
|
|
|
func (cr *Chain_Raw) GetRaw() []byte {
|
|
return cr.Raw
|
|
}
|