- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for addressTypes (0.23 sec)
-
staging/src/k8s.io/api/discovery/v1/types.go
// * IPv6: Represents an IPv6 Address. // * FQDN: Represents a Fully Qualified Domain Name. AddressType AddressType `json:"addressType" protobuf:"bytes,4,rep,name=addressType"` // endpoints is a list of unique endpoints in this slice. Each slice may // include a maximum of 1000 endpoints. // +listType=atomic Endpoints []Endpoint `json:"endpoints" protobuf:"bytes,2,rep,name=endpoints"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 9.5K bytes - Viewed (0) -
pkg/proxy/config/config_test.go
go sharedInformers.Start(stopCh) go config.Run(stopCh) endpoints1 := &discoveryv1.EndpointSlice{ ObjectMeta: metav1.ObjectMeta{Namespace: "testnamespace", Name: "foo"}, AddressType: discoveryv1.AddressTypeIPv4, Endpoints: []discoveryv1.Endpoint{{ Addresses: []string{"1.1.1.1"}, }, { Addresses: []string{"2.2.2.2"}, }},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 14.3K bytes - Viewed (0) -
pkg/registry/discovery/endpointslice/strategy_test.go
tests := []struct { name string addressType discovery.AddressType wantWarning bool }{ { name: "AddressType = FQDN", addressType: discovery.AddressTypeFQDN, wantWarning: true, }, { name: "AddressType = IPV4", addressType: discovery.AddressTypeIPv4, wantWarning: false, }, { name: "AddressType = IPV6",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 27.3K bytes - Viewed (0) -
pilot/pkg/xds/workload_test.go
expect := buildExpect(t) s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{ KubernetesObjects: []runtime.Object{mkPod("pod", "sa", "127.0.0.1", "not-node")}, }) ads := s.ConnectDeltaADS().WithType(v3.AddressType).WithMetadata(model.NodeMetadata{NodeName: "node"}) ads.Request(&discovery.DeltaDiscoveryRequest{ ResourceNamesSubscribe: []string{"*"}, ResourceNamesUnsubscribe: []string{"*"}, }) ads.ExpectEmptyResponse()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 19:09:43 UTC 2024 - 15.9K bytes - Viewed (0) -
pkg/controlplane/reconcilers/endpointsadapter_test.go
_, epSlice4IP := generateEndpointsAndSlice("foo", "testing", []int{80}, []string{"10.1.2.7", "10.1.2.8"}) // "IP" is a deprecated address type, ensuring that it is handled properly. epSlice4IP.AddressType = discovery.AddressType("IP") _, epSlice4IPv4 := generateEndpointsAndSlice("foo", "testing", []int{80}, []string{"10.1.2.7", "10.1.2.8"}) testCases := map[string]struct { expectedError error
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 12:23:16 UTC 2024 - 15.4K bytes - Viewed (0) -
pkg/proxy/nftables/proxier_test.go
}), ) populateEndpointSlices(fp, makeTestEndpointSlice("ns1", "svc1", 1, func(eps *discovery.EndpointSlice) { if tc.family == v1.IPv4Protocol { eps.AddressType = discovery.AddressTypeIPv4 } else { eps.AddressType = discovery.AddressTypeIPv6 } eps.Endpoints = []discovery.Endpoint{{ Addresses: []string{epIP1}, NodeName: nil, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 173.5K bytes - Viewed (0) -
pkg/proxy/ipvs/proxier_test.go
eps.AddressType = discovery.AddressTypeIPv4 eps.Endpoints = []discovery.Endpoint{{ Addresses: []string{"1.1.1.1"}, }} eps.Ports = []discovery.EndpointPort{{ Name: ptr.To("p11"), Port: ptr.To[int32](11), Protocol: ptr.To(v1.ProtocolUDP), }} } subset2 := func(eps *discovery.EndpointSlice) { eps.AddressType = discovery.AddressTypeIPv4
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 186.8K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/discovery.k8s.io.v1beta1.EndpointSlice.json
"apiVersion": "apiVersionValue", "time": "2004-01-01T01:01:01Z", "fieldsType": "fieldsTypeValue", "fieldsV1": {}, "subresource": "subresourceValue" } ] }, "addressType": "addressTypeValue", "endpoints": [ { "addresses": [ "addressesValue" ], "conditions": { "ready": true, "serving": true, "terminating": true
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 2K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/discovery.k8s.io.v1beta1.EndpointSlice.yaml
addressType: addressTypeValue apiVersion: discovery.k8s.io/v1beta1 endpoints: - addresses: - addressesValue conditions: ready: true serving: true terminating: true hints: forZones: - name: nameValue hostname: hostnameValue nodeName: nodeNameValue targetRef: apiVersion: apiVersionValue fieldPath: fieldPathValue kind: kindValue name: nameValue namespace: namespaceValue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 1.4K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/discovery.k8s.io.v1.EndpointSlice.json
"apiVersion": "apiVersionValue", "time": "2004-01-01T01:01:01Z", "fieldsType": "fieldsTypeValue", "fieldsV1": {}, "subresource": "subresourceValue" } ] }, "addressType": "addressTypeValue", "endpoints": [ { "addresses": [ "addressesValue" ], "conditions": { "ready": true, "serving": true, "terminating": true
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 2.1K bytes - Viewed (0)