Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for networkingapiv1alpha1 (0.38 sec)

  1. pkg/controller/servicecidrs/servicecidrs_controller_test.go

    }
    
    func makeIPAddress(name string) *networkingapiv1alpha1.IPAddress {
    	family := string(v1.IPv4Protocol)
    	if netutils.IsIPv6String(name) {
    		family = string(v1.IPv6Protocol)
    	}
    	return &networkingapiv1alpha1.IPAddress{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: name,
    			Labels: map[string]string{
    				networkingapiv1alpha1.LabelIPAddressFamily: family,
    				networkingapiv1alpha1.LabelManagedBy:       ipallocator.ControllerName,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 22K bytes
    - Viewed (0)
  2. pkg/controlplane/controller/defaultservicecidr/default_servicecidr_controller_test.go

    		},
    		{
    			name: "existing default service CIDR not ready",
    			cidrs: []*networkingapiv1alpha1.ServiceCIDR{
    				{
    					ObjectMeta: metav1.ObjectMeta{
    						Name: DefaultServiceCIDRName,
    					},
    					Spec: networkingapiv1alpha1.ServiceCIDRSpec{
    						CIDRs: []string{defaultIPv4CIDR, defaultIPv6CIDR},
    					},
    					Status: networkingapiv1alpha1.ServiceCIDRStatus{
    						Conditions: []metav1.Condition{
    							{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 14 23:31:58 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. pkg/registry/networking/rest/storage_settings.go

    		ipAddressStorage, err := ipaddressstore.NewREST(restOptionsGetter)
    		if err != nil {
    			return storage, err
    		}
    		storage[resource] = ipAddressStorage
    	}
    
    	// servicecidrs
    	if resource := "servicecidrs"; apiResourceConfigSource.ResourceEnabled(networkingapiv1alpha1.SchemeGroupVersion.WithResource(resource)) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. pkg/controlplane/controller/defaultservicecidr/default_servicecidr_controller.go

    		return err
    	}
    
    	// default ServiceCIDR does not exist
    	klog.Infof("Creating default ServiceCIDR with CIDRs: %v", c.cidrs)
    	serviceCIDR = &networkingapiv1alpha1.ServiceCIDR{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: DefaultServiceCIDRName,
    		},
    		Spec: networkingapiv1alpha1.ServiceCIDRSpec{
    			CIDRs: c.cidrs,
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. pkg/controller/servicecidrs/servicecidrs_controller.go

    func (c *Controller) addIPAddress(obj interface{}) {
    	ip, ok := obj.(*networkingapiv1alpha1.IPAddress)
    	if !ok {
    		return
    	}
    
    	for _, cidr := range c.containingServiceCIDRs(ip) {
    		c.queue.Add(cidr)
    	}
    }
    
    // deleteIPAddress may unblock a ServiceCIDR deletion
    func (c *Controller) deleteIPAddress(obj interface{}) {
    	ip, ok := obj.(*networkingapiv1alpha1.IPAddress)
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 18K bytes
    - Viewed (0)
  6. pkg/controlplane/instance.go

    	coordinationapiv1 "k8s.io/api/coordination/v1"
    	apiv1 "k8s.io/api/core/v1"
    	discoveryv1 "k8s.io/api/discovery/v1"
    	eventsv1 "k8s.io/api/events/v1"
    	networkingapiv1 "k8s.io/api/networking/v1"
    	networkingapiv1alpha1 "k8s.io/api/networking/v1alpha1"
    	nodev1 "k8s.io/api/node/v1"
    	policyapiv1 "k8s.io/api/policy/v1"
    	rbacv1 "k8s.io/api/rbac/v1"
    	resourcev1alpha2 "k8s.io/api/resource/v1alpha2"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:50:04 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top