Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 580 for discoveryv1 (0.14 sec)

  1. pkg/controller/endpointslicemirroring/reconciler.go

    // and delete.
    func (r *reconciler) reconcileByPortMapping(
    	endpoints *corev1.Endpoints,
    	existingSlices []*discovery.EndpointSlice,
    	desiredSet endpointsliceutil.EndpointSet,
    	endpointPorts []discovery.EndpointPort,
    	addressType discovery.AddressType,
    ) (slicesByAction, totalsByAction) {
    	slices := slicesByAction{}
    	totals := totalsByAction{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  2. pkg/config/schema/kubeclient/resources.gen.go

    		}
    	case gvr.EndpointSlice:
    		l = func(options metav1.ListOptions) (runtime.Object, error) {
    			return c.Kube().DiscoveryV1().EndpointSlices(opts.Namespace).List(context.Background(), options)
    		}
    		w = func(options metav1.ListOptions) (watch.Interface, error) {
    			return c.Kube().DiscoveryV1().EndpointSlices(opts.Namespace).Watch(context.Background(), options)
    		}
    	case gvr.Endpoints:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 13:57:51 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/serviceregistry_test.go

    		esps = append(esps, discovery.EndpointPort{
    			Name:        &n.Name,
    			Protocol:    &n.Protocol,
    			Port:        &n.Port,
    			AppProtocol: n.AppProtocol,
    		})
    	}
    
    	sliceEndpoint := []discovery.Endpoint{}
    	for _, ip := range ips {
    		sliceEndpoint = append(sliceEndpoint, discovery.Endpoint{
    			Addresses: []string{ip},
    		})
    	}
    
    	endpointSlice := &discovery.EndpointSlice{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  4. pkg/controller/endpointslice/endpointslice_controller_test.go

    			Labels: map[string]string{
    				discovery.LabelServiceName: "something-else",
    				discovery.LabelManagedBy:   controllerName,
    			},
    		},
    		AddressType: discovery.AddressTypeIPv4,
    	}, {
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "not-matching-2",
    			Namespace: ns,
    			Labels: map[string]string{
    				discovery.LabelServiceName: serviceName,
    				discovery.LabelManagedBy:   "something-else",
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  5. pkg/controlplane/instance.go

    	"k8s.io/apiserver/pkg/endpoints/discovery"
    	genericapiserver "k8s.io/apiserver/pkg/server"
    	serverstorage "k8s.io/apiserver/pkg/server/storage"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	clientdiscovery "k8s.io/client-go/discovery"
    	"k8s.io/client-go/kubernetes"
    	corev1client "k8s.io/client-go/kubernetes/typed/core/v1"
    	discoveryclient "k8s.io/client-go/kubernetes/typed/discovery/v1"
    	"k8s.io/klog/v2"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:50:04 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. pkg/controller/endpointslicemirroring/endpointslicemirroring_controller_test.go

    		name           string
    		endpointSlice  *discovery.EndpointSlice
    		expectedInList bool
    	}{{
    		testName:  "Service with matching EndpointSlice",
    		namespace: "ns1",
    		name:      "svc1",
    		endpointSlice: &discovery.EndpointSlice{
    			ObjectMeta: metav1.ObjectMeta{
    				Name:      "example-1",
    				Namespace: "ns1",
    				Labels: map[string]string{
    					discovery.LabelServiceName: "svc1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 12:57:29 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  7. pkg/controller/endpointslicemirroring/reconciler_test.go

    	t.Helper()
    	fetchedSlices, err := client.DiscoveryV1().EndpointSlices(namespace).List(context.TODO(), metav1.ListOptions{
    		LabelSelector: discovery.LabelManagedBy + "=" + controllerName,
    	})
    	if err != nil {
    		t.Fatalf("Expected no error fetching Endpoint Slices, got: %v", err)
    		return []discovery.EndpointSlice{}
    	}
    	return fetchedSlices.Items
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    	// Create endpoint slice as well
    	esps := make([]discovery.EndpointPort, 0)
    	for _, name := range portNames {
    		n := name // Create a stable reference to take the pointer from
    		esps = append(esps, discovery.EndpointPort{Name: &n, Port: &portNum})
    	}
    
    	sliceEndpoint := make([]discovery.Endpoint, 0, len(ips))
    	for i, ip := range ips {
    		sliceEndpoint = append(sliceEndpoint, discovery.Endpoint{
    			Addresses: []string{ip},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/discovery/discovery.go

    	switch {
    	case cfg.Discovery.File != nil:
    		kubeConfigPath := cfg.Discovery.File.KubeConfigPath
    		if isHTTPSURL(kubeConfigPath) {
    			return https.RetrieveValidatedConfigInfo(kubeConfigPath, timeout)
    		}
    		return file.RetrieveValidatedConfigInfo(kubeConfigPath, timeout)
    	case cfg.Discovery.BootstrapToken != nil:
    		return token.RetrieveValidatedConfigInfo(&cfg.Discovery, timeout)
    	default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/openapi/resolver/discovery.go

    	"fmt"
    	"strings"
    
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/client-go/discovery"
    	"k8s.io/kube-openapi/pkg/validation/spec"
    )
    
    // ClientDiscoveryResolver uses client-go discovery to resolve schemas at run time.
    type ClientDiscoveryResolver struct {
    	Discovery discovery.DiscoveryInterface
    }
    
    var _ SchemaResolver = (*ClientDiscoveryResolver)(nil)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 17:23:50 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top