Documentation ¶
Index ¶
- Variables
- type RBAC
- func (*RBAC) Descriptor() ([]byte, []int)deprecated
- func (x *RBAC) GetEnforcementType() RBAC_EnforcementType
- func (x *RBAC) GetRules() *v4alpha.RBAC
- func (x *RBAC) GetShadowRules() *v4alpha.RBAC
- func (x *RBAC) GetStatPrefix() string
- func (*RBAC) ProtoMessage()
- func (x *RBAC) ProtoReflect() protoreflect.Message
- func (x *RBAC) Reset()
- func (x *RBAC) String() string
- func (m *RBAC) Validate() error
- type RBACValidationError
- type RBAC_EnforcementType
- func (RBAC_EnforcementType) Descriptor() protoreflect.EnumDescriptor
- func (x RBAC_EnforcementType) Enum() *RBAC_EnforcementType
- func (RBAC_EnforcementType) EnumDescriptor() ([]byte, []int)deprecated
- func (x RBAC_EnforcementType) Number() protoreflect.EnumNumber
- func (x RBAC_EnforcementType) String() string
- func (RBAC_EnforcementType) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RBAC_EnforcementType_name = map[int32]string{ 0: "ONE_TIME_ON_FIRST_BYTE", 1: "CONTINUOUS", } RBAC_EnforcementType_value = map[string]int32{ "ONE_TIME_ON_FIRST_BYTE": 0, "CONTINUOUS": 1, } )
Enum value maps for RBAC_EnforcementType.
View Source
var File_envoy_extensions_filters_network_rbac_v4alpha_rbac_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type RBAC ¶
type RBAC struct { Rules *v4alpha.RBAC `protobuf:"bytes,1,opt,name=rules,proto3" json:"rules,omitempty"` ShadowRules *v4alpha.RBAC `protobuf:"bytes,2,opt,name=shadow_rules,json=shadowRules,proto3" json:"shadow_rules,omitempty"` StatPrefix string `protobuf:"bytes,3,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"` EnforcementType RBAC_EnforcementType `` /* 179-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RBAC) Descriptor
deprecated
func (*RBAC) GetEnforcementType ¶
func (x *RBAC) GetEnforcementType() RBAC_EnforcementType
func (*RBAC) GetShadowRules ¶
func (*RBAC) GetStatPrefix ¶
func (*RBAC) ProtoMessage ¶
func (*RBAC) ProtoMessage()
func (*RBAC) ProtoReflect ¶ added in v1.7.0
func (x *RBAC) ProtoReflect() protoreflect.Message
type RBACValidationError ¶
type RBACValidationError struct {
// contains filtered or unexported fields
}
RBACValidationError is the validation error returned by RBAC.Validate if the designated constraints aren't met.
func (RBACValidationError) Cause ¶
func (e RBACValidationError) Cause() error
Cause function returns cause value.
func (RBACValidationError) Error ¶
func (e RBACValidationError) Error() string
Error satisfies the builtin error interface
func (RBACValidationError) ErrorName ¶
func (e RBACValidationError) ErrorName() string
ErrorName returns error name.
func (RBACValidationError) Field ¶
func (e RBACValidationError) Field() string
Field function returns field value.
func (RBACValidationError) Key ¶
func (e RBACValidationError) Key() bool
Key function returns key value.
func (RBACValidationError) Reason ¶
func (e RBACValidationError) Reason() string
Reason function returns reason value.
type RBAC_EnforcementType ¶
type RBAC_EnforcementType int32
const ( RBAC_ONE_TIME_ON_FIRST_BYTE RBAC_EnforcementType = 0 RBAC_CONTINUOUS RBAC_EnforcementType = 1 )
func (RBAC_EnforcementType) Descriptor ¶ added in v1.7.0
func (RBAC_EnforcementType) Descriptor() protoreflect.EnumDescriptor
func (RBAC_EnforcementType) Enum ¶ added in v1.7.0
func (x RBAC_EnforcementType) Enum() *RBAC_EnforcementType
func (RBAC_EnforcementType) EnumDescriptor
deprecated
func (RBAC_EnforcementType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RBAC_EnforcementType.Descriptor instead.
func (RBAC_EnforcementType) Number ¶ added in v1.7.0
func (x RBAC_EnforcementType) Number() protoreflect.EnumNumber
func (RBAC_EnforcementType) String ¶
func (x RBAC_EnforcementType) String() string
func (RBAC_EnforcementType) Type ¶ added in v1.7.0
func (RBAC_EnforcementType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.