Documentation ¶
Index ¶
- Variables
- type Action
- type BearerToken
- func (x *BearerToken) EmitProtobuf(mm *easyproto.MessageMarshaler)
- func (x *BearerToken) GetBody() *BearerToken_Body
- func (x *BearerToken) GetSignature() *grpc.Signature
- func (x *BearerToken) MarshalEasyJSON(out *jwriter.Writer)
- func (x *BearerToken) MarshalJSON() ([]byte, error)
- func (x *BearerToken) MarshalProtobuf(dst []byte) []byte
- func (x *BearerToken) SetBody(v *BearerToken_Body)
- func (x *BearerToken) SetSignature(v *grpc.Signature)
- func (x *BearerToken) StableSize() (size int)
- func (x *BearerToken) UnmarshalEasyJSON(in *jlexer.Lexer)
- func (x *BearerToken) UnmarshalJSON(data []byte) error
- func (x *BearerToken) UnmarshalProtobuf(src []byte) (err error)
- type BearerToken_Body
- func (x *BearerToken_Body) EmitProtobuf(mm *easyproto.MessageMarshaler)
- func (x *BearerToken_Body) GetAllowImpersonate() bool
- func (x *BearerToken_Body) GetApeOverride() *BearerToken_Body_APEOverride
- func (x *BearerToken_Body) GetEaclTable() *EACLTable
- func (x *BearerToken_Body) GetLifetime() *BearerToken_Body_TokenLifetime
- func (x *BearerToken_Body) GetOwnerId() *grpc.OwnerID
- func (x *BearerToken_Body) MarshalEasyJSON(out *jwriter.Writer)
- func (x *BearerToken_Body) MarshalJSON() ([]byte, error)
- func (x *BearerToken_Body) MarshalProtobuf(dst []byte) []byte
- func (x *BearerToken_Body) SetAllowImpersonate(v bool)
- func (x *BearerToken_Body) SetApeOverride(v *BearerToken_Body_APEOverride)
- func (x *BearerToken_Body) SetEaclTable(v *EACLTable)
- func (x *BearerToken_Body) SetLifetime(v *BearerToken_Body_TokenLifetime)
- func (x *BearerToken_Body) SetOwnerId(v *grpc.OwnerID)
- func (x *BearerToken_Body) StableSize() (size int)
- func (x *BearerToken_Body) UnmarshalEasyJSON(in *jlexer.Lexer)
- func (x *BearerToken_Body) UnmarshalJSON(data []byte) error
- func (x *BearerToken_Body) UnmarshalProtobuf(src []byte) (err error)
- type BearerToken_Body_APEOverride
- func (x *BearerToken_Body_APEOverride) EmitProtobuf(mm *easyproto.MessageMarshaler)
- func (x *BearerToken_Body_APEOverride) GetChains() []grpc1.Chain
- func (x *BearerToken_Body_APEOverride) GetTarget() *grpc1.ChainTarget
- func (x *BearerToken_Body_APEOverride) MarshalEasyJSON(out *jwriter.Writer)
- func (x *BearerToken_Body_APEOverride) MarshalJSON() ([]byte, error)
- func (x *BearerToken_Body_APEOverride) MarshalProtobuf(dst []byte) []byte
- func (x *BearerToken_Body_APEOverride) SetChains(v []grpc1.Chain)
- func (x *BearerToken_Body_APEOverride) SetTarget(v *grpc1.ChainTarget)
- func (x *BearerToken_Body_APEOverride) StableSize() (size int)
- func (x *BearerToken_Body_APEOverride) UnmarshalEasyJSON(in *jlexer.Lexer)
- func (x *BearerToken_Body_APEOverride) UnmarshalJSON(data []byte) error
- func (x *BearerToken_Body_APEOverride) UnmarshalProtobuf(src []byte) (err error)
- type BearerToken_Body_TokenLifetime
- func (x *BearerToken_Body_TokenLifetime) EmitProtobuf(mm *easyproto.MessageMarshaler)
- func (x *BearerToken_Body_TokenLifetime) GetExp() uint64
- func (x *BearerToken_Body_TokenLifetime) GetIat() uint64
- func (x *BearerToken_Body_TokenLifetime) GetNbf() uint64
- func (x *BearerToken_Body_TokenLifetime) MarshalEasyJSON(out *jwriter.Writer)
- func (x *BearerToken_Body_TokenLifetime) MarshalJSON() ([]byte, error)
- func (x *BearerToken_Body_TokenLifetime) MarshalProtobuf(dst []byte) []byte
- func (x *BearerToken_Body_TokenLifetime) SetExp(v uint64)
- func (x *BearerToken_Body_TokenLifetime) SetIat(v uint64)
- func (x *BearerToken_Body_TokenLifetime) SetNbf(v uint64)
- func (x *BearerToken_Body_TokenLifetime) StableSize() (size int)
- func (x *BearerToken_Body_TokenLifetime) UnmarshalEasyJSON(in *jlexer.Lexer)
- func (x *BearerToken_Body_TokenLifetime) UnmarshalJSON(data []byte) error
- func (x *BearerToken_Body_TokenLifetime) UnmarshalProtobuf(src []byte) (err error)
- type EACLRecord
- func (x *EACLRecord) EmitProtobuf(mm *easyproto.MessageMarshaler)
- func (x *EACLRecord) GetAction() Action
- func (x *EACLRecord) GetFilters() []EACLRecord_Filter
- func (x *EACLRecord) GetOperation() Operation
- func (x *EACLRecord) GetTargets() []EACLRecord_Target
- func (x *EACLRecord) MarshalEasyJSON(out *jwriter.Writer)
- func (x *EACLRecord) MarshalJSON() ([]byte, error)
- func (x *EACLRecord) MarshalProtobuf(dst []byte) []byte
- func (x *EACLRecord) SetAction(v Action)
- func (x *EACLRecord) SetFilters(v []EACLRecord_Filter)
- func (x *EACLRecord) SetOperation(v Operation)
- func (x *EACLRecord) SetTargets(v []EACLRecord_Target)
- func (x *EACLRecord) StableSize() (size int)
- func (x *EACLRecord) UnmarshalEasyJSON(in *jlexer.Lexer)
- func (x *EACLRecord) UnmarshalJSON(data []byte) error
- func (x *EACLRecord) UnmarshalProtobuf(src []byte) (err error)
- type EACLRecord_Filter
- func (x *EACLRecord_Filter) EmitProtobuf(mm *easyproto.MessageMarshaler)
- func (x *EACLRecord_Filter) GetHeaderType() HeaderType
- func (x *EACLRecord_Filter) GetKey() string
- func (x *EACLRecord_Filter) GetMatchType() MatchType
- func (x *EACLRecord_Filter) GetValue() string
- func (x *EACLRecord_Filter) MarshalEasyJSON(out *jwriter.Writer)
- func (x *EACLRecord_Filter) MarshalJSON() ([]byte, error)
- func (x *EACLRecord_Filter) MarshalProtobuf(dst []byte) []byte
- func (x *EACLRecord_Filter) SetHeaderType(v HeaderType)
- func (x *EACLRecord_Filter) SetKey(v string)
- func (x *EACLRecord_Filter) SetMatchType(v MatchType)
- func (x *EACLRecord_Filter) SetValue(v string)
- func (x *EACLRecord_Filter) StableSize() (size int)
- func (x *EACLRecord_Filter) UnmarshalEasyJSON(in *jlexer.Lexer)
- func (x *EACLRecord_Filter) UnmarshalJSON(data []byte) error
- func (x *EACLRecord_Filter) UnmarshalProtobuf(src []byte) (err error)
- type EACLRecord_Target
- func (x *EACLRecord_Target) EmitProtobuf(mm *easyproto.MessageMarshaler)
- func (x *EACLRecord_Target) GetKeys() [][]byte
- func (x *EACLRecord_Target) GetRole() Role
- func (x *EACLRecord_Target) MarshalEasyJSON(out *jwriter.Writer)
- func (x *EACLRecord_Target) MarshalJSON() ([]byte, error)
- func (x *EACLRecord_Target) MarshalProtobuf(dst []byte) []byte
- func (x *EACLRecord_Target) SetKeys(v [][]byte)
- func (x *EACLRecord_Target) SetRole(v Role)
- func (x *EACLRecord_Target) StableSize() (size int)
- func (x *EACLRecord_Target) UnmarshalEasyJSON(in *jlexer.Lexer)
- func (x *EACLRecord_Target) UnmarshalJSON(data []byte) error
- func (x *EACLRecord_Target) UnmarshalProtobuf(src []byte) (err error)
- type EACLTable
- func (x *EACLTable) EmitProtobuf(mm *easyproto.MessageMarshaler)
- func (x *EACLTable) GetContainerId() *grpc.ContainerID
- func (x *EACLTable) GetRecords() []EACLRecord
- func (x *EACLTable) GetVersion() *grpc.Version
- func (x *EACLTable) MarshalEasyJSON(out *jwriter.Writer)
- func (x *EACLTable) MarshalJSON() ([]byte, error)
- func (x *EACLTable) MarshalProtobuf(dst []byte) []byte
- func (x *EACLTable) SetContainerId(v *grpc.ContainerID)
- func (x *EACLTable) SetRecords(v []EACLRecord)
- func (x *EACLTable) SetVersion(v *grpc.Version)
- func (x *EACLTable) StableSize() (size int)
- func (x *EACLTable) UnmarshalEasyJSON(in *jlexer.Lexer)
- func (x *EACLTable) UnmarshalJSON(data []byte) error
- func (x *EACLTable) UnmarshalProtobuf(src []byte) (err error)
- type HeaderType
- type MatchType
- type Operation
- type Role
Constants ¶
This section is empty.
Variables ¶
var ( Role_name = map[int32]string{ 0: "ROLE_UNSPECIFIED", 1: "USER", 2: "SYSTEM", 3: "OTHERS", } Role_value = map[string]int32{ "ROLE_UNSPECIFIED": 0, "USER": 1, "SYSTEM": 2, "OTHERS": 3, } )
var ( MatchType_name = map[int32]string{ 0: "MATCH_TYPE_UNSPECIFIED", 1: "STRING_EQUAL", 2: "STRING_NOT_EQUAL", } MatchType_value = map[string]int32{ "MATCH_TYPE_UNSPECIFIED": 0, "STRING_EQUAL": 1, "STRING_NOT_EQUAL": 2, } )
var ( Operation_name = map[int32]string{ 0: "OPERATION_UNSPECIFIED", 1: "GET", 2: "HEAD", 3: "PUT", 4: "DELETE", 5: "SEARCH", 6: "GETRANGE", 7: "GETRANGEHASH", } Operation_value = map[string]int32{ "OPERATION_UNSPECIFIED": 0, "GET": 1, "HEAD": 2, "PUT": 3, "DELETE": 4, "SEARCH": 5, "GETRANGE": 6, "GETRANGEHASH": 7, } )
var ( Action_name = map[int32]string{ 0: "ACTION_UNSPECIFIED", 1: "ALLOW", 2: "DENY", } Action_value = map[string]int32{ "ACTION_UNSPECIFIED": 0, "ALLOW": 1, "DENY": 2, } )
var ( HeaderType_name = map[int32]string{ 0: "HEADER_UNSPECIFIED", 1: "REQUEST", 2: "OBJECT", 3: "SERVICE", } HeaderType_value = map[string]int32{ "HEADER_UNSPECIFIED": 0, "REQUEST": 1, "OBJECT": 2, "SERVICE": 3, } )
Functions ¶
This section is empty.
Types ¶
type BearerToken ¶
type BearerToken struct { Body *BearerToken_Body `json:"body"` Signature *grpc.Signature `json:"signature"` }
func (*BearerToken) EmitProtobuf ¶
func (x *BearerToken) EmitProtobuf(mm *easyproto.MessageMarshaler)
func (*BearerToken) GetBody ¶
func (x *BearerToken) GetBody() *BearerToken_Body
func (*BearerToken) GetSignature ¶
func (x *BearerToken) GetSignature() *grpc.Signature
func (*BearerToken) MarshalEasyJSON ¶
func (x *BearerToken) MarshalEasyJSON(out *jwriter.Writer)
func (*BearerToken) MarshalJSON ¶
func (x *BearerToken) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface.
func (*BearerToken) MarshalProtobuf ¶
func (x *BearerToken) MarshalProtobuf(dst []byte) []byte
MarshalProtobuf implements the encoding.ProtoMarshaler interface.
func (*BearerToken) SetBody ¶
func (x *BearerToken) SetBody(v *BearerToken_Body)
func (*BearerToken) SetSignature ¶
func (x *BearerToken) SetSignature(v *grpc.Signature)
func (*BearerToken) StableSize ¶
func (x *BearerToken) StableSize() (size int)
StableSize returns the size of x in protobuf format.
Structures with the same field values have the same binary size.
func (*BearerToken) UnmarshalEasyJSON ¶
func (x *BearerToken) UnmarshalEasyJSON(in *jlexer.Lexer)
func (*BearerToken) UnmarshalJSON ¶
func (x *BearerToken) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface.
func (*BearerToken) UnmarshalProtobuf ¶
func (x *BearerToken) UnmarshalProtobuf(src []byte) (err error)
UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.
type BearerToken_Body ¶
type BearerToken_Body struct { EaclTable *EACLTable `json:"eaclTable"` OwnerId *grpc.OwnerID `json:"ownerID"` Lifetime *BearerToken_Body_TokenLifetime `json:"lifetime"` AllowImpersonate bool `json:"allowImpersonate"` ApeOverride *BearerToken_Body_APEOverride `json:"apeOverride"` }
func (*BearerToken_Body) EmitProtobuf ¶
func (x *BearerToken_Body) EmitProtobuf(mm *easyproto.MessageMarshaler)
func (*BearerToken_Body) GetAllowImpersonate ¶
func (x *BearerToken_Body) GetAllowImpersonate() bool
func (*BearerToken_Body) GetApeOverride ¶
func (x *BearerToken_Body) GetApeOverride() *BearerToken_Body_APEOverride
func (*BearerToken_Body) GetEaclTable ¶
func (x *BearerToken_Body) GetEaclTable() *EACLTable
func (*BearerToken_Body) GetLifetime ¶
func (x *BearerToken_Body) GetLifetime() *BearerToken_Body_TokenLifetime
func (*BearerToken_Body) GetOwnerId ¶
func (x *BearerToken_Body) GetOwnerId() *grpc.OwnerID
func (*BearerToken_Body) MarshalEasyJSON ¶
func (x *BearerToken_Body) MarshalEasyJSON(out *jwriter.Writer)
func (*BearerToken_Body) MarshalJSON ¶
func (x *BearerToken_Body) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface.
func (*BearerToken_Body) MarshalProtobuf ¶
func (x *BearerToken_Body) MarshalProtobuf(dst []byte) []byte
MarshalProtobuf implements the encoding.ProtoMarshaler interface.
func (*BearerToken_Body) SetAllowImpersonate ¶
func (x *BearerToken_Body) SetAllowImpersonate(v bool)
func (*BearerToken_Body) SetApeOverride ¶
func (x *BearerToken_Body) SetApeOverride(v *BearerToken_Body_APEOverride)
func (*BearerToken_Body) SetEaclTable ¶
func (x *BearerToken_Body) SetEaclTable(v *EACLTable)
func (*BearerToken_Body) SetLifetime ¶
func (x *BearerToken_Body) SetLifetime(v *BearerToken_Body_TokenLifetime)
func (*BearerToken_Body) SetOwnerId ¶
func (x *BearerToken_Body) SetOwnerId(v *grpc.OwnerID)
func (*BearerToken_Body) StableSize ¶
func (x *BearerToken_Body) StableSize() (size int)
StableSize returns the size of x in protobuf format.
Structures with the same field values have the same binary size.
func (*BearerToken_Body) UnmarshalEasyJSON ¶
func (x *BearerToken_Body) UnmarshalEasyJSON(in *jlexer.Lexer)
func (*BearerToken_Body) UnmarshalJSON ¶
func (x *BearerToken_Body) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface.
func (*BearerToken_Body) UnmarshalProtobuf ¶
func (x *BearerToken_Body) UnmarshalProtobuf(src []byte) (err error)
UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.
type BearerToken_Body_APEOverride ¶
type BearerToken_Body_APEOverride struct { Target *grpc1.ChainTarget `json:"target"` Chains []grpc1.Chain `json:"chains"` }
func (*BearerToken_Body_APEOverride) EmitProtobuf ¶
func (x *BearerToken_Body_APEOverride) EmitProtobuf(mm *easyproto.MessageMarshaler)
func (*BearerToken_Body_APEOverride) GetChains ¶
func (x *BearerToken_Body_APEOverride) GetChains() []grpc1.Chain
func (*BearerToken_Body_APEOverride) GetTarget ¶
func (x *BearerToken_Body_APEOverride) GetTarget() *grpc1.ChainTarget
func (*BearerToken_Body_APEOverride) MarshalEasyJSON ¶
func (x *BearerToken_Body_APEOverride) MarshalEasyJSON(out *jwriter.Writer)
func (*BearerToken_Body_APEOverride) MarshalJSON ¶
func (x *BearerToken_Body_APEOverride) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface.
func (*BearerToken_Body_APEOverride) MarshalProtobuf ¶
func (x *BearerToken_Body_APEOverride) MarshalProtobuf(dst []byte) []byte
MarshalProtobuf implements the encoding.ProtoMarshaler interface.
func (*BearerToken_Body_APEOverride) SetChains ¶
func (x *BearerToken_Body_APEOverride) SetChains(v []grpc1.Chain)
func (*BearerToken_Body_APEOverride) SetTarget ¶
func (x *BearerToken_Body_APEOverride) SetTarget(v *grpc1.ChainTarget)
func (*BearerToken_Body_APEOverride) StableSize ¶
func (x *BearerToken_Body_APEOverride) StableSize() (size int)
StableSize returns the size of x in protobuf format.
Structures with the same field values have the same binary size.
func (*BearerToken_Body_APEOverride) UnmarshalEasyJSON ¶
func (x *BearerToken_Body_APEOverride) UnmarshalEasyJSON(in *jlexer.Lexer)
func (*BearerToken_Body_APEOverride) UnmarshalJSON ¶
func (x *BearerToken_Body_APEOverride) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface.
func (*BearerToken_Body_APEOverride) UnmarshalProtobuf ¶
func (x *BearerToken_Body_APEOverride) UnmarshalProtobuf(src []byte) (err error)
UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.
type BearerToken_Body_TokenLifetime ¶
type BearerToken_Body_TokenLifetime struct { Exp uint64 `json:"exp"` Nbf uint64 `json:"nbf"` Iat uint64 `json:"iat"` }
func (*BearerToken_Body_TokenLifetime) EmitProtobuf ¶
func (x *BearerToken_Body_TokenLifetime) EmitProtobuf(mm *easyproto.MessageMarshaler)
func (*BearerToken_Body_TokenLifetime) GetExp ¶
func (x *BearerToken_Body_TokenLifetime) GetExp() uint64
func (*BearerToken_Body_TokenLifetime) GetIat ¶
func (x *BearerToken_Body_TokenLifetime) GetIat() uint64
func (*BearerToken_Body_TokenLifetime) GetNbf ¶
func (x *BearerToken_Body_TokenLifetime) GetNbf() uint64
func (*BearerToken_Body_TokenLifetime) MarshalEasyJSON ¶
func (x *BearerToken_Body_TokenLifetime) MarshalEasyJSON(out *jwriter.Writer)
func (*BearerToken_Body_TokenLifetime) MarshalJSON ¶
func (x *BearerToken_Body_TokenLifetime) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface.
func (*BearerToken_Body_TokenLifetime) MarshalProtobuf ¶
func (x *BearerToken_Body_TokenLifetime) MarshalProtobuf(dst []byte) []byte
MarshalProtobuf implements the encoding.ProtoMarshaler interface.
func (*BearerToken_Body_TokenLifetime) SetExp ¶
func (x *BearerToken_Body_TokenLifetime) SetExp(v uint64)
func (*BearerToken_Body_TokenLifetime) SetIat ¶
func (x *BearerToken_Body_TokenLifetime) SetIat(v uint64)
func (*BearerToken_Body_TokenLifetime) SetNbf ¶
func (x *BearerToken_Body_TokenLifetime) SetNbf(v uint64)
func (*BearerToken_Body_TokenLifetime) StableSize ¶
func (x *BearerToken_Body_TokenLifetime) StableSize() (size int)
StableSize returns the size of x in protobuf format.
Structures with the same field values have the same binary size.
func (*BearerToken_Body_TokenLifetime) UnmarshalEasyJSON ¶
func (x *BearerToken_Body_TokenLifetime) UnmarshalEasyJSON(in *jlexer.Lexer)
func (*BearerToken_Body_TokenLifetime) UnmarshalJSON ¶
func (x *BearerToken_Body_TokenLifetime) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface.
func (*BearerToken_Body_TokenLifetime) UnmarshalProtobuf ¶
func (x *BearerToken_Body_TokenLifetime) UnmarshalProtobuf(src []byte) (err error)
UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.
type EACLRecord ¶
type EACLRecord struct { Operation Operation `json:"operation"` Action Action `json:"action"` Filters []EACLRecord_Filter `json:"filters"` Targets []EACLRecord_Target `json:"targets"` }
func (*EACLRecord) EmitProtobuf ¶
func (x *EACLRecord) EmitProtobuf(mm *easyproto.MessageMarshaler)
func (*EACLRecord) GetAction ¶
func (x *EACLRecord) GetAction() Action
func (*EACLRecord) GetFilters ¶
func (x *EACLRecord) GetFilters() []EACLRecord_Filter
func (*EACLRecord) GetOperation ¶
func (x *EACLRecord) GetOperation() Operation
func (*EACLRecord) GetTargets ¶
func (x *EACLRecord) GetTargets() []EACLRecord_Target
func (*EACLRecord) MarshalEasyJSON ¶
func (x *EACLRecord) MarshalEasyJSON(out *jwriter.Writer)
func (*EACLRecord) MarshalJSON ¶
func (x *EACLRecord) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface.
func (*EACLRecord) MarshalProtobuf ¶
func (x *EACLRecord) MarshalProtobuf(dst []byte) []byte
MarshalProtobuf implements the encoding.ProtoMarshaler interface.
func (*EACLRecord) SetAction ¶
func (x *EACLRecord) SetAction(v Action)
func (*EACLRecord) SetFilters ¶
func (x *EACLRecord) SetFilters(v []EACLRecord_Filter)
func (*EACLRecord) SetOperation ¶
func (x *EACLRecord) SetOperation(v Operation)
func (*EACLRecord) SetTargets ¶
func (x *EACLRecord) SetTargets(v []EACLRecord_Target)
func (*EACLRecord) StableSize ¶
func (x *EACLRecord) StableSize() (size int)
StableSize returns the size of x in protobuf format.
Structures with the same field values have the same binary size.
func (*EACLRecord) UnmarshalEasyJSON ¶
func (x *EACLRecord) UnmarshalEasyJSON(in *jlexer.Lexer)
func (*EACLRecord) UnmarshalJSON ¶
func (x *EACLRecord) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface.
func (*EACLRecord) UnmarshalProtobuf ¶
func (x *EACLRecord) UnmarshalProtobuf(src []byte) (err error)
UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.
type EACLRecord_Filter ¶
type EACLRecord_Filter struct { HeaderType HeaderType `json:"headerType"` MatchType MatchType `json:"matchType"` Key string `json:"key"` Value string `json:"value"` }
func (*EACLRecord_Filter) EmitProtobuf ¶
func (x *EACLRecord_Filter) EmitProtobuf(mm *easyproto.MessageMarshaler)
func (*EACLRecord_Filter) GetHeaderType ¶
func (x *EACLRecord_Filter) GetHeaderType() HeaderType
func (*EACLRecord_Filter) GetKey ¶
func (x *EACLRecord_Filter) GetKey() string
func (*EACLRecord_Filter) GetMatchType ¶
func (x *EACLRecord_Filter) GetMatchType() MatchType
func (*EACLRecord_Filter) GetValue ¶
func (x *EACLRecord_Filter) GetValue() string
func (*EACLRecord_Filter) MarshalEasyJSON ¶
func (x *EACLRecord_Filter) MarshalEasyJSON(out *jwriter.Writer)
func (*EACLRecord_Filter) MarshalJSON ¶
func (x *EACLRecord_Filter) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface.
func (*EACLRecord_Filter) MarshalProtobuf ¶
func (x *EACLRecord_Filter) MarshalProtobuf(dst []byte) []byte
MarshalProtobuf implements the encoding.ProtoMarshaler interface.
func (*EACLRecord_Filter) SetHeaderType ¶
func (x *EACLRecord_Filter) SetHeaderType(v HeaderType)
func (*EACLRecord_Filter) SetKey ¶
func (x *EACLRecord_Filter) SetKey(v string)
func (*EACLRecord_Filter) SetMatchType ¶
func (x *EACLRecord_Filter) SetMatchType(v MatchType)
func (*EACLRecord_Filter) SetValue ¶
func (x *EACLRecord_Filter) SetValue(v string)
func (*EACLRecord_Filter) StableSize ¶
func (x *EACLRecord_Filter) StableSize() (size int)
StableSize returns the size of x in protobuf format.
Structures with the same field values have the same binary size.
func (*EACLRecord_Filter) UnmarshalEasyJSON ¶
func (x *EACLRecord_Filter) UnmarshalEasyJSON(in *jlexer.Lexer)
func (*EACLRecord_Filter) UnmarshalJSON ¶
func (x *EACLRecord_Filter) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface.
func (*EACLRecord_Filter) UnmarshalProtobuf ¶
func (x *EACLRecord_Filter) UnmarshalProtobuf(src []byte) (err error)
UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.
type EACLRecord_Target ¶
func (*EACLRecord_Target) EmitProtobuf ¶
func (x *EACLRecord_Target) EmitProtobuf(mm *easyproto.MessageMarshaler)
func (*EACLRecord_Target) GetKeys ¶
func (x *EACLRecord_Target) GetKeys() [][]byte
func (*EACLRecord_Target) GetRole ¶
func (x *EACLRecord_Target) GetRole() Role
func (*EACLRecord_Target) MarshalEasyJSON ¶
func (x *EACLRecord_Target) MarshalEasyJSON(out *jwriter.Writer)
func (*EACLRecord_Target) MarshalJSON ¶
func (x *EACLRecord_Target) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface.
func (*EACLRecord_Target) MarshalProtobuf ¶
func (x *EACLRecord_Target) MarshalProtobuf(dst []byte) []byte
MarshalProtobuf implements the encoding.ProtoMarshaler interface.
func (*EACLRecord_Target) SetKeys ¶
func (x *EACLRecord_Target) SetKeys(v [][]byte)
func (*EACLRecord_Target) SetRole ¶
func (x *EACLRecord_Target) SetRole(v Role)
func (*EACLRecord_Target) StableSize ¶
func (x *EACLRecord_Target) StableSize() (size int)
StableSize returns the size of x in protobuf format.
Structures with the same field values have the same binary size.
func (*EACLRecord_Target) UnmarshalEasyJSON ¶
func (x *EACLRecord_Target) UnmarshalEasyJSON(in *jlexer.Lexer)
func (*EACLRecord_Target) UnmarshalJSON ¶
func (x *EACLRecord_Target) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface.
func (*EACLRecord_Target) UnmarshalProtobuf ¶
func (x *EACLRecord_Target) UnmarshalProtobuf(src []byte) (err error)
UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.
type EACLTable ¶
type EACLTable struct { Version *grpc.Version `json:"version"` ContainerId *grpc.ContainerID `json:"containerID"` Records []EACLRecord `json:"records"` }
func (*EACLTable) EmitProtobuf ¶
func (x *EACLTable) EmitProtobuf(mm *easyproto.MessageMarshaler)
func (*EACLTable) GetContainerId ¶
func (x *EACLTable) GetContainerId() *grpc.ContainerID
func (*EACLTable) GetRecords ¶
func (x *EACLTable) GetRecords() []EACLRecord
func (*EACLTable) GetVersion ¶
func (*EACLTable) MarshalEasyJSON ¶
func (*EACLTable) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (*EACLTable) MarshalProtobuf ¶
MarshalProtobuf implements the encoding.ProtoMarshaler interface.
func (*EACLTable) SetContainerId ¶
func (x *EACLTable) SetContainerId(v *grpc.ContainerID)
func (*EACLTable) SetRecords ¶
func (x *EACLTable) SetRecords(v []EACLRecord)
func (*EACLTable) SetVersion ¶
func (*EACLTable) StableSize ¶
StableSize returns the size of x in protobuf format.
Structures with the same field values have the same binary size.
func (*EACLTable) UnmarshalEasyJSON ¶
func (*EACLTable) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface.
func (*EACLTable) UnmarshalProtobuf ¶
UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.
type HeaderType ¶
type HeaderType int32
const ( HeaderType_HEADER_UNSPECIFIED HeaderType = 0 HeaderType_REQUEST HeaderType = 1 HeaderType_OBJECT HeaderType = 2 HeaderType_SERVICE HeaderType = 3 )
func (*HeaderType) FromString ¶
func (x *HeaderType) FromString(s string) bool
func (HeaderType) String ¶
func (x HeaderType) String() string