From 09cc2a5037109fe97eb44f48a60dc6a9c00e12f9 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Fri, 4 Sep 2020 10:50:09 +0300 Subject: [PATCH] [#134] v2/acl: Regenerate proto files Signed-off-by: Alex Vanin --- v2/acl/grpc/types.go | 29 ++++++++++++++++++----------- v2/acl/grpc/types.pb.go | Bin 59021 -> 60108 bytes 2 files changed, 18 insertions(+), 11 deletions(-) diff --git a/v2/acl/grpc/types.go b/v2/acl/grpc/types.go index 875efa3..adc4339 100644 --- a/v2/acl/grpc/types.go +++ b/v2/acl/grpc/types.go @@ -4,6 +4,13 @@ import ( refs "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" ) +// SetVersion sets version of EACL rules in table. +func (m *EACLTable) SetVersion(v *refs.Version) { + if m != nil { + m.Version = v + } +} + // SetContainerId sets container identifier of the eACL table. func (m *EACLTable) SetContainerId(v *refs.ContainerID) { if m != nil { @@ -33,56 +40,56 @@ func (m *EACLRecord) SetAction(v Action) { } // SetFilters sets filter list of the eACL record. -func (m *EACLRecord) SetFilters(v []*EACLRecord_FilterInfo) { +func (m *EACLRecord) SetFilters(v []*EACLRecord_Filter) { if m != nil { m.Filters = v } } // SetTargets sets target list of the eACL record. -func (m *EACLRecord) SetTargets(v []*EACLRecord_TargetInfo) { +func (m *EACLRecord) SetTargets(v []*EACLRecord_Target) { if m != nil { m.Targets = v } } // SetHeader sets header type of the eACL filter. -func (m *EACLRecord_FilterInfo) SetHeader(v HeaderType) { +func (m *EACLRecord_Filter) SetHeader(v HeaderType) { if m != nil { - m.Header = v + m.HeaderType = v } } // SetMatchType sets match type of the eACL filter. -func (m *EACLRecord_FilterInfo) SetMatchType(v MatchType) { +func (m *EACLRecord_Filter) SetMatchType(v MatchType) { if m != nil { m.MatchType = v } } // SetHeaderName sets header name of the eACL filter. -func (m *EACLRecord_FilterInfo) SetHeaderName(v string) { +func (m *EACLRecord_Filter) SetHeaderName(v string) { if m != nil { m.HeaderName = v } } // SetHeaderVal sets header value of the eACL filter. -func (m *EACLRecord_FilterInfo) SetHeaderVal(v string) { +func (m *EACLRecord_Filter) SetHeaderVal(v string) { if m != nil { m.HeaderVal = v } } -// SetTarget sets target group of the eACL target. -func (m *EACLRecord_TargetInfo) SetTarget(v Target) { +// SetRole sets target group of the eACL target. +func (m *EACLRecord_Target) SetRole(v Role) { if m != nil { - m.Target = v + m.Role = v } } // SetKeyList sets key list of the eACL target. -func (m *EACLRecord_TargetInfo) SetKeyList(v [][]byte) { +func (m *EACLRecord_Target) SetKeyList(v [][]byte) { if m != nil { m.KeyList = v } diff --git a/v2/acl/grpc/types.pb.go b/v2/acl/grpc/types.pb.go index 7c240bd7d4191cc517dda6ebf4eb5d4749560804..5b4422ec3dccf973c08fa2445efb31e8dec0c302 100644 GIT binary patch delta 6740 zcmZvh`;T2!6~{B37juVBDW#nWoz^omEq3V8-uI(0GFS)NNNMTAL?x7S?>z@bX68dB$hvbBEJ|P@v-;!v!|T|f9Sbq z_St)_^<9teTIck+w>sZ^r}LFRt?6nuW+U_Nno8&4#;kd{XCxE2m5HDp#o^*?D>xO- zE=IdjefDv5{P4khr;i`I@5rI)z5DOpKmEDDt(v*cg9Cbe?8x+CmM(Ulyg^GxzIf#5 z^Z^!+bsf^p@qm@`(QH2rN&dKQ(==$5B7hm)2cBa_ii*@-M7lDJFeT>MEIf4}J$ z=I0v|Gr6f~|J`8H#gX<)oBq*dF6`N2e!KaQeoMn+{SNxf{7h@6F>jLLL34IE-*t3( zAu<<-cXuCexx0T4?=@GpY--=X<@q({%Vt?!P{GzgasnawfCSTpsMv)&rTwnX$FzLgvR;mtLRBn&9Tt znbBUeer%_i8k;g7?kx16#!TjRxdRKiakG1D?Yi;co~X4i3hPl*#@@3njn!Y>c8~eh zwr9+t?T?yYZa>_y--H{tnSHkmnffhRg%!trf5X;+rVIU7PB!Kz71*~oY*rLU1Glzk z)II*`r}uZPKsF0IdOKI}zA(OmcfH5D-Z-46#;@XZTZFUMEbQ#Liq$Q9t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