Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 62 for IntPtr (0.13 sec)

  1. pkg/apis/core/validation/validation_test.go

    		{HTTPGet: &core.HTTPGetAction{Path: "/", Port: intstr.FromInt32(1), Host: "", Scheme: "HTTP"}},
    		{HTTPGet: &core.HTTPGetAction{Path: "/foo", Port: intstr.FromInt32(65535), Host: "host", Scheme: "HTTP"}},
    		{HTTPGet: &core.HTTPGetAction{Path: "/", Port: intstr.FromString("port"), Host: "", Scheme: "HTTP"}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  2. pkg/proxy/iptables/number_generated_rules_test.go

    */
    
    package iptables
    
    import (
    	"fmt"
    	"testing"
    	"time"
    
    	v1 "k8s.io/api/core/v1"
    	discovery "k8s.io/api/discovery/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/util/intstr"
    	iptablestest "k8s.io/kubernetes/pkg/util/iptables/testing"
    	netutils "k8s.io/utils/net"
    	"k8s.io/utils/ptr"
    )
    
    // kube-proxy generates iptables rules to forward traffic from Services to Endpoints
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. src/encoding/json/encode_test.go

    		in   StringTag
    		want string // empty to just test that we roundtrip
    	}{{
    		CaseName: Name("AllTypes"),
    		in: StringTag{
    			BoolStr:    true,
    			IntStr:     42,
    			UintptrStr: 44,
    			StrStr:     "xzbit",
    			NumberStr:  "46",
    		},
    		want: `{
    	"BoolStr": "true",
    	"IntStr": "42",
    	"UintptrStr": "44",
    	"StrStr": "\"xzbit\"",
    	"NumberStr": "46"
    }`,
    	}, {
    		// See golang.org/issues/38173.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  4. pkg/registry/apps/statefulset/strategy_test.go

    limitations under the License.
    */
    
    package statefulset
    
    import (
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/util/intstr"
    	genericapirequest "k8s.io/apiserver/pkg/endpoints/request"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    	"k8s.io/kubernetes/pkg/apis/apps"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  5. pkg/controller/deployment/deployment_controller_test.go

    		Spec: apps.DeploymentSpec{
    			Strategy: apps.DeploymentStrategy{
    				Type: apps.RollingUpdateDeploymentStrategyType,
    				RollingUpdate: &apps.RollingUpdateDeployment{
    					MaxUnavailable: ptr.To(intstr.FromInt32(0)),
    					MaxSurge:       ptr.To(intstr.FromInt32(0)),
    				},
    			},
    			Replicas: ptr.To(replicas),
    			Selector: &metav1.LabelSelector{MatchLabels: selector},
    			Template: v1.PodTemplateSpec{
    				ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  6. api/api-rules/violation_exceptions.list

    API rule violation: names_match,k8s.io/apimachinery/pkg/runtime,Unknown,ContentType
    API rule violation: names_match,k8s.io/apimachinery/pkg/util/intstr,IntOrString,IntVal
    API rule violation: names_match,k8s.io/apimachinery/pkg/util/intstr,IntOrString,StrVal
    API rule violation: names_match,k8s.io/apimachinery/pkg/util/intstr,IntOrString,Type
    API rule violation: names_match,k8s.io/client-go/pkg/apis/clientauthentication/v1,Cluster,CertificateAuthorityData
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/apps/v1/types.go

    limitations under the License.
    */
    
    package v1
    
    import (
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	runtime "k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/util/intstr"
    )
    
    const (
    	ControllerRevisionHashLabelKey = "controller-revision-hash"
    	StatefulSetRevisionLabel       = ControllerRevisionHashLabelKey
    	DeprecatedRollbackTo           = "deprecated.deployment.rollback.to"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/serviceregistry_test.go

    			},
    			Spec: v1.ServiceSpec{
    				Ports: []v1.ServicePort{
    					{
    						Name:       "http",
    						Port:       80,
    						TargetPort: intstr.FromInt32(8080),
    					},
    					{
    						Name:       "http2",
    						Port:       90,
    						TargetPort: intstr.FromInt32(9090),
    					},
    				},
    				Selector:  labels,
    				ClusterIP: "9.9.9.9",
    			},
    		})
    		makeIstioObject(t, s.Store(), config.Config{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  9. pkg/proxy/ipvs/proxier_test.go

    	"github.com/stretchr/testify/assert"
    	v1 "k8s.io/api/core/v1"
    	discovery "k8s.io/api/discovery/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/intstr"
    	"k8s.io/apimachinery/pkg/util/sets"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    	"k8s.io/component-base/metrics/testutil"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    	"github.com/stretchr/testify/require"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/intstr"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    
    	v1 "k8s.io/api/core/v1"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
Back to top