Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for DiscoveryV1 (0.31 sec)

  1. pkg/proxy/config/config_test.go

    	state   map[types.NamespacedName]*discoveryv1.EndpointSlice
    	synced  bool
    	updated chan []*discoveryv1.EndpointSlice
    	process func([]*discoveryv1.EndpointSlice)
    }
    
    func NewEndpointSliceHandlerMock() *EndpointSliceHandlerMock {
    	ehm := &EndpointSliceHandlerMock{
    		state:   make(map[types.NamespacedName]*discoveryv1.EndpointSlice),
    		updated: make(chan []*discoveryv1.EndpointSlice, 5),
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. pkg/proxy/kubemark/hollow_proxy.go

    func (*FakeProxier) OnServiceSynced()                                                 {}
    func (*FakeProxier) OnEndpointSliceAdd(slice *discoveryv1.EndpointSlice)              {}
    func (*FakeProxier) OnEndpointSliceUpdate(oldSlice, slice *discoveryv1.EndpointSlice) {}
    func (*FakeProxier) OnEndpointSliceDelete(slice *discoveryv1.EndpointSlice)           {}
    func (*FakeProxier) OnEndpointSlicesSynced()                                          {}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. pkg/proxy/config/api_test.go

    	endpoints1v2 := &discoveryv1.EndpointSlice{
    		ObjectMeta:  metav1.ObjectMeta{Namespace: "testnamespace", Name: "e1"},
    		AddressType: discoveryv1.AddressTypeIPv4,
    		Endpoints: []discoveryv1.Endpoint{{
    			Addresses: []string{
    				"1.2.3.4",
    				"4.3.2.1",
    			},
    		}},
    		Ports: []discoveryv1.EndpointPort{{
    			Port:     ptr.To[int32](8080),
    			Protocol: ptr.To(v1.ProtocolTCP),
    		}},
    	}
    	endpoints2 := &discoveryv1.EndpointSlice{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. pkg/registry/discovery/rest/storage_discovery.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 rest
    
    import (
    	discoveryv1 "k8s.io/api/discovery/v1"
    	"k8s.io/apiserver/pkg/registry/generic"
    	"k8s.io/apiserver/pkg/registry/rest"
    	genericapiserver "k8s.io/apiserver/pkg/server"
    	serverstorage "k8s.io/apiserver/pkg/server/storage"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 30 11:21:46 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. pkg/controlplane/reconcilers/helpers_test.go

    	slice := &discoveryv1.EndpointSlice{
    		ObjectMeta: metav1.ObjectMeta{
    			Namespace: metav1.NamespaceDefault,
    			Name:      name,
    			Labels: map[string]string{
    				discoveryv1.LabelServiceName: name,
    			},
    		},
    		AddressType: discoveryv1.AddressTypeIPv4,
    		Endpoints:   make([]discoveryv1.Endpoint, len(ips)),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 27 12:46:23 UTC 2022
    - 4K bytes
    - Viewed (0)
  6. pkg/proxy/config/config.go

    	// object is observed.
    	OnEndpointSliceAdd(endpointSlice *discoveryv1.EndpointSlice)
    	// OnEndpointSliceUpdate is called whenever modification of an existing
    	// endpoint slice object is observed.
    	OnEndpointSliceUpdate(oldEndpointSlice, newEndpointSlice *discoveryv1.EndpointSlice)
    	// OnEndpointSliceDelete is called whenever deletion of an existing
    	// endpoint slice object is observed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  7. pilot/pkg/xds/cds_test.go

    				Port: 80,
    			}},
    			Selector:  labels,
    			ClusterIP: "9.9.9.9",
    		},
    	}
    	endpoint := &discoveryv1.EndpointSlice{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      service.Name,
    			Namespace: service.Namespace,
    			Labels: map[string]string{
    				discoveryv1.LabelServiceName: service.Name,
    			},
    		},
    		Endpoints: []discoveryv1.Endpoint{{
    			Addresses: []string{pod.Status.PodIP},
    			TargetRef: &v1.ObjectReference{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 02:06:39 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. pkg/controlplane/reconcilers/endpointsadapter_test.go

    			epAdapter := NewEndpointsAdapter(client.CoreV1(), client.DiscoveryV1())
    
    			err := epAdapter.EnsureEndpointSliceFromEndpoints(testCase.namespaceParam, testCase.endpointsParam)
    			if !apiequality.Semantic.DeepEqual(testCase.expectedError, err) {
    				t.Errorf("Expected error: %v, got: %v", testCase.expectedError, err)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/roundtrip_test.go

    	certificatesv1beta1 "k8s.io/api/certificates/v1beta1"
    	coordinationv1 "k8s.io/api/coordination/v1"
    	coordinationv1beta1 "k8s.io/api/coordination/v1beta1"
    	corev1 "k8s.io/api/core/v1"
    	discoveryv1 "k8s.io/api/discovery/v1"
    	discoveryv1beta1 "k8s.io/api/discovery/v1beta1"
    	eventsv1 "k8s.io/api/events/v1"
    	eventsv1beta1 "k8s.io/api/events/v1beta1"
    	extensionsv1beta1 "k8s.io/api/extensions/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)
  10. pilot/pkg/xds/mesh_network_test.go

    					Port:     w.port,
    					Name:     "http",
    					Protocol: corev1.ProtocolTCP,
    				}},
    			},
    		},
    		&discoveryv1.EndpointSlice{
    			ObjectMeta: baseMeta,
    			Endpoints: []discoveryv1.Endpoint{{
    				Addresses:  []string{w.ip},
    				Conditions: discoveryv1.EndpointConditions{},
    				Hostname:   nil,
    				TargetRef: &corev1.ObjectReference{
    					APIVersion: "v1",
    					Kind:       "Pod",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 24.6K bytes
    - Viewed (0)
Back to top