mirror of https://github.com/hashicorp/consul
227 lines
10 KiB
Go
227 lines
10 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: envoy/api/v2/route.proto
|
|
|
|
package envoy_api_v2
|
|
|
|
import (
|
|
fmt "fmt"
|
|
_ "github.com/cncf/udpa/go/udpa/annotations"
|
|
core "github.com/envoyproxy/go-control-plane/envoy/api/v2/core"
|
|
route "github.com/envoyproxy/go-control-plane/envoy/api/v2/route"
|
|
_ "github.com/envoyproxy/protoc-gen-validate/validate"
|
|
proto "github.com/golang/protobuf/proto"
|
|
wrappers "github.com/golang/protobuf/ptypes/wrappers"
|
|
math "math"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
type RouteConfiguration struct {
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
VirtualHosts []*route.VirtualHost `protobuf:"bytes,2,rep,name=virtual_hosts,json=virtualHosts,proto3" json:"virtual_hosts,omitempty"`
|
|
Vhds *Vhds `protobuf:"bytes,9,opt,name=vhds,proto3" json:"vhds,omitempty"`
|
|
InternalOnlyHeaders []string `protobuf:"bytes,3,rep,name=internal_only_headers,json=internalOnlyHeaders,proto3" json:"internal_only_headers,omitempty"`
|
|
ResponseHeadersToAdd []*core.HeaderValueOption `protobuf:"bytes,4,rep,name=response_headers_to_add,json=responseHeadersToAdd,proto3" json:"response_headers_to_add,omitempty"`
|
|
ResponseHeadersToRemove []string `protobuf:"bytes,5,rep,name=response_headers_to_remove,json=responseHeadersToRemove,proto3" json:"response_headers_to_remove,omitempty"`
|
|
RequestHeadersToAdd []*core.HeaderValueOption `protobuf:"bytes,6,rep,name=request_headers_to_add,json=requestHeadersToAdd,proto3" json:"request_headers_to_add,omitempty"`
|
|
RequestHeadersToRemove []string `protobuf:"bytes,8,rep,name=request_headers_to_remove,json=requestHeadersToRemove,proto3" json:"request_headers_to_remove,omitempty"`
|
|
MostSpecificHeaderMutationsWins bool `protobuf:"varint,10,opt,name=most_specific_header_mutations_wins,json=mostSpecificHeaderMutationsWins,proto3" json:"most_specific_header_mutations_wins,omitempty"`
|
|
ValidateClusters *wrappers.BoolValue `protobuf:"bytes,7,opt,name=validate_clusters,json=validateClusters,proto3" json:"validate_clusters,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *RouteConfiguration) Reset() { *m = RouteConfiguration{} }
|
|
func (m *RouteConfiguration) String() string { return proto.CompactTextString(m) }
|
|
func (*RouteConfiguration) ProtoMessage() {}
|
|
func (*RouteConfiguration) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_1f33b4742f398551, []int{0}
|
|
}
|
|
|
|
func (m *RouteConfiguration) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RouteConfiguration.Unmarshal(m, b)
|
|
}
|
|
func (m *RouteConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RouteConfiguration.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *RouteConfiguration) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RouteConfiguration.Merge(m, src)
|
|
}
|
|
func (m *RouteConfiguration) XXX_Size() int {
|
|
return xxx_messageInfo_RouteConfiguration.Size(m)
|
|
}
|
|
func (m *RouteConfiguration) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RouteConfiguration.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RouteConfiguration proto.InternalMessageInfo
|
|
|
|
func (m *RouteConfiguration) GetName() string {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RouteConfiguration) GetVirtualHosts() []*route.VirtualHost {
|
|
if m != nil {
|
|
return m.VirtualHosts
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RouteConfiguration) GetVhds() *Vhds {
|
|
if m != nil {
|
|
return m.Vhds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RouteConfiguration) GetInternalOnlyHeaders() []string {
|
|
if m != nil {
|
|
return m.InternalOnlyHeaders
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RouteConfiguration) GetResponseHeadersToAdd() []*core.HeaderValueOption {
|
|
if m != nil {
|
|
return m.ResponseHeadersToAdd
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RouteConfiguration) GetResponseHeadersToRemove() []string {
|
|
if m != nil {
|
|
return m.ResponseHeadersToRemove
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RouteConfiguration) GetRequestHeadersToAdd() []*core.HeaderValueOption {
|
|
if m != nil {
|
|
return m.RequestHeadersToAdd
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RouteConfiguration) GetRequestHeadersToRemove() []string {
|
|
if m != nil {
|
|
return m.RequestHeadersToRemove
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RouteConfiguration) GetMostSpecificHeaderMutationsWins() bool {
|
|
if m != nil {
|
|
return m.MostSpecificHeaderMutationsWins
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *RouteConfiguration) GetValidateClusters() *wrappers.BoolValue {
|
|
if m != nil {
|
|
return m.ValidateClusters
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Vhds struct {
|
|
ConfigSource *core.ConfigSource `protobuf:"bytes,1,opt,name=config_source,json=configSource,proto3" json:"config_source,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Vhds) Reset() { *m = Vhds{} }
|
|
func (m *Vhds) String() string { return proto.CompactTextString(m) }
|
|
func (*Vhds) ProtoMessage() {}
|
|
func (*Vhds) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_1f33b4742f398551, []int{1}
|
|
}
|
|
|
|
func (m *Vhds) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Vhds.Unmarshal(m, b)
|
|
}
|
|
func (m *Vhds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Vhds.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Vhds) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Vhds.Merge(m, src)
|
|
}
|
|
func (m *Vhds) XXX_Size() int {
|
|
return xxx_messageInfo_Vhds.Size(m)
|
|
}
|
|
func (m *Vhds) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Vhds.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Vhds proto.InternalMessageInfo
|
|
|
|
func (m *Vhds) GetConfigSource() *core.ConfigSource {
|
|
if m != nil {
|
|
return m.ConfigSource
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*RouteConfiguration)(nil), "envoy.api.v2.RouteConfiguration")
|
|
proto.RegisterType((*Vhds)(nil), "envoy.api.v2.Vhds")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("envoy/api/v2/route.proto", fileDescriptor_1f33b4742f398551) }
|
|
|
|
var fileDescriptor_1f33b4742f398551 = []byte{
|
|
// 610 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x53, 0xbf, 0x6f, 0xd3, 0x40,
|
|
0x14, 0xe6, 0x9a, 0x1f, 0x4d, 0xae, 0xad, 0x14, 0xae, 0xb4, 0x31, 0x11, 0xd0, 0xa8, 0xfc, 0x50,
|
|
0x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