diff --git a/networking/v1alpha3/gateway.pb.go b/networking/v1alpha3/gateway.pb.go index 0a560b6566..af49b9451a 100644 --- a/networking/v1alpha3/gateway.pb.go +++ b/networking/v1alpha3/gateway.pb.go @@ -441,14 +441,10 @@ type Server struct { // Set of TLS related options that govern the server's behavior. Use // these options to control if all http requests should be redirected to // https, and the TLS modes to use. - Tls *Server_TLSOptions `protobuf:"bytes,3,opt,name=tls,proto3" json:"tls,omitempty"` - // The loopback IP endpoint or Unix domain socket to which traffic should - // be forwarded to by default. Format should be `127.0.0.1:PORT` or - // `unix:///path/to/socket` or `unix://@foobar` (Linux abstract namespace). - DefaultEndpoint string `protobuf:"bytes,5,opt,name=default_endpoint,json=defaultEndpoint,proto3" json:"default_endpoint,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Tls *Server_TLSOptions `protobuf:"bytes,3,opt,name=tls,proto3" json:"tls,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *Server) Reset() { *m = Server{} } @@ -512,13 +508,6 @@ func (m *Server) GetTls() *Server_TLSOptions { return nil } -func (m *Server) GetDefaultEndpoint() string { - if m != nil { - return m.DefaultEndpoint - } - return "" -} - type Server_TLSOptions struct { // If set to true, the load balancer will send a 301 redirect for all // http connections, asking the clients to use HTTPS. @@ -755,50 +744,49 @@ func init() { func init() { proto.RegisterFile("networking/v1alpha3/gateway.proto", fileDescriptor_067d98d02f84cc0b) } var fileDescriptor_067d98d02f84cc0b = []byte{ - // 674 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0x5d, 0x4f, 0x1a, 0x4d, - 0x14, 0x76, 0x01, 0xf9, 0x38, 0x88, 0xac, 0x13, 0xf3, 0x66, 0x5f, 0x2f, 0xfc, 0x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0xef, 0xed, 0x99, 0xc6, 0x3c, 0xd9, 0x37, 0x53, 0xf3, 0xa4, 0x66, 0xa6, 0xe7, 0x49, 0xdd, - 0xcc, 0x54, 0x4e, 0x21, 0x13, 0x3f, 0x44, 0xf4, 0x1f, 0x64, 0xc3, 0xf1, 0xa8, 0x4f, 0xb8, 0xba, - 0xd6, 0x25, 0x47, 0x67, 0x68, 0x03, 0xf2, 0xb3, 0x39, 0xea, 0x77, 0x7f, 0x97, 0xc7, 0xcf, 0x56, - 0xdd, 0x8e, 0xe4, 0x4e, 0xaa, 0xf8, 0x8d, 0xfd, 0xe9, 0x76, 0xd3, 0xf8, 0x7c, 0xbb, 0x69, 0x7c, - 0xbd, 0xdd, 0x34, 0x3e, 0x6c, 0x27, 0xa3, 0xa6, 0xac, 0x8a, 0x23, 0x5a, 0xfd, 0xcd, 0xbf, 0xd9, - 0xcf, 0x2a, 0xb7, 0xfa, 0xf7, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd0, 0x11, 0xfe, 0x50, 0x55, 0x05, - 0x00, 0x00, + // 668 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xdb, 0x4e, 0xdb, 0x4c, + 0x10, 0xc6, 0x39, 0x67, 0x42, 0xc0, 0xac, 0xd0, 0x2f, 0xff, 0x5c, 0x70, 0x48, 0x55, 0x15, 0x55, + 0xad, 0x03, 0x49, 0x2f, 0x50, 0x91, 0x2a, 0xa5, 0x15, 0x22, 0x6d, 0x03, 0x89, 0xd6, 0x09, 0x17, + 0xbd, 0xb1, 0x36, 0xce, 0x42, 0x16, 0x1c, 0xaf, 0xb5, 0xbb, 0x09, 0xe4, 0x81, 0xfa, 0x2e, 0xbd, + 0x6c, 0xdf, 0xa0, 0xa2, 0x2f, 0x52, 0x79, 0xed, 0x90, 0xf4, 0x44, 0x85, 0x7a, 0x37, 0x33, 0xfb, + 0x1d, 0x76, 0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3, 0xf8, 0x7c, 0xbb, 0x69, 0x7c, 0xbd, 0xdd, 0x34, 0x3e, 0x6c, 0xc7, + 0x23, 0x60, 0xbc, 0x4a, 0x42, 0x56, 0xfd, 0xcd, 0x4f, 0xb2, 0x9f, 0xd3, 0x6a, 0xf5, 0xef, 0x01, + 0x00, 0x00, 0xff, 0xff, 0xb1, 0x44, 0x70, 0x01, 0x42, 0x05, 0x00, 0x00, } func (m *Gateway) Marshal() (dAtA []byte, err error) { @@ -907,12 +895,6 @@ func (m *Server) MarshalTo(dAtA []byte) (int, error) { i = encodeVarintGateway(dAtA, i, uint64(len(m.Bind))) i += copy(dAtA[i:], m.Bind) } - if len(m.DefaultEndpoint) > 0 { - dAtA[i] = 0x2a - i++ - i = encodeVarintGateway(dAtA, i, uint64(len(m.DefaultEndpoint))) - i += copy(dAtA[i:], m.DefaultEndpoint) - } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) } @@ -1116,10 +1098,6 @@ func (m *Server) Size() (n int) { if l > 0 { n += 1 + l + sovGateway(uint64(l)) } - l = len(m.DefaultEndpoint) - if l > 0 { - n += 1 + l + sovGateway(uint64(l)) - } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } @@ -1594,38 +1572,6 @@ func (m *Server) Unmarshal(dAtA []byte) error { } m.Bind = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DefaultEndpoint", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGateway - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthGateway - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthGateway - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DefaultEndpoint = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGateway(dAtA[iNdEx:]) diff --git a/networking/v1alpha3/gateway.pb.html b/networking/v1alpha3/gateway.pb.html index ee451a2c8b..aa13bf1fd5 100644 --- a/networking/v1alpha3/gateway.pb.html +++ b/networking/v1alpha3/gateway.pb.html @@ -368,16 +368,6 @@
defaultEndpointstringThe loopback IP endpoint or Unix domain socket to which traffic should
-be forwarded to by default. Format should be 127.0.0.1:PORT or
-unix:///path/to/socket or unix://@foobar (Linux abstract namespace).