Documentation
¶
Index ¶
- type RBAC
- func (*RBAC) Descriptor() ([]byte, []int)
- func (m *RBAC) GetRules() *v3.RBAC
- func (m *RBAC) GetShadowRules() *v3.RBAC
- func (*RBAC) ProtoMessage()
- func (m *RBAC) Reset()
- func (m *RBAC) String() string
- func (m *RBAC) Validate() error
- func (m *RBAC) XXX_DiscardUnknown()
- func (m *RBAC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RBAC) XXX_Merge(src proto.Message)
- func (m *RBAC) XXX_Size() int
- func (m *RBAC) XXX_Unmarshal(b []byte) error
- type RBACPerRoute
- func (*RBACPerRoute) Descriptor() ([]byte, []int)
- func (m *RBACPerRoute) GetRbac() *RBAC
- func (*RBACPerRoute) ProtoMessage()
- func (m *RBACPerRoute) Reset()
- func (m *RBACPerRoute) String() string
- func (m *RBACPerRoute) Validate() error
- func (m *RBACPerRoute) XXX_DiscardUnknown()
- func (m *RBACPerRoute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RBACPerRoute) XXX_Merge(src proto.Message)
- func (m *RBACPerRoute) XXX_Size() int
- func (m *RBACPerRoute) XXX_Unmarshal(b []byte) 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 ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RBAC ¶
type RBAC struct { Rules *v3.RBAC `protobuf:"bytes,1,opt,name=rules,proto3" json:"rules,omitempty"` ShadowRules *v3.RBAC `protobuf:"bytes,2,opt,name=shadow_rules,json=shadowRules,proto3" json:"shadow_rules,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RBAC) Descriptor ¶
func (*RBAC) GetShadowRules ¶
func (*RBAC) ProtoMessage ¶
func (*RBAC) ProtoMessage()
func (*RBAC) Validate ¶
Validate checks the field values on RBAC with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*RBAC) XXX_DiscardUnknown ¶
func (m *RBAC) XXX_DiscardUnknown()
func (*RBAC) XXX_Unmarshal ¶
type RBACPerRoute ¶
type RBACPerRoute struct { Rbac *RBAC `protobuf:"bytes,2,opt,name=rbac,proto3" json:"rbac,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RBACPerRoute) Descriptor ¶
func (*RBACPerRoute) Descriptor() ([]byte, []int)
func (*RBACPerRoute) GetRbac ¶
func (m *RBACPerRoute) GetRbac() *RBAC
func (*RBACPerRoute) ProtoMessage ¶
func (*RBACPerRoute) ProtoMessage()
func (*RBACPerRoute) Reset ¶
func (m *RBACPerRoute) Reset()
func (*RBACPerRoute) String ¶
func (m *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.
func (*RBACPerRoute) XXX_DiscardUnknown ¶
func (m *RBACPerRoute) XXX_DiscardUnknown()
func (*RBACPerRoute) XXX_Marshal ¶
func (m *RBACPerRoute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RBACPerRoute) XXX_Merge ¶
func (m *RBACPerRoute) XXX_Merge(src proto.Message)
func (*RBACPerRoute) XXX_Size ¶
func (m *RBACPerRoute) XXX_Size() int
func (*RBACPerRoute) XXX_Unmarshal ¶
func (m *RBACPerRoute) XXX_Unmarshal(b []byte) error
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.