go-control-plane: github.com/envoyproxy/go-control-plane/envoy/config/filter/http/aws_request_signing/v2alpha Index | Files

package envoy_config_filter_http_aws_request_signing_v2alpha

import "github.com/envoyproxy/go-control-plane/envoy/config/filter/http/aws_request_signing/v2alpha"

Index

Package Files

aws_request_signing.pb.go aws_request_signing.pb.validate.go

Variables

var File_envoy_config_filter_http_aws_request_signing_v2alpha_aws_request_signing_proto protoreflect.FileDescriptor

type AwsRequestSigning Uses

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_route.RouteAction.host_rewrite>` 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"`
    // contains filtered or unexported fields
}

Top level configuration for the AWS request signing filter.

func (*AwsRequestSigning) Descriptor Uses

func (*AwsRequestSigning) Descriptor() ([]byte, []int)

Deprecated: Use AwsRequestSigning.ProtoReflect.Descriptor instead.

func (*AwsRequestSigning) GetHostRewrite Uses

func (x *AwsRequestSigning) GetHostRewrite() string

func (*AwsRequestSigning) GetRegion Uses

func (x *AwsRequestSigning) GetRegion() string

func (*AwsRequestSigning) GetServiceName Uses

func (x *AwsRequestSigning) GetServiceName() string

func (*AwsRequestSigning) ProtoMessage Uses

func (*AwsRequestSigning) ProtoMessage()

func (*AwsRequestSigning) ProtoReflect Uses

func (x *AwsRequestSigning) ProtoReflect() protoreflect.Message

func (*AwsRequestSigning) Reset Uses

func (x *AwsRequestSigning) Reset()

func (*AwsRequestSigning) String Uses

func (x *AwsRequestSigning) String() string

func (*AwsRequestSigning) Validate Uses

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.

type AwsRequestSigningValidationError Uses

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 Uses

func (e AwsRequestSigningValidationError) Cause() error

Cause function returns cause value.

func (AwsRequestSigningValidationError) Error Uses

func (e AwsRequestSigningValidationError) Error() string

Error satisfies the builtin error interface

func (AwsRequestSigningValidationError) ErrorName Uses

func (e AwsRequestSigningValidationError) ErrorName() string

ErrorName returns error name.

func (AwsRequestSigningValidationError) Field Uses

func (e AwsRequestSigningValidationError) Field() string

Field function returns field value.

func (AwsRequestSigningValidationError) Key Uses

func (e AwsRequestSigningValidationError) Key() bool

Key function returns key value.

func (AwsRequestSigningValidationError) Reason Uses

func (e AwsRequestSigningValidationError) Reason() string

Reason function returns reason value.

Package envoy_config_filter_http_aws_request_signing_v2alpha imports 18 packages (graph) and is imported by 6 packages. Updated 2021-01-08. Refresh now. Tools for package owners.