mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-04 09:19:39 +02:00
core/proto: update protoc dependencies (#5218)
* core/proto: update protoc dependencies * cleanup * disable unimplemented forward compatibility check * fix mock * add generate make command * add .0
This commit is contained in:
parent
3483447c37
commit
0cfb1025db
28 changed files with 1427 additions and 1832 deletions
|
@ -1,6 +1,6 @@
|
|||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.26.0
|
||||
// protoc-gen-go v1.34.2
|
||||
// protoc v3.21.7
|
||||
// source: config.proto
|
||||
|
||||
|
@ -398,13 +398,13 @@ type Route struct {
|
|||
// if provided, load_balancing_weights[i] >= 1 and len(to) ==
|
||||
// len(load_balancing_weights)
|
||||
LoadBalancingWeights []uint32 `protobuf:"varint,37,rep,packed,name=load_balancing_weights,json=loadBalancingWeights,proto3" json:"load_balancing_weights,omitempty"`
|
||||
// Deprecated: Do not use.
|
||||
// Deprecated: Marked as deprecated in config.proto.
|
||||
AllowedUsers []string `protobuf:"bytes,4,rep,name=allowed_users,json=allowedUsers,proto3" json:"allowed_users,omitempty"`
|
||||
// repeated string allowed_groups = 5 [ deprecated = true ];
|
||||
//
|
||||
// Deprecated: Do not use.
|
||||
// Deprecated: Marked as deprecated in config.proto.
|
||||
AllowedDomains []string `protobuf:"bytes,6,rep,name=allowed_domains,json=allowedDomains,proto3" json:"allowed_domains,omitempty"`
|
||||
// Deprecated: Do not use.
|
||||
// Deprecated: Marked as deprecated in config.proto.
|
||||
AllowedIdpClaims map[string]*structpb.ListValue `protobuf:"bytes,32,rep,name=allowed_idp_claims,json=allowedIdpClaims,proto3" json:"allowed_idp_claims,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
Prefix string `protobuf:"bytes,7,opt,name=prefix,proto3" json:"prefix,omitempty"`
|
||||
Path string `protobuf:"bytes,8,opt,name=path,proto3" json:"path,omitempty"`
|
||||
|
@ -527,7 +527,7 @@ func (x *Route) GetLoadBalancingWeights() []uint32 {
|
|||
return nil
|
||||
}
|
||||
|
||||
// Deprecated: Do not use.
|
||||
// Deprecated: Marked as deprecated in config.proto.
|
||||
func (x *Route) GetAllowedUsers() []string {
|
||||
if x != nil {
|
||||
return x.AllowedUsers
|
||||
|
@ -535,7 +535,7 @@ func (x *Route) GetAllowedUsers() []string {
|
|||
return nil
|
||||
}
|
||||
|
||||
// Deprecated: Do not use.
|
||||
// Deprecated: Marked as deprecated in config.proto.
|
||||
func (x *Route) GetAllowedDomains() []string {
|
||||
if x != nil {
|
||||
return x.AllowedDomains
|
||||
|
@ -543,7 +543,7 @@ func (x *Route) GetAllowedDomains() []string {
|
|||
return nil
|
||||
}
|
||||
|
||||
// Deprecated: Do not use.
|
||||
// Deprecated: Marked as deprecated in config.proto.
|
||||
func (x *Route) GetAllowedIdpClaims() map[string]*structpb.ListValue {
|
||||
if x != nil {
|
||||
return x.AllowedIdpClaims
|
||||
|
@ -1665,7 +1665,7 @@ func (x *Settings) GetCodecType() v31.HttpConnectionManager_CodecType {
|
|||
if x != nil && x.CodecType != nil {
|
||||
return *x.CodecType
|
||||
}
|
||||
return v31.HttpConnectionManager_AUTO
|
||||
return v31.HttpConnectionManager_CodecType(0)
|
||||
}
|
||||
|
||||
func (x *Settings) GetAuditKey() *crypt.PublicKeyEncryptionKey {
|
||||
|
@ -2732,7 +2732,7 @@ func file_config_proto_rawDescGZIP() []byte {
|
|||
|
||||
var file_config_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||
var file_config_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
|
||||
var file_config_proto_goTypes = []interface{}{
|
||||
var file_config_proto_goTypes = []any{
|
||||
(MtlsEnforcementMode)(0), // 0: pomerium.config.MtlsEnforcementMode
|
||||
(*Config)(nil), // 1: pomerium.config.Config
|
||||
(*RouteRewriteHeader)(nil), // 2: pomerium.config.RouteRewriteHeader
|
||||
|
@ -2805,7 +2805,7 @@ func file_config_proto_init() {
|
|||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_config_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*Config); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
@ -2817,7 +2817,7 @@ func file_config_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_config_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*RouteRewriteHeader); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
@ -2829,7 +2829,7 @@ func file_config_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_config_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*RouteRedirect); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
@ -2841,7 +2841,7 @@ func file_config_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_config_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*RouteDirectResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
@ -2853,7 +2853,7 @@ func file_config_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_config_proto_msgTypes[4].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*Route); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
@ -2865,7 +2865,7 @@ func file_config_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_config_proto_msgTypes[5].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*Policy); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
@ -2877,7 +2877,7 @@ func file_config_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_config_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_config_proto_msgTypes[6].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*Settings); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
@ -2889,7 +2889,7 @@ func file_config_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_config_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_config_proto_msgTypes[7].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*DownstreamMtlsSettings); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
@ -2901,7 +2901,7 @@ func file_config_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_config_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_config_proto_msgTypes[12].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*Settings_Certificate); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
@ -2913,7 +2913,7 @@ func file_config_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_config_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_config_proto_msgTypes[13].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*Settings_StringList); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
@ -2926,13 +2926,13 @@ func file_config_proto_init() {
|
|||
}
|
||||
}
|
||||
}
|
||||
file_config_proto_msgTypes[1].OneofWrappers = []interface{}{
|
||||
file_config_proto_msgTypes[1].OneofWrappers = []any{
|
||||
(*RouteRewriteHeader_Prefix)(nil),
|
||||
}
|
||||
file_config_proto_msgTypes[2].OneofWrappers = []interface{}{}
|
||||
file_config_proto_msgTypes[4].OneofWrappers = []interface{}{}
|
||||
file_config_proto_msgTypes[6].OneofWrappers = []interface{}{}
|
||||
file_config_proto_msgTypes[7].OneofWrappers = []interface{}{}
|
||||
file_config_proto_msgTypes[2].OneofWrappers = []any{}
|
||||
file_config_proto_msgTypes[4].OneofWrappers = []any{}
|
||||
file_config_proto_msgTypes[6].OneofWrappers = []any{}
|
||||
file_config_proto_msgTypes[7].OneofWrappers = []any{}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue