Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for ServiceCIDRSpec (0.29 sec)

  1. pkg/apis/networking/v1alpha1/zz_generated.conversion.go

    	if err := s.AddGeneratedConversionFunc((*v1alpha1.ServiceCIDRSpec)(nil), (*networking.ServiceCIDRSpec)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1alpha1_ServiceCIDRSpec_To_networking_ServiceCIDRSpec(a.(*v1alpha1.ServiceCIDRSpec), b.(*networking.ServiceCIDRSpec), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:58 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  2. pkg/registry/networking/servicecidr/strategy_test.go

    	}
    
    	oldObj := &networking.ServiceCIDR{Spec: networking.ServiceCIDRSpec{}}
    	newObj := &networking.ServiceCIDR{
    		Spec: networking.ServiceCIDRSpec{
    			CIDRs: []string{"10.10.0.0/16"},
    		},
    	}
    	StatusStrategy.PrepareForUpdate(context.TODO(), newObj, oldObj)
    	if !reflect.DeepEqual(newObj.Spec, networking.ServiceCIDRSpec{}) {
    		t.Errorf("Expected spec field to be preserved from old object during status update")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 04 15:09:29 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. pkg/controlplane/controller/defaultservicecidr/default_servicecidr_controller_test.go

    					},
    					Spec: networkingapiv1alpha1.ServiceCIDRSpec{
    						CIDRs: []string{"fd00::/112"},
    					},
    				},
    			},
    		},
    		{
    			name: "existing default service CIDR not ready",
    			cidrs: []*networkingapiv1alpha1.ServiceCIDR{
    				{
    					ObjectMeta: metav1.ObjectMeta{
    						Name: DefaultServiceCIDRName,
    					},
    					Spec: networkingapiv1alpha1.ServiceCIDRSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 14 23:31:58 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/networking/v1alpha1/zz_generated.deepcopy.go

    func (in *ServiceCIDRSpec) DeepCopyInto(out *ServiceCIDRSpec) {
    	*out = *in
    	if in.CIDRs != nil {
    		in, out := &in.CIDRs, &out.CIDRs
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCIDRSpec.
    func (in *ServiceCIDRSpec) DeepCopy() *ServiceCIDRSpec {
    	if in == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:58 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/networking/v1alpha1/generated.pb.go

    func (m *ServiceCIDRSpec) Reset()      { *m = ServiceCIDRSpec{} }
    func (*ServiceCIDRSpec) ProtoMessage() {}
    func (*ServiceCIDRSpec) Descriptor() ([]byte, []int) {
    	return fileDescriptor_c1cb39e7b48ce50d, []int{6}
    }
    func (m *ServiceCIDRSpec) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *ServiceCIDRSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/networking/v1alpha1/generated.proto

      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
    
      // items is the list of ServiceCIDRs.
      repeated ServiceCIDR items = 2;
    }
    
    // ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.
    message ServiceCIDRSpec {
      // CIDRs defines the IP blocks in CIDR notation (e.g. "192.168.0.0/24" or "2001:db8::/64")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/networking/v1alpha1/types.go

    	// +optional
    	Status ServiceCIDRStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
    }
    
    // ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.
    type ServiceCIDRSpec struct {
    	// CIDRs defines the IP blocks in CIDR notation (e.g. "192.168.0.0/24" or "2001:db8::/64")
    	// from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family.
    	// This field is immutable.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:30 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/networking/v1alpha1/types_swagger_doc_generated.go

    var map_ServiceCIDRSpec = map[string]string{
    	"":      "ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.",
    	"cidrs": "CIDRs defines the IP blocks in CIDR notation (e.g. \"192.168.0.0/24\" or \"2001:db8::/64\") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.",
    }
    
    func (ServiceCIDRSpec) SwaggerDoc() map[string]string {
    	return map_ServiceCIDRSpec
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:58 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  9. pkg/apis/networking/validation/validation_test.go

    					Name: "test-name",
    				},
    				Spec: networking.ServiceCIDRSpec{
    					CIDRs: []string{"192.168.0.0/24", "fd00::/64", "10.0.0.0/16"},
    				},
    			},
    		},
    		"good-iprange-ipv4": {
    			expectedErrors: 0,
    			ipRange: &networking.ServiceCIDR{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: "test-name",
    				},
    				Spec: networking.ServiceCIDRSpec{
    					CIDRs: []string{"192.168.0.0/24"},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 73.3K bytes
    - Viewed (0)
  10. pkg/apis/networking/zz_generated.deepcopy.go

    func (in *ServiceCIDRSpec) DeepCopyInto(out *ServiceCIDRSpec) {
    	*out = *in
    	if in.CIDRs != nil {
    		in, out := &in.CIDRs, &out.CIDRs
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCIDRSpec.
    func (in *ServiceCIDRSpec) DeepCopy() *ServiceCIDRSpec {
    	if in == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:58 UTC 2023
    - 25.6K bytes
    - Viewed (0)
Back to top