- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for NetworkingV1alpha1 (4.08 sec)
-
pkg/registry/core/service/ipallocator/controller/repairip_test.go
Labels: map[string]string{ networkingv1alpha1.LabelIPAddressFamily: string(v1.IPv6Protocol), networkingv1alpha1.LabelManagedBy: ipallocator.ControllerName, }, CreationTimestamp: metav1.Date(2012, 1, 1, 0, 0, 0, 0, time.UTC), }, Spec: networkingv1alpha1.IPAddressSpec{ ParentRef: &networkingv1alpha1.ParentReference{ Group: "", Resource: "services", Name: "foo",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:06 UTC 2023 - 20.3K bytes - Viewed (0) -
pkg/registry/core/service/ipallocator/cidrallocator_test.go
func newServiceCIDR(name, cidr string) *networkingv1alpha1.ServiceCIDR { return &networkingv1alpha1.ServiceCIDR{ ObjectMeta: metav1.ObjectMeta{ Name: name, }, Spec: networkingv1alpha1.ServiceCIDRSpec{ CIDRs: []string{cidr}, }, Status: networkingv1alpha1.ServiceCIDRStatus{ Conditions: []metav1.Condition{ { Type: string(networkingv1alpha1.ServiceCIDRConditionReady),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:06 UTC 2023 - 13.7K bytes - Viewed (0) -
pkg/registry/core/service/ipallocator/controller/repairip.go
func newIPAddress(name string, svc *v1.Service) *networkingv1alpha1.IPAddress { family := string(v1.IPv4Protocol) if netutils.IsIPv6String(name) { family = string(v1.IPv6Protocol) } return &networkingv1alpha1.IPAddress{ ObjectMeta: metav1.ObjectMeta{ Name: name, Labels: map[string]string{ networkingv1alpha1.LabelIPAddressFamily: family, networkingv1alpha1.LabelManagedBy: ipallocator.ControllerName,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 24.7K bytes - Viewed (0) -
pkg/registry/core/service/ipallocator/cidrallocator.go
return err } return allocator.Release(ip) } func (c *MetaAllocator) ForEach(f func(ip net.IP)) { ipLabelSelector := labels.Set(map[string]string{ networkingv1alpha1.LabelIPAddressFamily: string(c.IPFamily()), networkingv1alpha1.LabelManagedBy: ControllerName, }).AsSelectorPreValidated() ips, err := c.ipAddressLister.List(ipLabelSelector) if err != nil { return } for _, ip := range ips {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 13.2K bytes - Viewed (0) -
pkg/registry/core/service/ipallocator/ipallocator.go
ipAddress := networkingv1alpha1.IPAddress{ ObjectMeta: metav1.ObjectMeta{ Name: name, Labels: map[string]string{ networkingv1alpha1.LabelIPAddressFamily: string(a.IPFamily()), networkingv1alpha1.LabelManagedBy: ControllerName, }, }, Spec: networkingv1alpha1.IPAddressSpec{ ParentRef: serviceToRef(svc), }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:04 UTC 2023 - 17K bytes - Viewed (0) -
pkg/proxy/config/config.go
var oldServiceCIDR, newServiceCIDR *networkingv1alpha1.ServiceCIDR var ok bool if oldObj != nil { oldServiceCIDR, ok = oldObj.(*networkingv1alpha1.ServiceCIDR) if !ok { utilruntime.HandleError(fmt.Errorf("unexpected object type: %v", oldObj)) return } } if newObj != nil { newServiceCIDR, ok = newObj.(*networkingv1alpha1.ServiceCIDR) if !ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 15.1K bytes - Viewed (0) -
pkg/controller/servicecidrs/servicecidrs_controller.go
WithLastTransitionTime(metav1.Now())) svcApply := networkingapiv1alpha1apply.ServiceCIDR(cidr.Name).WithStatus(svcApplyStatus) _, err = c.client.NetworkingV1alpha1().ServiceCIDRs().ApplyStatus(ctx, svcApply, metav1.ApplyOptions{FieldManager: controllerName, Force: true}) return err } // If there are no IPAddress depending on this ServiceCIDR is safe to remove it,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 18K bytes - Viewed (0) -
pkg/registry/core/service/ipallocator/ipallocator_test.go
name := action.(k8stesting.DeleteAction).GetName() obj, exists, err := ipStore.GetByKey(name) ip := &networkingv1alpha1.IPAddress{} if exists && err == nil { ip = obj.(*networkingv1alpha1.IPAddress) err = ipStore.Delete(ip) } return false, ip, err })) c, err := NewIPAllocator(cidr, client.NetworkingV1alpha1(), ipInformer) if err != nil { return nil, err } c.ipAddressSynced = func() bool { return true }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jun 25 13:14:46 UTC 2023 - 24.2K bytes - Viewed (0)