go-control-plane: github.com/envoyproxy/go-control-plane/envoy/extensions/filters/http/cdn_loop/v3alpha Index | Files

package envoy_extensions_filters_http_cdn_loop_v3alpha

import "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/http/cdn_loop/v3alpha"


Package Files

cdn_loop.pb.go cdn_loop.pb.validate.go


var File_envoy_extensions_filters_http_cdn_loop_v3alpha_cdn_loop_proto protoreflect.FileDescriptor

type CdnLoopConfig Uses

type CdnLoopConfig struct {

    // The CDN identifier to use for loop checks and to append to the
    // CDN-Loop header.
    // RFC 8586 calls this the cdn-id. The cdn-id can either be a
    // pseudonym or hostname the CDN is in control of.
    // cdn_id must not be empty.
    CdnId string `protobuf:"bytes,1,opt,name=cdn_id,json=cdnId,proto3" json:"cdn_id,omitempty"`
    // The maximum allowed count of cdn_id in the downstream CDN-Loop
    // request header.
    // The default of 0 means a request can transit the CdnLoopFilter
    // once. A value of 1 means that a request can transit the
    // CdnLoopFilter twice and so on.
    MaxAllowedOccurrences uint32 `protobuf:"varint,2,opt,name=max_allowed_occurrences,json=maxAllowedOccurrences,proto3" json:"max_allowed_occurrences,omitempty"`
    // contains filtered or unexported fields

CDN-Loop Header filter config. See the :ref:`configuration overview <config_http_filters_cdn_loop>` for more information.

func (*CdnLoopConfig) Descriptor Uses

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

Deprecated: Use CdnLoopConfig.ProtoReflect.Descriptor instead.

func (*CdnLoopConfig) GetCdnId Uses

func (x *CdnLoopConfig) GetCdnId() string

func (*CdnLoopConfig) GetMaxAllowedOccurrences Uses

func (x *CdnLoopConfig) GetMaxAllowedOccurrences() uint32

func (*CdnLoopConfig) ProtoMessage Uses

func (*CdnLoopConfig) ProtoMessage()

func (*CdnLoopConfig) ProtoReflect Uses

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

func (*CdnLoopConfig) Reset Uses

func (x *CdnLoopConfig) Reset()

func (*CdnLoopConfig) String Uses

func (x *CdnLoopConfig) String() string

func (*CdnLoopConfig) Validate Uses

func (m *CdnLoopConfig) Validate() error

Validate checks the field values on CdnLoopConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CdnLoopConfigValidationError Uses

type CdnLoopConfigValidationError struct {
    // contains filtered or unexported fields

CdnLoopConfigValidationError is the validation error returned by CdnLoopConfig.Validate if the designated constraints aren't met.

func (CdnLoopConfigValidationError) Cause Uses

func (e CdnLoopConfigValidationError) Cause() error

Cause function returns cause value.

func (CdnLoopConfigValidationError) Error Uses

func (e CdnLoopConfigValidationError) Error() string

Error satisfies the builtin error interface

func (CdnLoopConfigValidationError) ErrorName Uses

func (e CdnLoopConfigValidationError) ErrorName() string

ErrorName returns error name.

func (CdnLoopConfigValidationError) Field Uses

func (e CdnLoopConfigValidationError) Field() string

Field function returns field value.

func (CdnLoopConfigValidationError) Key Uses

func (e CdnLoopConfigValidationError) Key() bool

Key function returns key value.

func (CdnLoopConfigValidationError) Reason Uses

func (e CdnLoopConfigValidationError) Reason() string

Reason function returns reason value.

Package envoy_extensions_filters_http_cdn_loop_v3alpha imports 18 packages (graph) and is imported by 5 packages. Updated 2021-01-09. Refresh now. Tools for package owners.