frostfs-api-go/acl/types.pb.go

89 lines
3.2 KiB
Go
Raw Normal View History

2020-04-02 12:15:59 +00:00
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: acl/types.proto
package acl
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// Target of the access control rule in access control list.
type Target int32
const (
// Unknown target, default value.
Target_Unknown Target = 0
// User target rule is applied if sender is the owner of the container.
Target_User Target = 1
// System target rule is applied if sender is the storage node within the
// container or inner ring node.
Target_System Target = 2
// Others target rule is applied if sender is not user or system target.
Target_Others Target = 3
// PubKey target rule is applied if sender has public key provided in
// extended ACL.
Target_PubKey Target = 4
)
var Target_name = map[int32]string{
0: "Unknown",
1: "User",
2: "System",
3: "Others",
4: "PubKey",
}
var Target_value = map[string]int32{
"Unknown": 0,
"User": 1,
"System": 2,
"Others": 3,
"PubKey": 4,
}
func (x Target) String() string {
return proto.EnumName(Target_name, int32(x))
}
func (Target) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_9b63aff5f3a35e32, []int{0}
}
func init() {
proto.RegisterEnum("acl.Target", Target_name, Target_value)
}
func init() { proto.RegisterFile("acl/types.proto", fileDescriptor_9b63aff5f3a35e32) }
var fileDescriptor_9b63aff5f3a35e32 = []byte{
// 216 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4f, 0x4c, 0xce, 0xd1,
0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x4e, 0x4c, 0xce,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