@ -1153,12 +1153,16 @@ type ListOptions struct {
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
// Namespace+Group+Resource+etc
// Group+Namespace+Resource (not name)
Key * ResourceKey ` protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty" `
// (best effort) Match label
// Allowed to send more results than actually match because the filter will be appled
// to the resutls agin in the client. That time with the full field selector
Labels [ ] * Requirement ` protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" `
// (best effort) fields matcher
// Allowed to send more results than actually match because the filter will be appled
// to the resutls agin in the client. That time with the full field selector
Fields [ ] * Requirement ` protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty" `
}
func ( x * ListOptions ) Reset ( ) {
@ -1207,6 +1211,13 @@ func (x *ListOptions) GetLabels() []*Requirement {
return nil
}
func ( x * ListOptions ) GetFields ( ) [ ] * Requirement {
if x != nil {
return x . Fields
}
return nil
}
type ListRequest struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
@ -1778,13 +1789,16 @@ var file_resource_proto_rawDesc = []byte{
0x63 , 0x65 , 0x2e , 0x53 , 0x6f , 0x72 , 0x74 , 0x2e , 0x4f , 0x72 , 0x64 , 0x65 , 0x72 , 0x52 , 0x05 , 0x6f ,
0x72 , 0x64 , 0x65 , 0x72 , 0x22 , 0x1a , 0x0a , 0x05 , 0x4f , 0x72 , 0x64 , 0x65 , 0x72 , 0x12 , 0x07 , 0x0a ,
0x03 , 0x41 , 0x53 , 0x43 , 0x10 , 0x00 , 0x12 , 0x08 , 0x0a , 0x04 , 0x44 , 0x45 , 0x53 , 0x43 , 0x10 , 0x01 ,
0x22 , 0x65 , 0x0a , 0x0b , 0x4c , 0x69 , 0x73 , 0x74 , 0x4f , 0x70 , 0x74 , 0x69 , 0x6f , 0x6e , 0x73 , 0x12 ,
0x27 , 0x0a , 0x03 , 0x6b , 0x65 , 0x79 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x0b , 0x32 , 0x15 , 0x2e , 0x72 ,
0x65 , 0x73 , 0x6f , 0x75 , 0x72 , 0x63 , 0x65 , 0x2e , 0x52 , 0x65 , 0x73 , 0x6f , 0x75 , 0x72 , 0x63 , 0x65 ,
0x4b , 0x65 , 0x79 , 0x52 , 0x03 , 0x6b , 0x65 , 0x79 , 0x12 , 0x2d , 0x0a , 0x06 , 0x6c , 0x61 , 0x62 , 0x65 ,
0x6c , 0x73 , 0x18 , 0x02 , 0x20 , 0x03 , 0x28 , 0x0b , 0x32 , 0x15 , 0x2e , 0x72 , 0x65 , 0x73 , 0x6f , 0x75 ,
0x22 , 0x94 , 0x01 , 0x0a , 0x0b , 0x4c , 0x69 , 0x73 , 0x74 , 0x4f , 0x70 , 0x74 , 0x69 , 0x6f , 0x6e , 0x73 ,
0x12 , 0x27 , 0x0a , 0x03 , 0x6b , 0x65 , 0x79 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x0b , 0x32 , 0x15 , 0x2e ,
0x72 , 0x65 , 0x73 , 0x6f , 0x75 , 0x72 , 0x63 , 0x65 , 0x2e , 0x52 , 0x65 , 0x73 , 0x6f , 0x75 , 0x72 , 0x63 ,
0x65 , 0x4b , 0x65 , 0x79 , 0x52 , 0x03 , 0x6b , 0x65 , 0x79 , 0x12 , 0x2d , 0x0a , 0x06 , 0x6c , 0x61 , 0x62 ,
0x65 , 0x6c , 0x73 , 0x18 , 0x02 , 0x20 , 0x03 , 0x28 , 0x0b , 0x32 , 0x15 , 0x2e , 0x72 , 0x65 , 0x73 , 0x6f ,
0x75 , 0x72 , 0x63 , 0x65 , 0x2e , 0x52 , 0x65 , 0x71 , 0x75 , 0x69 , 0x72 , 0x65 , 0x6d , 0x65 , 0x6e , 0x74 ,
0x52 , 0x06 , 0x6c , 0x61 , 0x62 , 0x65 , 0x6c , 0x73 , 0x12 , 0x2d , 0x0a , 0x06 , 0x66 , 0x69 , 0x65 , 0x6c ,
0x64 , 0x73 , 0x18 , 0x03 , 0x20 , 0x03 , 0x28 , 0x0b , 0x32 , 0x15 , 0x2e , 0x72 , 0x65 , 0x73 , 0x6f , 0x75 ,
0x72 , 0x63 , 0x65 , 0x2e , 0x52 , 0x65 , 0x71 , 0x75 , 0x69 , 0x72 , 0x65 , 0x6d , 0x65 , 0x6e , 0x74 , 0x52 ,
0x06 , 0x6c , 0x61 , 0x62 , 0x65 , 0x6c , 0x73 , 0x22 , 0xec , 0x01 , 0x0a , 0x0b , 0x4c , 0x69 , 0x73 , 0x74 ,
0x06 , 0x66 , 0x69 , 0x65 , 0x6c , 0x64 , 0x73 , 0x22 , 0xec , 0x01 , 0x0a , 0x0b , 0x4c , 0x69 , 0x73 , 0x74 ,
0x52 , 0x65 , 0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x12 , 0x26 , 0x0a , 0x0f , 0x6e , 0x65 , 0x78 , 0x74 , 0x5f ,
0x70 , 0x61 , 0x67 , 0x65 , 0x5f , 0x74 , 0x6f , 0x6b , 0x65 , 0x6e , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x09 ,
0x52 , 0x0d , 0x6e , 0x65 , 0x78 , 0x74 , 0x50 , 0x61 , 0x67 , 0x65 , 0x54 , 0x6f , 0x6b , 0x65 , 0x6e , 0x12 ,
@ -1952,33 +1966,34 @@ var file_resource_proto_depIdxs = []int32{
1 , // 8: resource.Sort.order:type_name -> resource.Sort.Order
4 , // 9: resource.ListOptions.key:type_name -> resource.ResourceKey
16 , // 10: resource.ListOptions.labels:type_name -> resource.Requirement
0 , // 11: resource.ListRequest.version_match:type_name -> resource.ResourceVersionMatch
18 , // 12: resource.ListRequest.options:type_name -> resource.ListOptions
5 , // 13: resource.ListResponse.items:type_name -> resource.ResourceWrapper
18 , // 14: resource.WatchRequest.options:type_name -> resource.ListOptions
2 , // 15: resource.WatchEvent.type:type_name -> resource.WatchEvent.Type
25 , // 16: resource.WatchEvent.resource:type_name -> resource.WatchEvent.Resource
25 , // 17: resource.WatchEvent.previous:type_name -> resource.WatchEvent.Resource
3 , // 18: resource.HealthCheckResponse.status:type_name -> resource.HealthCheckResponse.ServingStatus
14 , // 19: resource.ResourceStore.Read:input_type -> resource.ReadRequest
8 , // 20: resource.ResourceStore.Create:input_type -> resource.CreateRequest
10 , // 21: resource.ResourceStore.Update:input_type -> resource.UpdateRequest
12 , // 22: resource.ResourceStore.Delete:input_type -> resource.DeleteRequest
19 , // 23: resource.ResourceStore.List:input_type -> resource.ListRequest
21 , // 24: resource.ResourceStore.Watch:input_type -> resource.WatchRequest
23 , // 25: resource.Diagnostics.IsHealthy:input_type -> resource.HealthCheckRequest
15 , // 26: resource.ResourceStore.Read:output_type -> resource.ReadResponse
9 , // 27: resource.ResourceStore.Create:output_type -> resource.CreateResponse
11 , // 28: resource.ResourceStore.Update:output_type -> resource.UpdateResponse
13 , // 29: resource.ResourceStore.Delete:output_type -> resource.DeleteResponse
20 , // 30: resource.ResourceStore.List:output_type -> resource.ListResponse
22 , // 31: resource.ResourceStore.Watch:output_type -> resource.WatchEvent
24 , // 32: resource.Diagnostics.IsHealthy:output_type -> resource.HealthCheckResponse
26 , // [26:33] is the sub-list for method output_type
19 , // [19:26] is the sub-list for method input_type
19 , // [19:19] is the sub-list for extension type_name
19 , // [19:19] is the sub-list for extension extendee
0 , // [0:19] is the sub-list for field type_name
16 , // 11: resource.ListOptions.fields:type_name -> resource.Requirement
0 , // 12: resource.ListRequest.version_match:type_name -> resource.ResourceVersionMatch
18 , // 13: resource.ListRequest.options:type_name -> resource.ListOptions
5 , // 14: resource.ListResponse.items:type_name -> resource.ResourceWrapper
18 , // 15: resource.WatchRequest.options:type_name -> resource.ListOptions
2 , // 16: resource.WatchEvent.type:type_name -> resource.WatchEvent.Type
25 , // 17: resource.WatchEvent.resource:type_name -> resource.WatchEvent.Resource
25 , // 18: resource.WatchEvent.previous:type_name -> resource.WatchEvent.Resource
3 , // 19: resource.HealthCheckResponse.status:type_name -> resource.HealthCheckResponse.ServingStatus
14 , // 20: resource.ResourceStore.Read:input_type -> resource.ReadRequest
8 , // 21: resource.ResourceStore.Create:input_type -> resource.CreateRequest
10 , // 22: resource.ResourceStore.Update:input_type -> resource.UpdateRequest
12 , // 23: resource.ResourceStore.Delete:input_type -> resource.DeleteRequest
19 , // 24: resource.ResourceStore.List:input_type -> resource.ListRequest
21 , // 25: resource.ResourceStore.Watch:input_type -> resource.WatchRequest
23 , // 26: resource.Diagnostics.IsHealthy:input_type -> resource.HealthCheckRequest
15 , // 27: resource.ResourceStore.Read:output_type -> resource.ReadResponse
9 , // 28: resource.ResourceStore.Create:output_type -> resource.CreateResponse
11 , // 29: resource.ResourceStore.Update:output_type -> resource.UpdateResponse
13 , // 30: resource.ResourceStore.Delete:output_type -> resource.DeleteResponse
20 , // 31: resource.ResourceStore.List:output_type -> resource.ListResponse
22 , // 32: resource.ResourceStore.Watch:output_type -> resource.WatchEvent
24 , // 33: resource.Diagnostics.IsHealthy:output_type -> resource.HealthCheckResponse
27 , // [27:34] is the sub-list for method output_type
20 , // [20:27] is the sub-list for method input_type
20 , // [20:20] is the sub-list for extension type_name
20 , // [20:20] is the sub-list for extension extendee
0 , // [0:20] is the sub-list for field type_name
}
func init ( ) { file_resource_proto_init ( ) }