Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 403 for Discover (0.27 sec)

  1. pkg/apis/discovery/v1beta1/conversion_test.go

    	"github.com/stretchr/testify/require"
    	corev1 "k8s.io/api/core/v1"
    	"k8s.io/api/discovery/v1beta1"
    	"k8s.io/kubernetes/pkg/apis/discovery"
    	utilpointer "k8s.io/utils/pointer"
    )
    
    func TestEndpointZoneConverstion(t *testing.T) {
    	testcases := []struct {
    		desc     string
    		external v1beta1.Endpoint
    		internal discovery.Endpoint
    	}{
    		{
    			desc:     "no topology field",
    			external: v1beta1.Endpoint{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 05 10:48:05 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/HEAD/discovery.k8s.io.v1beta1.EndpointSlice.pb

    Daniel Smith <******@****.***> 1651776874 +0000
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 06 21:25:20 UTC 2022
    - 682 bytes
    - Viewed (0)
  3. pkg/controller/endpointslicemirroring/utils_test.go

    		tweakEndpoint func(ep *v1.Endpoints)
    		expectedSlice discovery.EndpointSlice
    	}{
    		{
    			name: "create slice from endpoints",
    			tweakEndpoint: func(ep *v1.Endpoints) {
    			},
    			expectedSlice: discovery.EndpointSlice{
    				ObjectMeta: metav1.ObjectMeta{
    					Labels: map[string]string{
    						discovery.LabelServiceName: endpoints.Name,
    						discovery.LabelManagedBy:   controllerName,
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 23 15:40:23 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  4. cmd/kube-controller-manager/app/core_test.go

    func (m TestClientBuilder) ClientOrDie(name string) clientset.Interface {
    	return m.clientset
    }
    
    func (m TestClientBuilder) DiscoveryClient(name string) (discovery.DiscoveryInterface, error) {
    	return m.clientset.Discovery(), nil
    }
    func (m TestClientBuilder) DiscoveryClientOrDie(name string) discovery.DiscoveryInterface {
    	ret, err := m.DiscoveryClient(name)
    	if err != nil {
    		panic(err)
    	}
    	return ret
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 11:28:01 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. pkg/xds/server_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package xds
    
    import (
    	"testing"
    
    	discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3"
    
    	"istio.io/istio/pkg/model"
    )
    
    type TestProxy struct {
    	WatchedResources map[string]*WatchedResource
    }
    
    func (p *TestProxy) DeleteWatchedResource(url string) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/discovery/discovery_test.go

    		},
    		{
    			name: "file Discovery with a path",
    			d: kubeadm.JoinConfiguration{
    				Discovery: kubeadm.Discovery{
    					File: &kubeadm.FileDiscovery{
    						KubeConfigPath: "notnil",
    					},
    				},
    			},
    			expect: false,
    		},
    		{
    			name: "file Discovery with an url",
    			d: kubeadm.JoinConfiguration{
    				Discovery: kubeadm.Discovery{
    					File: &kubeadm.FileDiscovery{
    						KubeConfigPath: "https://localhost",
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. pkg/apis/discovery/validation/validation.go

    	api "k8s.io/kubernetes/pkg/apis/core"
    	apivalidation "k8s.io/kubernetes/pkg/apis/core/validation"
    	"k8s.io/kubernetes/pkg/apis/discovery"
    )
    
    var (
    	supportedAddressTypes = sets.NewString(
    		string(discovery.AddressTypeIPv4),
    		string(discovery.AddressTypeIPv6),
    		string(discovery.AddressTypeFQDN),
    	)
    	supportedPortProtocols = sets.NewString(
    		string(api.ProtocolTCP),
    		string(api.ProtocolUDP),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 18 08:49:15 UTC 2021
    - 7.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_discovery.go

    	ret, ok := r.discovery[gv]
    	return ret, ok
    }
    
    func (r *versionDiscoveryHandler) setDiscovery(gv schema.GroupVersion, discovery *discovery.APIVersionHandler) {
    	r.discoveryLock.Lock()
    	defer r.discoveryLock.Unlock()
    
    	r.discovery[gv] = discovery
    }
    
    func (r *versionDiscoveryHandler) unsetDiscovery(gv schema.GroupVersion) {
    	r.discoveryLock.Lock()
    	defer r.discoveryLock.Unlock()
    
    	delete(r.discovery, gv)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 10:06:31 UTC 2017
    - 3.2K bytes
    - Viewed (0)
  9. pkg/controller/endpointslicemirroring/reconciler_helpers.go

    // types.
    type multiAddrTypePortMapKey map[discovery.AddressType]addrTypePortMapKey
    
    // initPorts initializes ports for a subset and address type and returns the
    // corresponding addrTypePortMapKey.
    func (d *desiredCalc) initPorts(subsetPorts []v1.EndpointPort) multiAddrTypePortMapKey {
    	endpointPorts := epPortsToEpsPorts(subsetPorts)
    	addrTypes := []discovery.AddressType{discovery.AddressTypeIPv4, discovery.AddressTypeIPv6}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/clientset.go

    	apiextensionsv1beta1 "k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1"
    	discovery "k8s.io/client-go/discovery"
    	rest "k8s.io/client-go/rest"
    	flowcontrol "k8s.io/client-go/util/flowcontrol"
    )
    
    type Interface interface {
    	Discovery() discovery.DiscoveryInterface
    	ApiextensionsV1() apiextensionsv1.ApiextensionsV1Interface
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 21:36:26 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top