Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Test_NetworkPolicyRemovedFieldProtobufNumberReservation (0.57 sec)

  1. staging/src/k8s.io/api/networking/v1/types_test.go

    // for removed fields are not re-used. DO NOT remove this test for any reason, this ensures that tombstoned
    // protobuf field numbers are not accidentally reused by other fields.
    func Test_NetworkPolicyRemovedFieldProtobufNumberReservation(t *testing.T) {
    	obj := reflect.ValueOf(NetworkPolicy{}).Type()
    	for i := 0; i < obj.NumField(); i++ {
    		f := obj.Field(i)
    		protobufSpec := f.Tag.Get("protobuf")
    		if protobufSpec == "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/extensions/v1beta1/types_test.go

    // for removed fields are not re-used. DO NOT remove this test for any reason, this ensures that tombstoned
    // protobuf field numbers are not accidentally reused by other fields.
    func Test_NetworkPolicyRemovedFieldProtobufNumberReservation(t *testing.T) {
    	obj := reflect.ValueOf(NetworkPolicy{}).Type()
    	for i := 0; i < obj.NumField(); i++ {
    		f := obj.Field(i)
    		protobufSpec := f.Tag.Get("protobuf")
    		if protobufSpec == "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top