Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for NetworkingV1alpha1 (0.4 sec)

  1. 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)
  2. pkg/apis/networking/v1alpha1/register.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package v1alpha1
    
    import (
    	networkingv1alpha1 "k8s.io/api/networking/v1alpha1"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    )
    
    // GroupName is the group name use in this package.
    const GroupName = "networking.k8s.io"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 05 00:54:00 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. staging/src/k8s.io/api/roundtrip_test.go

    	flowcontrolv1beta2 "k8s.io/api/flowcontrol/v1beta2"
    	flowcontrolv1beta3 "k8s.io/api/flowcontrol/v1beta3"
    	imagepolicyv1alpha1 "k8s.io/api/imagepolicy/v1alpha1"
    	networkingv1 "k8s.io/api/networking/v1"
    	networkingv1alpha1 "k8s.io/api/networking/v1alpha1"
    	networkingv1beta1 "k8s.io/api/networking/v1beta1"
    	nodev1 "k8s.io/api/node/v1"
    	nodev1alpha1 "k8s.io/api/node/v1alpha1"
    	nodev1beta1 "k8s.io/api/node/v1beta1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. pkg/controlplane/controller/defaultservicecidr/default_servicecidr_controller.go

    		ObjectMeta: metav1.ObjectMeta{
    			Name: DefaultServiceCIDRName,
    		},
    		Spec: networkingapiv1alpha1.ServiceCIDRSpec{
    			CIDRs: c.cidrs,
    		},
    	}
    	serviceCIDR, err = c.client.NetworkingV1alpha1().ServiceCIDRs().Create(context.Background(), serviceCIDR, metav1.CreateOptions{})
    	if err != nil && !apierrors.IsAlreadyExists(err) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top