...

Source file src/github.com/datawire/ambassador/v2/pkg/api/envoy/admin/v3/init_dump.pb.go

Documentation: github.com/datawire/ambassador/v2/pkg/api/envoy/admin/v3

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.25.0
     4  // 	protoc        v3.14.0
     5  // source: envoy/admin/v3/init_dump.proto
     6  
     7  package envoy_admin_v3
     8  
     9  import (
    10  	_ "github.com/cncf/udpa/go/udpa/annotations"
    11  	proto "github.com/golang/protobuf/proto"
    12  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    13  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    14  	reflect "reflect"
    15  	sync "sync"
    16  )
    17  
    18  const (
    19  	// Verify that this generated code is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    21  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    22  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    23  )
    24  
    25  // This is a compile-time assertion that a sufficiently up-to-date version
    26  // of the legacy proto package is being used.
    27  const _ = proto.ProtoPackageIsVersion4
    28  
    29  // Dumps of unready targets of envoy init managers. Envoy's admin fills this message with init managers,
    30  // which provides the information of their unready targets.
    31  // The :ref:`/init_dump <operations_admin_interface_init_dump>` will dump all unready targets information.
    32  type UnreadyTargetsDumps struct {
    33  	state         protoimpl.MessageState
    34  	sizeCache     protoimpl.SizeCache
    35  	unknownFields protoimpl.UnknownFields
    36  
    37  	// You can choose specific component to dump unready targets with mask query parameter.
    38  	// See :ref:`/init_dump?mask={} <operations_admin_interface_init_dump_by_mask>` for more information.
    39  	// The dumps of unready targets of all init managers.
    40  	UnreadyTargetsDumps []*UnreadyTargetsDumps_UnreadyTargetsDump `protobuf:"bytes,1,rep,name=unready_targets_dumps,json=unreadyTargetsDumps,proto3" json:"unready_targets_dumps,omitempty"`
    41  }
    42  
    43  func (x *UnreadyTargetsDumps) Reset() {
    44  	*x = UnreadyTargetsDumps{}
    45  	if protoimpl.UnsafeEnabled {
    46  		mi := &file_envoy_admin_v3_init_dump_proto_msgTypes[0]
    47  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    48  		ms.StoreMessageInfo(mi)
    49  	}
    50  }
    51  
    52  func (x *UnreadyTargetsDumps) String() string {
    53  	return protoimpl.X.MessageStringOf(x)
    54  }
    55  
    56  func (*UnreadyTargetsDumps) ProtoMessage() {}
    57  
    58  func (x *UnreadyTargetsDumps) ProtoReflect() protoreflect.Message {
    59  	mi := &file_envoy_admin_v3_init_dump_proto_msgTypes[0]
    60  	if protoimpl.UnsafeEnabled && x != nil {
    61  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    62  		if ms.LoadMessageInfo() == nil {
    63  			ms.StoreMessageInfo(mi)
    64  		}
    65  		return ms
    66  	}
    67  	return mi.MessageOf(x)
    68  }
    69  
    70  // Deprecated: Use UnreadyTargetsDumps.ProtoReflect.Descriptor instead.
    71  func (*UnreadyTargetsDumps) Descriptor() ([]byte, []int) {
    72  	return file_envoy_admin_v3_init_dump_proto_rawDescGZIP(), []int{0}
    73  }
    74  
    75  func (x *UnreadyTargetsDumps) GetUnreadyTargetsDumps() []*UnreadyTargetsDumps_UnreadyTargetsDump {
    76  	if x != nil {
    77  		return x.UnreadyTargetsDumps
    78  	}
    79  	return nil
    80  }
    81  
    82  // Message of unready targets information of an init manager.
    83  type UnreadyTargetsDumps_UnreadyTargetsDump struct {
    84  	state         protoimpl.MessageState
    85  	sizeCache     protoimpl.SizeCache
    86  	unknownFields protoimpl.UnknownFields
    87  
    88  	// Name of the init manager. Example: "init_manager_xxx".
    89  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    90  	// Names of unready targets of the init manager. Example: "target_xxx".
    91  	TargetNames []string `protobuf:"bytes,2,rep,name=target_names,json=targetNames,proto3" json:"target_names,omitempty"`
    92  }
    93  
    94  func (x *UnreadyTargetsDumps_UnreadyTargetsDump) Reset() {
    95  	*x = UnreadyTargetsDumps_UnreadyTargetsDump{}
    96  	if protoimpl.UnsafeEnabled {
    97  		mi := &file_envoy_admin_v3_init_dump_proto_msgTypes[1]
    98  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    99  		ms.StoreMessageInfo(mi)
   100  	}
   101  }
   102  
   103  func (x *UnreadyTargetsDumps_UnreadyTargetsDump) String() string {
   104  	return protoimpl.X.MessageStringOf(x)
   105  }
   106  
   107  func (*UnreadyTargetsDumps_UnreadyTargetsDump) ProtoMessage() {}
   108  
   109  func (x *UnreadyTargetsDumps_UnreadyTargetsDump) ProtoReflect() protoreflect.Message {
   110  	mi := &file_envoy_admin_v3_init_dump_proto_msgTypes[1]
   111  	if protoimpl.UnsafeEnabled && x != nil {
   112  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   113  		if ms.LoadMessageInfo() == nil {
   114  			ms.StoreMessageInfo(mi)
   115  		}
   116  		return ms
   117  	}
   118  	return mi.MessageOf(x)
   119  }
   120  
   121  // Deprecated: Use UnreadyTargetsDumps_UnreadyTargetsDump.ProtoReflect.Descriptor instead.
   122  func (*UnreadyTargetsDumps_UnreadyTargetsDump) Descriptor() ([]byte, []int) {
   123  	return file_envoy_admin_v3_init_dump_proto_rawDescGZIP(), []int{0, 0}
   124  }
   125  
   126  func (x *UnreadyTargetsDumps_UnreadyTargetsDump) GetName() string {
   127  	if x != nil {
   128  		return x.Name
   129  	}
   130  	return ""
   131  }
   132  
   133  func (x *UnreadyTargetsDumps_UnreadyTargetsDump) GetTargetNames() []string {
   134  	if x != nil {
   135  		return x.TargetNames
   136  	}
   137  	return nil
   138  }
   139  
   140  var File_envoy_admin_v3_init_dump_proto protoreflect.FileDescriptor
   141  
   142  var file_envoy_admin_v3_init_dump_proto_rawDesc = []byte{
   143  	0x0a, 0x1e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x33,
   144  	0x2f, 0x69, 0x6e, 0x69, 0x74, 0x5f, 0x64, 0x75, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   145  	0x12, 0x0e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33,
   146  	0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
   147  	0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
   148  	0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
   149  	0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f,
   150  	0x74, 0x6f, 0x22, 0xce, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x79, 0x54, 0x61,
   151  	0x72, 0x67, 0x65, 0x74, 0x73, 0x44, 0x75, 0x6d, 0x70, 0x73, 0x12, 0x6a, 0x0a, 0x15, 0x75, 0x6e,
   152  	0x72, 0x65, 0x61, 0x64, 0x79, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x5f, 0x64, 0x75,
   153  	0x6d, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
   154  	0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x6e, 0x72, 0x65, 0x61,
   155  	0x64, 0x79, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x44, 0x75, 0x6d, 0x70, 0x73, 0x2e, 0x55,
   156  	0x6e, 0x72, 0x65, 0x61, 0x64, 0x79, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x44, 0x75, 0x6d,
   157  	0x70, 0x52, 0x13, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x79, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74,
   158  	0x73, 0x44, 0x75, 0x6d, 0x70, 0x73, 0x1a, 0x4b, 0x0a, 0x12, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64,
   159  	0x79, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x44, 0x75, 0x6d, 0x70, 0x12, 0x12, 0x0a, 0x04,
   160  	0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
   161  	0x12, 0x21, 0x0a, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73,
   162  	0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4e, 0x61,
   163  	0x6d, 0x65, 0x73, 0x42, 0x37, 0x0a, 0x1c, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70,
   164  	0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e,
   165  	0x2e, 0x76, 0x33, 0x42, 0x0d, 0x49, 0x6e, 0x69, 0x74, 0x44, 0x75, 0x6d, 0x70, 0x50, 0x72, 0x6f,
   166  	0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72,
   167  	0x6f, 0x74, 0x6f, 0x33,
   168  }
   169  
   170  var (
   171  	file_envoy_admin_v3_init_dump_proto_rawDescOnce sync.Once
   172  	file_envoy_admin_v3_init_dump_proto_rawDescData = file_envoy_admin_v3_init_dump_proto_rawDesc
   173  )
   174  
   175  func file_envoy_admin_v3_init_dump_proto_rawDescGZIP() []byte {
   176  	file_envoy_admin_v3_init_dump_proto_rawDescOnce.Do(func() {
   177  		file_envoy_admin_v3_init_dump_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_admin_v3_init_dump_proto_rawDescData)
   178  	})
   179  	return file_envoy_admin_v3_init_dump_proto_rawDescData
   180  }
   181  
   182  var file_envoy_admin_v3_init_dump_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   183  var file_envoy_admin_v3_init_dump_proto_goTypes = []interface{}{
   184  	(*UnreadyTargetsDumps)(nil),                    // 0: envoy.admin.v3.UnreadyTargetsDumps
   185  	(*UnreadyTargetsDumps_UnreadyTargetsDump)(nil), // 1: envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump
   186  }
   187  var file_envoy_admin_v3_init_dump_proto_depIdxs = []int32{
   188  	1, // 0: envoy.admin.v3.UnreadyTargetsDumps.unready_targets_dumps:type_name -> envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump
   189  	1, // [1:1] is the sub-list for method output_type
   190  	1, // [1:1] is the sub-list for method input_type
   191  	1, // [1:1] is the sub-list for extension type_name
   192  	1, // [1:1] is the sub-list for extension extendee
   193  	0, // [0:1] is the sub-list for field type_name
   194  }
   195  
   196  func init() { file_envoy_admin_v3_init_dump_proto_init() }
   197  func file_envoy_admin_v3_init_dump_proto_init() {
   198  	if File_envoy_admin_v3_init_dump_proto != nil {
   199  		return
   200  	}
   201  	if !protoimpl.UnsafeEnabled {
   202  		file_envoy_admin_v3_init_dump_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   203  			switch v := v.(*UnreadyTargetsDumps); i {
   204  			case 0:
   205  				return &v.state
   206  			case 1:
   207  				return &v.sizeCache
   208  			case 2:
   209  				return &v.unknownFields
   210  			default:
   211  				return nil
   212  			}
   213  		}
   214  		file_envoy_admin_v3_init_dump_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   215  			switch v := v.(*UnreadyTargetsDumps_UnreadyTargetsDump); i {
   216  			case 0:
   217  				return &v.state
   218  			case 1:
   219  				return &v.sizeCache
   220  			case 2:
   221  				return &v.unknownFields
   222  			default:
   223  				return nil
   224  			}
   225  		}
   226  	}
   227  	type x struct{}
   228  	out := protoimpl.TypeBuilder{
   229  		File: protoimpl.DescBuilder{
   230  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   231  			RawDescriptor: file_envoy_admin_v3_init_dump_proto_rawDesc,
   232  			NumEnums:      0,
   233  			NumMessages:   2,
   234  			NumExtensions: 0,
   235  			NumServices:   0,
   236  		},
   237  		GoTypes:           file_envoy_admin_v3_init_dump_proto_goTypes,
   238  		DependencyIndexes: file_envoy_admin_v3_init_dump_proto_depIdxs,
   239  		MessageInfos:      file_envoy_admin_v3_init_dump_proto_msgTypes,
   240  	}.Build()
   241  	File_envoy_admin_v3_init_dump_proto = out.File
   242  	file_envoy_admin_v3_init_dump_proto_rawDesc = nil
   243  	file_envoy_admin_v3_init_dump_proto_goTypes = nil
   244  	file_envoy_admin_v3_init_dump_proto_depIdxs = nil
   245  }
   246  

View as plain text