- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for DiscoveryV1 (0.23 sec)
-
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) -
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) -
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) -
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) -
pkg/controlplane/reconcilers/helpers_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 27 12:46:23 UTC 2022 - 4K bytes - Viewed (0) -
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) -
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) -
pkg/apis/discovery/v1/defaults.go
*/ package v1 import ( v1 "k8s.io/api/core/v1" discoveryv1 "k8s.io/api/discovery/v1" "k8s.io/apimachinery/pkg/runtime" ) var ( defaultPortName = "" defaultProtocol = v1.ProtocolTCP ) func addDefaultingFuncs(scheme *runtime.Scheme) error { return RegisterDefaults(scheme) } func SetDefaults_EndpointPort(obj *discoveryv1.EndpointPort) { if obj.Name == nil { obj.Name = &defaultPortName }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 05 20:02:41 UTC 2021 - 1K bytes - Viewed (0) -
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) -
pkg/apis/discovery/v1/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 v1 import ( discoveryv1 "k8s.io/api/discovery/v1" "k8s.io/apimachinery/pkg/runtime/schema" ) // GroupName is the group name used in this package const GroupName = "discovery.k8s.io"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 05 20:02:41 UTC 2021 - 1.5K bytes - Viewed (0)