Documentation ¶
Index ¶
- Variables
- type RBAC
- func (*RBAC) Descriptor() ([]byte, []int)deprecated
- func (x *RBAC) GetRules() *v4alpha.RBAC
- func (x *RBAC) GetShadowRules() *v4alpha.RBAC
- func (*RBAC) ProtoMessage()
- func (x *RBAC) ProtoReflect() protoreflect.Message
- func (x *RBAC) Reset()
- func (x *RBAC) String() string
- func (m *RBAC) Validate() error
- type RBACPerRoute
- func (*RBACPerRoute) Descriptor() ([]byte, []int)deprecated
- func (x *RBACPerRoute) GetRbac() *RBAC
- func (*RBACPerRoute) ProtoMessage()
- func (x *RBACPerRoute) ProtoReflect() protoreflect.Message
- func (x *RBACPerRoute) Reset()
- func (x *RBACPerRoute) String() string
- func (m *RBACPerRoute) Validate() error
- type RBACPerRouteValidationError
- func (e RBACPerRouteValidationError) Cause() error
- func (e RBACPerRouteValidationError) Error() string
- func (e RBACPerRouteValidationError) ErrorName() string
- func (e RBACPerRouteValidationError) Field() string
- func (e RBACPerRouteValidationError) Key() bool
- func (e RBACPerRouteValidationError) Reason() string
- type RBACValidationError
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_filters_http_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"` // contains filtered or unexported fields }
func (*RBAC) Descriptor
deprecated
func (*RBAC) GetShadowRules ¶
func (*RBAC) ProtoMessage ¶
func (*RBAC) ProtoMessage()
func (*RBAC) ProtoReflect ¶ added in v1.7.0
func (x *RBAC) ProtoReflect() protoreflect.Message
type RBACPerRoute ¶
type RBACPerRoute struct { Rbac *RBAC `protobuf:"bytes,2,opt,name=rbac,proto3" json:"rbac,omitempty"` // contains filtered or unexported fields }
func (*RBACPerRoute) Descriptor
deprecated
func (*RBACPerRoute) Descriptor() ([]byte, []int)
Deprecated: Use RBACPerRoute.ProtoReflect.Descriptor instead.
func (*RBACPerRoute) GetRbac ¶
func (x *RBACPerRoute) GetRbac() *RBAC
func (*RBACPerRoute) ProtoMessage ¶
func (*RBACPerRoute) ProtoMessage()
func (*RBACPerRoute) ProtoReflect ¶ added in v1.7.0
func (x *RBACPerRoute) ProtoReflect() protoreflect.Message
func (*RBACPerRoute) Reset ¶
func (x *RBACPerRoute) Reset()
func (*RBACPerRoute) String ¶
func (x *RBACPerRoute) String() string
func (*RBACPerRoute) Validate ¶
func (m *RBACPerRoute) Validate() error
Validate checks the field values on RBACPerRoute with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RBACPerRouteValidationError ¶
type RBACPerRouteValidationError struct {
// contains filtered or unexported fields
}
RBACPerRouteValidationError is the validation error returned by RBACPerRoute.Validate if the designated constraints aren't met.
func (RBACPerRouteValidationError) Cause ¶
func (e RBACPerRouteValidationError) Cause() error
Cause function returns cause value.
func (RBACPerRouteValidationError) Error ¶
func (e RBACPerRouteValidationError) Error() string
Error satisfies the builtin error interface
func (RBACPerRouteValidationError) ErrorName ¶
func (e RBACPerRouteValidationError) ErrorName() string
ErrorName returns error name.
func (RBACPerRouteValidationError) Field ¶
func (e RBACPerRouteValidationError) Field() string
Field function returns field value.
func (RBACPerRouteValidationError) Key ¶
func (e RBACPerRouteValidationError) Key() bool
Key function returns key value.
func (RBACPerRouteValidationError) Reason ¶
func (e RBACPerRouteValidationError) Reason() string
Reason function returns reason value.
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.