Documentation ¶
Index ¶
- Variables
- type AwsRequestSigning
- func (*AwsRequestSigning) Descriptor() ([]byte, []int)
- func (m *AwsRequestSigning) GetHostRewrite() string
- func (m *AwsRequestSigning) GetRegion() string
- func (m *AwsRequestSigning) GetServiceName() string
- func (m *AwsRequestSigning) Marshal() (dAtA []byte, err error)
- func (m *AwsRequestSigning) MarshalTo(dAtA []byte) (int, error)
- func (m *AwsRequestSigning) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AwsRequestSigning) ProtoMessage()
- func (m *AwsRequestSigning) Reset()
- func (m *AwsRequestSigning) Size() (n int)
- func (m *AwsRequestSigning) String() string
- func (m *AwsRequestSigning) Unmarshal(dAtA []byte) error
- func (m *AwsRequestSigning) Validate() error
- func (m *AwsRequestSigning) XXX_DiscardUnknown()
- func (m *AwsRequestSigning) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AwsRequestSigning) XXX_Merge(src proto.Message)
- func (m *AwsRequestSigning) XXX_Size() int
- func (m *AwsRequestSigning) XXX_Unmarshal(b []byte) error
- type AwsRequestSigningValidationError
- func (e AwsRequestSigningValidationError) Cause() error
- func (e AwsRequestSigningValidationError) Error() string
- func (e AwsRequestSigningValidationError) ErrorName() string
- func (e AwsRequestSigningValidationError) Field() string
- func (e AwsRequestSigningValidationError) Key() bool
- func (e AwsRequestSigningValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type AwsRequestSigning ¶
type AwsRequestSigning struct { // The `service namespace // <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces>`_ // of the HTTP endpoint. // // Example: s3 ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // The `region <https://docs.aws.amazon.com/general/latest/gr/rande.html>`_ hosting the HTTP // endpoint. // // Example: us-west-2 Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` // Indicates that before signing headers, the host header will be swapped with // this value. If not set or empty, the original host header value // will be used and no rewrite will happen. // // Note: this rewrite affects both signing and host header forwarding. However, this // option shouldn't be used with // :ref:`HCM host rewrite <envoy_api_field_config.route.v3.RouteAction.host_rewrite_literal>` given that the // value set here would be used for signing whereas the value set in the HCM would be used // for host header forwarding which is not the desired outcome. HostRewrite string `protobuf:"bytes,3,opt,name=host_rewrite,json=hostRewrite,proto3" json:"host_rewrite,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Top level configuration for the AWS request signing filter.
func (*AwsRequestSigning) Descriptor ¶
func (*AwsRequestSigning) Descriptor() ([]byte, []int)
func (*AwsRequestSigning) GetHostRewrite ¶
func (m *AwsRequestSigning) GetHostRewrite() string
func (*AwsRequestSigning) GetRegion ¶
func (m *AwsRequestSigning) GetRegion() string
func (*AwsRequestSigning) GetServiceName ¶
func (m *AwsRequestSigning) GetServiceName() string
func (*AwsRequestSigning) Marshal ¶
func (m *AwsRequestSigning) Marshal() (dAtA []byte, err error)
func (*AwsRequestSigning) MarshalTo ¶
func (m *AwsRequestSigning) MarshalTo(dAtA []byte) (int, error)
func (*AwsRequestSigning) MarshalToSizedBuffer ¶
func (m *AwsRequestSigning) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AwsRequestSigning) ProtoMessage ¶
func (*AwsRequestSigning) ProtoMessage()
func (*AwsRequestSigning) Reset ¶
func (m *AwsRequestSigning) Reset()
func (*AwsRequestSigning) Size ¶
func (m *AwsRequestSigning) Size() (n int)
func (*AwsRequestSigning) String ¶
func (m *AwsRequestSigning) String() string
func (*AwsRequestSigning) Unmarshal ¶
func (m *AwsRequestSigning) Unmarshal(dAtA []byte) error
func (*AwsRequestSigning) Validate ¶
func (m *AwsRequestSigning) Validate() error
Validate checks the field values on AwsRequestSigning with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*AwsRequestSigning) XXX_DiscardUnknown ¶
func (m *AwsRequestSigning) XXX_DiscardUnknown()
func (*AwsRequestSigning) XXX_Marshal ¶
func (m *AwsRequestSigning) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AwsRequestSigning) XXX_Merge ¶
func (m *AwsRequestSigning) XXX_Merge(src proto.Message)
func (*AwsRequestSigning) XXX_Size ¶
func (m *AwsRequestSigning) XXX_Size() int
func (*AwsRequestSigning) XXX_Unmarshal ¶
func (m *AwsRequestSigning) XXX_Unmarshal(b []byte) error
type AwsRequestSigningValidationError ¶
type AwsRequestSigningValidationError struct {
// contains filtered or unexported fields
}
AwsRequestSigningValidationError is the validation error returned by AwsRequestSigning.Validate if the designated constraints aren't met.
func (AwsRequestSigningValidationError) Cause ¶
func (e AwsRequestSigningValidationError) Cause() error
Cause function returns cause value.
func (AwsRequestSigningValidationError) Error ¶
func (e AwsRequestSigningValidationError) Error() string
Error satisfies the builtin error interface
func (AwsRequestSigningValidationError) ErrorName ¶
func (e AwsRequestSigningValidationError) ErrorName() string
ErrorName returns error name.
func (AwsRequestSigningValidationError) Field ¶
func (e AwsRequestSigningValidationError) Field() string
Field function returns field value.
func (AwsRequestSigningValidationError) Key ¶
func (e AwsRequestSigningValidationError) Key() bool
Key function returns key value.
func (AwsRequestSigningValidationError) Reason ¶
func (e AwsRequestSigningValidationError) Reason() string
Reason function returns reason value.
Click to show internal directories.
Click to hide internal directories.