Documentation
¶
Index ¶
- Constants
- Variables
- type Chain
- func (x *Chain) ClearKind()
- func (x *Chain) ClearRaw()
- func (x *Chain) GetKind() isChain_Kind
- func (x *Chain) GetRaw() []byte
- func (x *Chain) HasKind() bool
- func (x *Chain) HasRaw() bool
- func (*Chain) ProtoMessage()
- func (x *Chain) ProtoReflect() protoreflect.Message
- func (x *Chain) Reset()
- func (x *Chain) SetRaw(v []byte)
- func (x *Chain) String() string
- func (x *Chain) WhichKind() case_Chain_Kind
- type ChainTarget
- func (x *ChainTarget) ClearName()
- func (x *ChainTarget) ClearType()
- func (x *ChainTarget) GetName() string
- func (x *ChainTarget) GetType() TargetType
- func (x *ChainTarget) HasName() bool
- func (x *ChainTarget) HasType() bool
- func (*ChainTarget) ProtoMessage()
- func (x *ChainTarget) ProtoReflect() protoreflect.Message
- func (x *ChainTarget) Reset()
- func (x *ChainTarget) SetName(v string)
- func (x *ChainTarget) SetType(v TargetType)
- func (x *ChainTarget) String() string
- type ChainTarget_builder
- type Chain_Raw
- type Chain_builder
- type TargetType
Constants ¶
View Source
const Chain_Kind_not_set_case case_Chain_Kind = 0
View Source
const Chain_Raw_case case_Chain_Kind = 1
Variables ¶
View Source
var ( TargetType_name = map[int32]string{ 0: "UNDEFINED", 1: "NAMESPACE", 2: "CONTAINER", 3: "USER", 4: "GROUP", } TargetType_value = map[string]int32{ "UNDEFINED": 0, "NAMESPACE": 1, "CONTAINER": 2, "USER": 3, "GROUP": 4, } )
Enum value maps for TargetType.
View Source
var File_api_ape_grpc_types_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Chain ¶
type Chain struct { // Types that are valid to be assigned to Kind: // // *Chain_Raw Kind isChain_Kind `protobuf_oneof:"kind"` // contains filtered or unexported fields }
Chain is a chain of rules defined for a specific target.
func (*Chain) ProtoMessage ¶
func (*Chain) ProtoMessage()
func (*Chain) ProtoReflect ¶
func (x *Chain) ProtoReflect() protoreflect.Message
type ChainTarget ¶
type ChainTarget struct { Type *TargetType `protobuf:"varint,1,opt,name=type,enum=frostfs.v2.ape.TargetType" json:"type,omitempty"` Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` // contains filtered or unexported fields }
ChainTarget is an object to which a rule chain is defined.
func (*ChainTarget) ClearName ¶
func (x *ChainTarget) ClearName()
func (*ChainTarget) ClearType ¶
func (x *ChainTarget) ClearType()
func (*ChainTarget) GetName ¶
func (x *ChainTarget) GetName() string
func (*ChainTarget) GetType ¶
func (x *ChainTarget) GetType() TargetType
func (*ChainTarget) HasName ¶
func (x *ChainTarget) HasName() bool
func (*ChainTarget) HasType ¶
func (x *ChainTarget) HasType() bool
func (*ChainTarget) ProtoMessage ¶
func (*ChainTarget) ProtoMessage()
func (*ChainTarget) ProtoReflect ¶
func (x *ChainTarget) ProtoReflect() protoreflect.Message
func (*ChainTarget) Reset ¶
func (x *ChainTarget) Reset()
func (*ChainTarget) SetName ¶
func (x *ChainTarget) SetName(v string)
func (*ChainTarget) SetType ¶
func (x *ChainTarget) SetType(v TargetType)
func (*ChainTarget) String ¶
func (x *ChainTarget) String() string
type ChainTarget_builder ¶
type ChainTarget_builder struct { Type *TargetType Name *string // contains filtered or unexported fields }
func (ChainTarget_builder) Build ¶
func (b0 ChainTarget_builder) Build() *ChainTarget
type Chain_Raw ¶
type Chain_Raw struct { // Raw representation of a serizalized rule chain. Raw []byte `protobuf:"bytes,1,opt,name=raw,oneof"` }
type Chain_builder ¶
type Chain_builder struct { // Fields of oneof Kind: // Raw representation of a serizalized rule chain. Raw []byte // contains filtered or unexported fields }
func (Chain_builder) Build ¶
func (b0 Chain_builder) Build() *Chain
type TargetType ¶
type TargetType int32
TargetType is a type target to which a rule chain is defined.
const ( TargetType_UNDEFINED TargetType = 0 TargetType_NAMESPACE TargetType = 1 TargetType_CONTAINER TargetType = 2 TargetType_USER TargetType = 3 TargetType_GROUP TargetType = 4 )
func (TargetType) Descriptor ¶
func (TargetType) Descriptor() protoreflect.EnumDescriptor
func (TargetType) Enum ¶
func (x TargetType) Enum() *TargetType
func (TargetType) Number ¶
func (x TargetType) Number() protoreflect.EnumNumber
func (TargetType) String ¶
func (x TargetType) String() string
func (TargetType) Type ¶
func (TargetType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.