Documentation ¶
Index ¶
- Variables
- type ChecksumConfig
- func (*ChecksumConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ChecksumConfig) GetChecksums() []*ChecksumConfig_Checksum
- func (x *ChecksumConfig) GetRejectUnmatched() bool
- func (*ChecksumConfig) ProtoMessage()
- func (x *ChecksumConfig) ProtoReflect() protoreflect.Message
- func (x *ChecksumConfig) Reset()
- func (x *ChecksumConfig) String() string
- type ChecksumConfig_Checksum
- func (*ChecksumConfig_Checksum) Descriptor() ([]byte, []int)deprecated
- func (m *ChecksumConfig_Checksum) GetMatcher() isChecksumConfig_Checksum_Matcher
- func (x *ChecksumConfig_Checksum) GetPathMatcher() *v3.StringMatcher
- func (x *ChecksumConfig_Checksum) GetSha256() string
- func (*ChecksumConfig_Checksum) ProtoMessage()
- func (x *ChecksumConfig_Checksum) ProtoReflect() protoreflect.Message
- func (x *ChecksumConfig_Checksum) Reset()
- func (x *ChecksumConfig_Checksum) String() string
- type ChecksumConfig_Checksum_PathMatcher
Constants ¶
This section is empty.
Variables ¶
View Source
var File_contrib_envoy_extensions_filters_http_checksum_v3alpha_checksum_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ChecksumConfig ¶
type ChecksumConfig struct { // A set of matcher and checksum pairs for which, if a path matching “path_matcher“ // is requested and the checksum of the response body does not match the “sha256“, the // response will be replaced with a 403 Forbidden status. // // If multiple matchers match the same path, the first to match takes precedence. Checksums []*ChecksumConfig_Checksum `protobuf:"bytes,1,rep,name=checksums,proto3" json:"checksums,omitempty"` // If a request doesn't match any of the specified checksum paths and reject_unmatched is // true, the request is rejected immediately with 403 Forbidden. RejectUnmatched bool `protobuf:"varint,2,opt,name=reject_unmatched,json=rejectUnmatched,proto3" json:"reject_unmatched,omitempty"` // contains filtered or unexported fields }
func (*ChecksumConfig) Descriptor
deprecated
func (*ChecksumConfig) Descriptor() ([]byte, []int)
Deprecated: Use ChecksumConfig.ProtoReflect.Descriptor instead.
func (*ChecksumConfig) GetChecksums ¶
func (x *ChecksumConfig) GetChecksums() []*ChecksumConfig_Checksum
func (*ChecksumConfig) GetRejectUnmatched ¶
func (x *ChecksumConfig) GetRejectUnmatched() bool
func (*ChecksumConfig) ProtoMessage ¶
func (*ChecksumConfig) ProtoMessage()
func (*ChecksumConfig) ProtoReflect ¶
func (x *ChecksumConfig) ProtoReflect() protoreflect.Message
func (*ChecksumConfig) Reset ¶
func (x *ChecksumConfig) Reset()
func (*ChecksumConfig) String ¶
func (x *ChecksumConfig) String() string
type ChecksumConfig_Checksum ¶
type ChecksumConfig_Checksum struct { // Types that are assignable to Matcher: // // *ChecksumConfig_Checksum_PathMatcher Matcher isChecksumConfig_Checksum_Matcher `protobuf_oneof:"matcher"` // A hex-encoded sha256 string required to match the sha256sum of the response body // of the path specified in the “path_matcher“ field. Sha256 string `protobuf:"bytes,2,opt,name=sha256,proto3" json:"sha256,omitempty"` // contains filtered or unexported fields }
func (*ChecksumConfig_Checksum) Descriptor
deprecated
func (*ChecksumConfig_Checksum) Descriptor() ([]byte, []int)
Deprecated: Use ChecksumConfig_Checksum.ProtoReflect.Descriptor instead.
func (*ChecksumConfig_Checksum) GetMatcher ¶
func (m *ChecksumConfig_Checksum) GetMatcher() isChecksumConfig_Checksum_Matcher
func (*ChecksumConfig_Checksum) GetPathMatcher ¶
func (x *ChecksumConfig_Checksum) GetPathMatcher() *v3.StringMatcher
func (*ChecksumConfig_Checksum) GetSha256 ¶
func (x *ChecksumConfig_Checksum) GetSha256() string
func (*ChecksumConfig_Checksum) ProtoMessage ¶
func (*ChecksumConfig_Checksum) ProtoMessage()
func (*ChecksumConfig_Checksum) ProtoReflect ¶
func (x *ChecksumConfig_Checksum) ProtoReflect() protoreflect.Message
func (*ChecksumConfig_Checksum) Reset ¶
func (x *ChecksumConfig_Checksum) Reset()
func (*ChecksumConfig_Checksum) String ¶
func (x *ChecksumConfig_Checksum) String() string
type ChecksumConfig_Checksum_PathMatcher ¶
type ChecksumConfig_Checksum_PathMatcher struct { // A matcher for a path that is expected to have a specific checksum, as specified // in the “sha256“ field. PathMatcher *v3.StringMatcher `protobuf:"bytes,1,opt,name=path_matcher,json=pathMatcher,proto3,oneof"` }
Click to show internal directories.
Click to hide internal directories.