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

package envoy_config_filter_http_ip_tagging_v2

import "github.com/envoyproxy/go-control-plane/envoy/config/filter/http/ip_tagging/v2"

Index

Package Files

ip_tagging.pb.go ip_tagging.pb.validate.go

Variables

var (
    IPTagging_RequestType_name = map[int32]string{
        0:  "BOTH",
        1:  "INTERNAL",
        2:  "EXTERNAL",
    }
    IPTagging_RequestType_value = map[string]int32{
        "BOTH":     0,
        "INTERNAL": 1,
        "EXTERNAL": 2,
    }
)

Enum value maps for IPTagging_RequestType.

var File_envoy_config_filter_http_ip_tagging_v2_ip_tagging_proto protoreflect.FileDescriptor

type IPTagging Uses

type IPTagging struct {
    RequestType IPTagging_RequestType `protobuf:"varint,1,opt,name=request_type,json=requestType,proto3,enum=envoy.config.filter.http.ip_tagging.v2.IPTagging_RequestType" json:"request_type,omitempty"`
    IpTags      []*IPTagging_IPTag    `protobuf:"bytes,4,rep,name=ip_tags,json=ipTags,proto3" json:"ip_tags,omitempty"`
    // contains filtered or unexported fields
}

func (*IPTagging) Descriptor Uses

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

Deprecated: Use IPTagging.ProtoReflect.Descriptor instead.

func (*IPTagging) GetIpTags Uses

func (x *IPTagging) GetIpTags() []*IPTagging_IPTag

func (*IPTagging) GetRequestType Uses

func (x *IPTagging) GetRequestType() IPTagging_RequestType

func (*IPTagging) ProtoMessage Uses

func (*IPTagging) ProtoMessage()

func (*IPTagging) ProtoReflect Uses

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

func (*IPTagging) Reset Uses

func (x *IPTagging) Reset()

func (*IPTagging) String Uses

func (x *IPTagging) String() string

func (*IPTagging) Validate Uses

func (m *IPTagging) Validate() error

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

type IPTaggingValidationError Uses

type IPTaggingValidationError struct {
    // contains filtered or unexported fields
}

IPTaggingValidationError is the validation error returned by IPTagging.Validate if the designated constraints aren't met.

func (IPTaggingValidationError) Cause Uses

func (e IPTaggingValidationError) Cause() error

Cause function returns cause value.

func (IPTaggingValidationError) Error Uses

func (e IPTaggingValidationError) Error() string

Error satisfies the builtin error interface

func (IPTaggingValidationError) ErrorName Uses

func (e IPTaggingValidationError) ErrorName() string

ErrorName returns error name.

func (IPTaggingValidationError) Field Uses

func (e IPTaggingValidationError) Field() string

Field function returns field value.

func (IPTaggingValidationError) Key Uses

func (e IPTaggingValidationError) Key() bool

Key function returns key value.

func (IPTaggingValidationError) Reason Uses

func (e IPTaggingValidationError) Reason() string

Reason function returns reason value.

type IPTagging_IPTag Uses

type IPTagging_IPTag struct {
    IpTagName string            `protobuf:"bytes,1,opt,name=ip_tag_name,json=ipTagName,proto3" json:"ip_tag_name,omitempty"`
    IpList    []*core.CidrRange `protobuf:"bytes,2,rep,name=ip_list,json=ipList,proto3" json:"ip_list,omitempty"`
    // contains filtered or unexported fields
}

func (*IPTagging_IPTag) Descriptor Uses

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

Deprecated: Use IPTagging_IPTag.ProtoReflect.Descriptor instead.

func (*IPTagging_IPTag) GetIpList Uses

func (x *IPTagging_IPTag) GetIpList() []*core.CidrRange

func (*IPTagging_IPTag) GetIpTagName Uses

func (x *IPTagging_IPTag) GetIpTagName() string

func (*IPTagging_IPTag) ProtoMessage Uses

func (*IPTagging_IPTag) ProtoMessage()

func (*IPTagging_IPTag) ProtoReflect Uses

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

func (*IPTagging_IPTag) Reset Uses

func (x *IPTagging_IPTag) Reset()

func (*IPTagging_IPTag) String Uses

func (x *IPTagging_IPTag) String() string

func (*IPTagging_IPTag) Validate Uses

func (m *IPTagging_IPTag) Validate() error

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

type IPTagging_IPTagValidationError Uses

type IPTagging_IPTagValidationError struct {
    // contains filtered or unexported fields
}

IPTagging_IPTagValidationError is the validation error returned by IPTagging_IPTag.Validate if the designated constraints aren't met.

func (IPTagging_IPTagValidationError) Cause Uses

func (e IPTagging_IPTagValidationError) Cause() error

Cause function returns cause value.

func (IPTagging_IPTagValidationError) Error Uses

func (e IPTagging_IPTagValidationError) Error() string

Error satisfies the builtin error interface

func (IPTagging_IPTagValidationError) ErrorName Uses

func (e IPTagging_IPTagValidationError) ErrorName() string

ErrorName returns error name.

func (IPTagging_IPTagValidationError) Field Uses

func (e IPTagging_IPTagValidationError) Field() string

Field function returns field value.

func (IPTagging_IPTagValidationError) Key Uses

func (e IPTagging_IPTagValidationError) Key() bool

Key function returns key value.

func (IPTagging_IPTagValidationError) Reason Uses

func (e IPTagging_IPTagValidationError) Reason() string

Reason function returns reason value.

type IPTagging_RequestType Uses

type IPTagging_RequestType int32
const (
    IPTagging_BOTH     IPTagging_RequestType = 0
    IPTagging_INTERNAL IPTagging_RequestType = 1
    IPTagging_EXTERNAL IPTagging_RequestType = 2
)

func (IPTagging_RequestType) Descriptor Uses

func (IPTagging_RequestType) Descriptor() protoreflect.EnumDescriptor

func (IPTagging_RequestType) Enum Uses

func (x IPTagging_RequestType) Enum() *IPTagging_RequestType

func (IPTagging_RequestType) EnumDescriptor Uses

func (IPTagging_RequestType) EnumDescriptor() ([]byte, []int)

Deprecated: Use IPTagging_RequestType.Descriptor instead.

func (IPTagging_RequestType) Number Uses

func (x IPTagging_RequestType) Number() protoreflect.EnumNumber

func (IPTagging_RequestType) String Uses

func (x IPTagging_RequestType) String() string

func (IPTagging_RequestType) Type Uses

func (IPTagging_RequestType) Type() protoreflect.EnumType

Package envoy_config_filter_http_ip_tagging_v2 imports 19 packages (graph) and is imported by 3 packages. Updated 2020-07-20. Refresh now. Tools for package owners.