Documentation
¶
Index ¶
- type CsrfPolicy
- func (*CsrfPolicy) Descriptor() ([]byte, []int)
- func (m *CsrfPolicy) GetAdditionalOrigins() []*v31.StringMatcher
- func (m *CsrfPolicy) GetFilterEnabled() *v3.RuntimeFractionalPercent
- func (m *CsrfPolicy) GetShadowEnabled() *v3.RuntimeFractionalPercent
- func (*CsrfPolicy) ProtoMessage()
- func (m *CsrfPolicy) Reset()
- func (m *CsrfPolicy) String() string
- func (m *CsrfPolicy) Validate() error
- func (m *CsrfPolicy) XXX_DiscardUnknown()
- func (m *CsrfPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CsrfPolicy) XXX_Merge(src proto.Message)
- func (m *CsrfPolicy) XXX_Size() int
- func (m *CsrfPolicy) XXX_Unmarshal(b []byte) error
- type CsrfPolicyValidationError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CsrfPolicy ¶
type CsrfPolicy struct { FilterEnabled *v3.RuntimeFractionalPercent `protobuf:"bytes,1,opt,name=filter_enabled,json=filterEnabled,proto3" json:"filter_enabled,omitempty"` ShadowEnabled *v3.RuntimeFractionalPercent `protobuf:"bytes,2,opt,name=shadow_enabled,json=shadowEnabled,proto3" json:"shadow_enabled,omitempty"` AdditionalOrigins []*v31.StringMatcher `protobuf:"bytes,3,rep,name=additional_origins,json=additionalOrigins,proto3" json:"additional_origins,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CsrfPolicy) Descriptor ¶
func (*CsrfPolicy) Descriptor() ([]byte, []int)
func (*CsrfPolicy) GetAdditionalOrigins ¶
func (m *CsrfPolicy) GetAdditionalOrigins() []*v31.StringMatcher
func (*CsrfPolicy) GetFilterEnabled ¶
func (m *CsrfPolicy) GetFilterEnabled() *v3.RuntimeFractionalPercent
func (*CsrfPolicy) GetShadowEnabled ¶
func (m *CsrfPolicy) GetShadowEnabled() *v3.RuntimeFractionalPercent
func (*CsrfPolicy) ProtoMessage ¶
func (*CsrfPolicy) ProtoMessage()
func (*CsrfPolicy) Reset ¶
func (m *CsrfPolicy) Reset()
func (*CsrfPolicy) String ¶
func (m *CsrfPolicy) String() string
func (*CsrfPolicy) Validate ¶
func (m *CsrfPolicy) Validate() error
Validate checks the field values on CsrfPolicy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*CsrfPolicy) XXX_DiscardUnknown ¶
func (m *CsrfPolicy) XXX_DiscardUnknown()
func (*CsrfPolicy) XXX_Marshal ¶
func (m *CsrfPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CsrfPolicy) XXX_Merge ¶
func (m *CsrfPolicy) XXX_Merge(src proto.Message)
func (*CsrfPolicy) XXX_Size ¶
func (m *CsrfPolicy) XXX_Size() int
func (*CsrfPolicy) XXX_Unmarshal ¶
func (m *CsrfPolicy) XXX_Unmarshal(b []byte) error
type CsrfPolicyValidationError ¶
type CsrfPolicyValidationError struct {
// contains filtered or unexported fields
}
CsrfPolicyValidationError is the validation error returned by CsrfPolicy.Validate if the designated constraints aren't met.
func (CsrfPolicyValidationError) Cause ¶
func (e CsrfPolicyValidationError) Cause() error
Cause function returns cause value.
func (CsrfPolicyValidationError) Error ¶
func (e CsrfPolicyValidationError) Error() string
Error satisfies the builtin error interface
func (CsrfPolicyValidationError) ErrorName ¶
func (e CsrfPolicyValidationError) ErrorName() string
ErrorName returns error name.
func (CsrfPolicyValidationError) Field ¶
func (e CsrfPolicyValidationError) Field() string
Field function returns field value.
func (CsrfPolicyValidationError) Key ¶
func (e CsrfPolicyValidationError) Key() bool
Key function returns key value.
func (CsrfPolicyValidationError) Reason ¶
func (e CsrfPolicyValidationError) Reason() string
Reason function returns reason value.
Click to show internal directories.
Click to hide internal directories.